scsh-users
[Top] [All Lists]

Re: ,reset resets CWD

To: RT Happe <rthappe@mathematik.uni-freiburg.de>
Subject: Re: ,reset resets CWD
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: Wed, 24 Apr 2002 18:13:02 +0200
Cc: <scsh-bugs@zurich.ai.mit.edu>
>>>>> "RT" == RT Happe <rthappe@mathematik.uni-freiburg.de> writes:

RT> Scsh 0.6.2 / Linux 2.2.17 #1 Tue Sep 19 11:08:14 CEST 2000 i686 unknown

RT> Slightly strange:

RT> Welcome to scsh 0.6.1 (Combinatorial Algorithms)
RT> Type ,? for help.
>> (cwd)
RT> "/tmp"
>> (chdir "/tmp/ware/")
>> (cwd)
RT> "/tmp/ware"
>> ,reset

RT> Top level
>> (cwd)
RT> "/tmp"
RT> >

It's feature! :-)

Actually, by going to a different command level and back, you're
implicitly starting a new thread, and, as the CWD is thread-local, you
get the default value back.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

<Prev in Thread] Current Thread [Next in Thread>