Alexandre Peshansky <[EMAIL PROTECTED]> writes:
> I am running it from SSH terminal emulator (http://www.ssh.com,
> version: 3.2.3 (Build 279); Product code: 27010-32X00) on MS Windows
> 2000. No redirections.
OK, then I'm afraid you'll have to help me debug this, as I don't have
access to such a client.
What implementation of SSH are you using on Solaris? Are you using
any local mods, or any non-default configuration parameters?
> bash-2.03$ src/stty rows 0 columns 0
> bash-2.03$ src/stty size
> src/stty: standard input: no size information for this device
That last line should have been "0 0". Can you please try the
following commands, from a fresh terminal?
truss -v ioctl src/stty size
src/stty rows 0 columns 0
truss -v ioctl src/stty size
The last command should output something that ends like this, but
apparently the last TIOCGWINSZ call is doing the wrong thing on your host:
ioctl(0, TCGETS, 0xFFBEF9A8) = 0
iflag=0022402 oflag=0000005 cflag=0000275 lflag=0105073
cc: 003 034 177 025 004 000 000 000
021 023 032 031 022 017 027 026 000 000 000
ioctl(1, TIOCGWINSZ, 0xFFBEF8F8) = 0
row=0 col=0 xpixel=560 ypixel=896
ioctl(0, TIOCGWINSZ, 0xFFBEF8F8) = 0
row=0 col=0 xpixel=560 ypixel=896
ioctl(1, TCGETA, 0xFFBEF25C) = 0
iflag=0022402 oflag=0000005 cflag=0000275 lflag=0105073 line=0
cc: 003 034 177 025 004 000 000 000
0 0
write(1, " 0 0\n", 4) = 4
llseek(0, 0, SEEK_CUR) = 129234
_exit(0)
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/bug-coreutils