'ls' hangs session but 'ls | more' works - TechRepublic
General discussion
April 18, 2005 at 12:35 PM
wbarker

‘ls’ hangs session but ‘ls | more’ works

by wbarker . Updated 20 years, 10 months ago

This is probably a stty setting but I’ve tried several and I can’t find it.

When I log in to a UNIX box through a network, any command that causes lots of text to scroll past on my terminal window causes telnet to hang.

In a directory with 308 items, I can do ‘ls | more’ and see all the contents, I can also do ‘ls | wc’ to see the number of items, but when I do ‘ls’ or ‘ls -l’, the session echos back a newline and then hangs. I can’t break out with ctrl-C or ctrl-D, but ctrl-] brings me back to my local shell.

Other users who aren’t as far away physically from the machine can telnet to it and do an ‘ls’. I have tried multiple telnet clients (netterm and telnet from Windows), I have tried multiple computers from my more distant site without luck also.

This was working a week ago.

Any ideas?

This discussion is locked

All Comments