-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [Please keep the list in the loop, so that others may chime in or see the resolution. Also, top-posting is discouraged on this list]
According to Robert Carroll on 10/8/2008 8:30 PM: > Hi, Eric- > > Thanks for the reply. After I wrote you something occurred to me. I had > been running the commands in an Ubuntu pseudo terminal. As soon as I went > to a tty the commands did not show the behavior I reported. SO I feel > certain this has nothing to do with the commands themselves but some quirk > of the graphical terminal. I thought about sending a second message, but I > thought it might not reach the same person, leading to confusion. It's > unimportant at this point, but to clarify what was happening, the first ls > would provide its output and return to the prompt. If I looked at the > output I would see the command line followed by the output. The second time > I would type the command (unless there was an intervening "return"), as > soon as I hit the "return" the command itself would disappear (as though a > magic series of back spaces had been typed instantaneously) and no ls output > would be given--I was just left at the prompt on the line where I had tried > to issue the ls command. It is very odd, but not a ls problem, and very > easy to work around. I think I had never issued two ls in a row, at least > with Ubuntu in a pseudo terminal. What shell are you using? Do you have an alias or function defined for ls (ie. what do 'which ls' and 'type ls' say)? Are you typing 'ls --help' as the command for both runs, which likely is longer than the number of lines in your terminal? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkjtbnAACgkQ84KuGfSFAYA/6gCfcCevaYu1W8rw7srJLrW5hd31 oGAAoLj1L+NpOIGWaJZfv9QDtZPWUlu3 =Ubrd -----END PGP SIGNATURE----- _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
