> Machine Type: i386-redhat-linux-gnu
>
> Bash Version: 2.04
> Patch Level: 21
> Release Status: release
>
> Description:
> Hi. Everytime i use set -n it, alone or with an argument, it kills my shell.
> All the shell will do after this is entered is redisplay the
> PS1 prompt after I press return. Even exit doesn't work, i have
> to use ^D to close the terminal window. (I use rxvt v2.7.5 terminal windows
> in X.)
>
> Repeat-By:
> Open an rxvt window. Enter set -n.
If you want to shoot yourself in the foot, bash will happily provide the
ammunition and possibly even load the gun for you.
`set -n' tells the shell to read but not execute commands.
I suppose that interactive shells could ignore `set -n', but they currently
don't.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)
Chet Ramey, CWRU chet@po.CWRU.Edu http://cnswww.cns.cwru.edu/~chet/