At 04:52 PM 10/13/2004, Paul Eggert wrote:
>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? 

Yes, this is the same server version.  I couldn't find openSSH client for Windows, so 
I removed symlink and re-run the make check using putty (version 0.51) as a client.  
Same result:

[...]
Making check in stty
make[2]: Entering directory `/home/amp/coreutils-5.2.1/tests/stty'
make  check-TESTS
make[3]: Entering directory `/home/amp/coreutils-5.2.1/tests/stty'
FAIL: row-col-1
PASS: basic-1
======================================
1 of 2 tests failed
Please report to [EMAIL PROTECTED]


As I wrote in my previous message, the symlink works - make check runs clean.

-- 
Alexandre Peshansky, Systems Manager, RUH, NY



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

Reply via email to