tcsh little bug
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Wed Sep 17 11:14:16 PDT 2003
I found a bug (I think) in tcsh:
add this line to your .chsh:
set savehist = "1000 merge"
then spawn another tcsh
and exit it (via exit, or, if you feel crazy, via ^D)
produces (at least here):
exit: Badly formed number
[repeating...]
you can stopp the mess by entering "exit" once again
This is triggered by some code that calls stderror() as it encounters
that the first word contains not only digits.
stderror() then notices that the shell is interactive and restart()s.
the loop begins...
oh yes, now I know that it should be
set savehist = (1000 merge)
cheers
simon
--
/"\ http://corecode.ath.cx/#donate
\ /
\ ASCII Ribbon Campaign
/ \ Against HTML Mail and News
Attachment:
pgp00000.pgp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00000.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20030917/0e90c89f/attachment-0021.obj>
More information about the Bugs
mailing list