[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suspend/fg excitement in *shell*
From: |
jidanni |
Subject: |
Re: suspend/fg excitement in *shell* |
Date: |
Mon, 13 Aug 2007 03:12:17 +0800 |
SJ> I have IGNOREEOF=2 in /root/.bashrc.
It turns out with greater IGNOREEOF's, and more "fg"'s, the sucker
heads straight for the HISTFILE where it proceeds to execute all the
commands there faster than you can kill(1) them. "A monster has taken
over my '*shell*' buffer and is sending root ^P^O&'s or whatever it
takes to replay my HISTORY file faster than I can swat all it is
spawning!" Here I fool it with HISTFILE=/dev/null:
02:58 1 tmp$ su
Password:
address@hidden:/tmp# IGNOREEOF=11 HISTFILE=/dev/null
address@hidden:/tmp# suspend
[1]+ Stopped su
02:59 147 tmp$ fg
su
address@hidden:/tmp# Use "exit" to leave the shell.
address@hidden:/tmp#
[1]+ Stopped su
02:59 147 tmp$ fg
su
address@hidden:/tmp# bash: =/dev/null: No such file or directory
address@hidden:/tmp# bash: syntax error near unexpected token `('
address@hidden:/tmp# [1] 15423
address@hidden:/tmp# bash:\350\2600\322: command not found
address@hidden:/tmp#
- suspend/fg excitement in *shell*, Dan Jacobson, 2007/08/09
- Re: suspend/fg excitement in *shell*, Glenn Morris, 2007/08/11
- Re: suspend/fg excitement in *shell*, jidanni, 2007/08/12
- Re: suspend/fg excitement in *shell*, Sven Joachim, 2007/08/12
- Re: suspend/fg excitement in *shell*,
jidanni <=
- Re: suspend/fg excitement in *shell*, jidanni, 2007/08/12
- Re: suspend/fg excitement in *shell*, Richard Stallman, 2007/08/13
- Re: suspend/fg excitement in *shell*, Sven Joachim, 2007/08/13
- Re: suspend/fg excitement in *shell*, Glenn Morris, 2007/08/13
- Re: suspend/fg excitement in *shell*, Sven Joachim, 2007/08/13
- Re: suspend/fg excitement in *shell*, Glenn Morris, 2007/08/13