Re: /bin/ls is impure!

2001-09-20 Thread Pekka Lampila
On 19.09.2001, Wouter Verhelst wrote: > On Wed, 19 Sep 2001, Norbert Veber wrote: > > > Interesting. How did you obtain the environment dump? > > "set", with no arguments. May be a bashism, though. Not sure. I used the env program. ~$ env --version env (GNU sh-utils) 2.0.11 ~$ env|grep SHELL S

Re: /bin/ls is impure!

2001-09-19 Thread Philippe Troin
"Sean 'Shaleh' Perry" <[EMAIL PROTECTED]> writes: > > > > It works... Something's wrong with your system. > > Try strace'ing ls. > > what shell are you playing with? I presume most people are using bash. Zsh. Phil.

Re: /bin/ls is impure!

2001-09-19 Thread Colin Watson
On Wed, Sep 19, 2001 at 01:35:28PM -0500, Colin Watson wrote: > On Wed, Sep 19, 2001 at 11:00:31AM -0500, David Starner wrote: > > Interesting. It just starts mallocing more and more memory, increasing > > by 4 bytes at a time. gdb worked, but man wasn't happy, and neither > > was top. > > Weird,

Re: /bin/ls is impure!

2001-09-19 Thread Sean 'Shaleh' Perry
> > It works... Something's wrong with your system. > Try strace'ing ls. > what shell are you playing with? I presume most people are using bash.

Re: /bin/ls is impure!

2001-09-19 Thread Hamish Moffatt
On Wed, Sep 19, 2001 at 02:03:02PM -0400, Norbert Veber wrote: > However, even after I set it back to 80, via export COLUMNS=80, ls still > fails, and it is set back to 49151 after I logout and log back in. 'stty columns 80' will fix it. purity is also setting rows to 64049. Use 'stty -a' to see t

Re: /bin/ls is impure!

2001-09-19 Thread John H. Robinson, IV
On Wed, Sep 19, 2001 at 10:14:24PM +0200, Wouter Verhelst wrote: > On Wed, 19 Sep 2001, Norbert Veber wrote: > > > Interesting. How did you obtain the environment dump? > > "set", with no arguments. May be a bashism, though. Not sure. it is not a bashism. -john

Re: /bin/ls is impure!

2001-09-19 Thread Wichert Akkerman
Previously Pekka Lampila wrote: > Actually it's not. Actually it is, your shell probably just sets COLUMNS dynamically instead of using it as a normal environment vairable. > Obviously purity shouldn't change these values. No, purity can't change the environment settings for its parent process (

Re: /bin/ls is impure!

2001-09-19 Thread Ralph Jennings
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.

Re: /bin/ls is impure!

2001-09-19 Thread Wouter Verhelst
On Wed, 19 Sep 2001, Norbert Veber wrote: > Interesting. How did you obtain the environment dump? "set", with no arguments. May be a bashism, though. Not sure. -- wouter dot verhelst at advalvas dot be "Human knowledge belongs to the world" -- From the movie "Antitrust" rm -rf /bin/laden

Re: /bin/ls is impure!

2001-09-19 Thread Colin Watson
On Wed, Sep 19, 2001 at 11:00:31AM -0500, David Starner wrote: > On Wed, Sep 19, 2001 at 10:46:45AM -0400, Norbert Veber wrote: > > --> Now run ls. > > > > Be prepared to abort it before it consumes all the available memory on your > > system. > > Interesting. It just starts mallocing more and mo

Re: /bin/ls is impure!

