[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /bin/ls is impure!

On Wed, Sep 19, 2001 at 10:46:45AM -0400, Norbert Veber wrote:
> Either finish the test, or abort it via ctrl-c or the "q" command.
> --> Now run ls.

Reproduced, and fixed...  Problem with purity doing stty stuff...

Throughout, $COLUMNS never changes, but stty config does.
d3:~/tmp$ stty -a
speed 38400 baud; rows 24; columns 80; line = 144;
[snip what doesn't change]
d3:~/tmp$ ls
a  b  c
d3:~/tmp$ purity nerd
                        The East Campus Nerd Test

                        Posted to talk.bizarre by:
            SKITCHEN@kcgl1.eng.ohio-state.edu (Kitchen Scott)

Score one point for each YES.  The score is % nerdity.

  1. Have you ever used a computer?  If the answer is no, try taking the
    Baker House Purity Test.
your answer? [ynbakdlsrq?] : quit

you can't get a score without answering any questions, silly.

seeya later, alligator.
d3:~/tmp$ ls
[hit ^C to break out after waiting a couple of seconds]
d3:~/tmp$ stty -a 
speed 38400 baud; rows 64343; columns 49151; line = 144;
[nothing has changed except columns and rows]
d3:~/tmp$ stty rows 25 columns 80
d3:~/tmp$ ls
a  b  c
d3:~/tmp$ stty -a
speed 38400 baud; rows 25; columns 80; line = 144;
[snip verified with a diff, nothing has changed from orig but columns
 and rows, which I have changed back -- ls now works again]

Reply to: