Alexandre Peshansky <[EMAIL PROTECTED]> writes:

>  From the above it looks like ioctl cannot find ldterm.dat where it
> looks for it (/usr/lib/locale/C/LC_CTYPE/ldterm.dat).  On my system
> I found it in /usr/lib/locale/en_US.UTF-8/LC_CTYPE/ldterm.dat I
> created symlink to it in /usr/lib/locale/C/LC_CTYPE/

I don't think that's the problem (and I suggest you remove the
symlink if you haven't done that already).

The problem is here, in the output of "truss -v ioctl /usr/bin/stty -a":

> ioctl(0, TIOCGWINSZ, 0x000280F8)                Err#22 EINVAL

Here, stty is asking for the terminal window size, and is getting an
EINVAL result.

On my Solaris 8 host which uses SSH Secure Shell 3.2.0 (the
non-commercial version), I get this behavior:

> ioctl(0, TIOCGWINSZ, 0x000280F8)              = 0
>       row=0   col=0   xpixel=560 ypixel=336

I'm using the same server SSH that you're using, right?  So most
likely it is a problem with your SSH client (commercial SSH version
3.2.3 (Build 279); Product code: 27010-32X00).  My SSH client is
OpenSSH_3.4p1 Debian 1:3.4p1-1.woody.3.  Can you try running your test
with an OpenSSH client?


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to