2001-09-19 Thread Ben Armstrong
On Wed, Sep 19, 2001 at 11:53:10AM -0400, Chris Danis wrote: > brooks% echo $COLUMNS > 49151 ... > purity seems to be causing this. No idea why or how, but it seems to be > the culprit. It would seem this is why: diff -r purity-1/pt.c purity-1.fix/pt.c 792c792 < (void) ioctl(0,TIOCSWINSZ,&

Re: /bin/ls is impure!

2001-09-19 Thread Norbert Veber
On Wed, Sep 19, 2001 at 07:32:34PM +0300, Pekka Lampila wrote: > On 19.09.2001, Norbert Veber wrote: > > The environment is unchanged, the aliases are unchanged, > > Actually it's not. > > ~/dbg$ diff env.before env.after > 17c17 > < LINES=27 > --- > > LINES=64218 > 24c24 > < COLUMNS=169 > --- >

Re: /bin/ls is impure!

2001-09-19 Thread Alan Shutko
Alan Shutko <[EMAIL PROTECTED]> writes: > Looks like it's only the purity in unstable (1-11). In fact, it looks > like it's the termios patch put in purity 1-10 that is munging stty > settings. Yep, a typo... it wanted to query the settings, but actually set them. Oops. Patch will go into BTS

Re: /bin/ls is impure!

2001-09-19 Thread Norbert Veber
On Wed, Sep 19, 2001 at 09:08:01AM -0700, Philippe Troin wrote: [...] > It works... Something's wrong with your system. > Try strace'ing ls. What terminal are you doing this in? Ie. console/xterm/gnome-terminal/etc.. Thanks, Norbert pgpBs3QIdao5m.pgp Description: PGP signature

Re: /bin/ls is impure!

2001-09-19 Thread Alan Shutko
Philippe Troin <[EMAIL PROTECTED]> writes: > Get:1 http://debian.commerceflow.com woody/main purity 1-9 [25.7kB] Looks like it's only the purity in unstable (1-11). In fact, it looks like it's the termios patch put in purity 1-10 that is munging stty settings. (Aaron, if you haven't been follow

Re: /bin/ls is impure!

2001-09-19 Thread Norbert Veber
On Wed, Sep 19, 2001 at 11:53:10AM -0400, Chris Danis wrote: > Did you check the COLUMNS environment variable? Ahh, I missed that because its not displayed by /usr/bin/env. > brooks% echo $COLUMNS > 49151 Yep, I get the same value. Whats interesting is that this environment variable is (somehow

Re: /bin/ls is impure!

2001-09-19 Thread Norbert Veber
On Wed, Sep 19, 2001 at 05:51:58PM +0200, Wichert Akkerman wrote: > > Try this: > > apt-get install purity purity-off # Not sure if the -off package is > > # actually necessary > > What does that do? The description for the purity package is > quite useless. Its a pr

Re: /bin/ls is impure!

2001-09-19 Thread David Starner
On Wed, Sep 19, 2001 at 09:08:01AM -0700, Philippe Troin wrote: > It works... Something's wrong with your system. > Try strace'ing ls. I don't know why your system is different, but it's been checked by several people. (ltrace reveals it's trying to malloc a steadily increasing amount of memory.)

Re: /bin/ls is impure!

2001-09-19 Thread Robert van der Meulen
Quoting Wichert Akkerman ([EMAIL PROTECTED]): > > Try this: > > apt-get install purity purity-off # Not sure if the -off package is > > # actually necessary > What does that do? The description for the purity package is > quite useless. 'purity tests' :) Greets,

Re: /bin/ls is impure!

2001-09-19 Thread Robert van der Meulen
Hi, Quoting Norbert Veber ([EMAIL PROTECTED]): > apt-get install purity purity-off # Not sure if the -off package is > purity list > purity nerd # any test should do from the previous > # list > Either finish the test, or abort it via ctrl-c or t

Re: /bin/ls is impure!

2001-09-19 Thread Pekka Lampila
On 19.09.2001, Norbert Veber wrote: > The environment is unchanged, the aliases are unchanged, Actually it's not. ~/dbg$ diff env.before env.after 17c17 < LINES=27 --- > LINES=64218 24c24 < COLUMNS=169 --- > COLUMNS=49151 Obviously purity shouldn't change these values. And ls propably shouldn't

Re: /bin/ls is impure!

2001-09-19 Thread Alan Shutko
Norbert Veber <[EMAIL PROTECTED]> writes: > --> Now run ls. Wow! That's really, really cool! It's a purity package problem. It's messing around with stty settings Script started on Wed Sep 19 12:24:51 2001 [12:24:51] wesley:~ $ stty -a speed 38400 baud; rows 25; columns 80; line = 0; [...]

Re: /bin/ls is impure!

2001-09-19 Thread Philippe Troin
Norbert Veber <[EMAIL PROTECTED]> writes: > Hi, > > This is probably the weirdest thing I've seen in debian so far. > > I was able to re-produce it on my home and work machines, and a person on > irc also go the same results. > > Try this: > apt-get install purity purity-off # Not sure if the -

Re: /bin/ls is impure!

2001-09-19 Thread David Starner
On Wed, Sep 19, 2001 at 10:46:45AM -0400, Norbert Veber wrote: > --> Now run ls. > > Be prepared to abort it before it consumes all the available memory on your > system. Interesting. It just starts mallocing more and more memory, increasing by 4 bytes at a time. gdb worked, but man wasn't happy,

Re: /bin/ls is impure!

2001-09-19 Thread Wichert Akkerman
> Try this: > apt-get install purity purity-off # Not sure if the -off package is > # actually necessary What does that do? The description for the purity package is quite useless. Wichert. -- _ /

Re: /bin/ls is impure!

2001-09-19 Thread Chris Danis
> On Wed, 19 Sep 2001, "Norbert" == Norbert Veber wrote: [snip] Norbert> --> Now run ls. I can reproduce this. [snip] Norbert> Be prepared to abort it before it consumes all the available Norbert> memory on your system. [snip] Norbert> To me it looks like this would be a bug in ls, t

/bin/ls is impure!

2001-09-19 Thread Norbert Veber
Hi, This is probably the weirdest thing I've seen in debian so far. I was able to re-produce it on my home and work machines, and a person on irc also go the same results. Try this: apt-get install purity purity-off # Not sure if the -off package is # actually n