[5437] in testers

home help back first fref pref prev next nref lref last post

Re: sun4 9.2.4: from ignores terminal width

daemon@ATHENA.MIT.EDU (Robert A Basch)
Wed May 28 11:36:17 2003

Message-Id: <200305281536.LAA17179@abulia.mit.edu>
To: amu@alum.MIT.EDU (Aaron M. Ucko)
cc: testers@MIT.EDU
In-Reply-To: Your message of "28 May 2003 08:34:40 EDT."
             <udlhe7fgsgv.fsf@contents-vnder-pressvre.mit.edu> 
Mime-Version: 1.0
Content-Type: text/plain
Date: Wed, 28 May 2003 11:36:15 -0400
From: Robert A Basch <rbasch@MIT.EDU>

Currently we do not have a good way to get the terminal width in Perl,
because the ioctl header is broken, at least on Linux; when I tried
"require 'sys/ioctl.ph';", perl complained that it can't locate
asm/ioctls.ph.  We skip h2ph processing of /usr/include/asm/, due to
problems with some of the headers there.

So I guess we either need to fix the ioctl header somehow, or resort
to parsing stty output.

Bob

home help back first fref pref prev next nref lref last post