Re: Dr. Evil typed sleep 666; rm -rf /



On Sat, 28 Jun 2008 04:43:52 +0800, jidanni wrote:

Ah, .vh phony mail domain, bounced. Wonderful. Maybe use .invalid please
next time.

ouch, sorry, I used an old account on a secundary box and
didn't see I hadn't fixed the posting settings yet!
anyway, the .invalid will soon be invalid to use too, when
the icann will sell names by the pound, the existence of my
special header 'X-LaBrea:' should've given a hint ;-)

Please tell me which Debian package I should file the bug against.

Well, that'd be a question for a debian group, I have no idea but if you
have packages group like 'core' 'devs' or 'tty' or 'util-linux'
that'd be a start.

Some syscalls may be managed thru the glibc, I don't think that's the case
for tty but I'm no tty expert nor debian user...

My
stty settings are the same as yours. Thanks.
$ stty -g
4500:5:bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0

here are mine, quite the same:
2506:5:bf:8a3b:3:1c:7f:15:4:0:1:0:11:13:1a:0:12:f:17:16:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0


Bash man page too big. Can't find anything you mentioned.

that's because you started from the beginning ;D)
go directly towards the end and check in the "BUGS" section,
here's the excerpt I was thinking of:
--------
GNU Bash-3.1 2005 Dec 28
....
BUGS
....
Compound commands and command sequences of the form `a ; b ; c' are not handled gracefully when process sus-
pension is attempted. When a process is stopped, the shell immediately executes the next command in the
sequence. It suffices to place the sequence of commands between parentheses to force it into a subshell,
which may be stopped as a unit.

Commands inside of $(...) command substitution are not parsed until substitution is attempted. This will
delay error reporting until some time after the command is entered. For example, unmatched parentheses,
even inside shell comments, will result in error messages while the construct is being read.
--------


Often I issue such a 'sleep ...; command' to start my modem as I walk
over and turn on the power and go brush my teeth, only to then think
Wait, Stop, not Ready yet... and want to cancel...

Ah, then it really was a real-world exercise !?


Shooting the wire: ah... = kill -HUP. hmmm...

It'll work if you HUP the parent, of course it won't work if you just HUP
the "sleep" and it's not always an easy manoeuvre to fulfil while running
thru the room brushing your teeth :D)
Just think about doing it the safe way:
$ ( sleep 666; echo BOOM )

and you'll be able ^C or ^Z all your needs :-)

.



Relevant Pages

  • Re: Adaptec AHD U320 operating as only U160
    ... aic7xxx driver where, depending on controller model, the protocol version ... The machine not reporting the error has an A4 ... Invalid command opcode. ... CAM will usually report the command that failed. ...
    (freebsd-current)
  • [opensuse] k3b unable to burn Boot DVDs: SUSE10.2 x86_64
    ... Can some one help me with this or suggest a command line way to do it ... QGDict::hashKeyString: Invalid null key ... klauncher said: Unknown protocol ''. ... growisofs: 6.1 ...
    (SuSE)
  • Re: Steven L Umbanch.
    ... > Semicolon wont even let me complete command successfully. ... > gives error and says invalid date specified. ... > able to log in at 5:05 on system clock. ...
    (microsoft.public.win2000.group_policy)
  • Re: New Mainframe Blog Site -- mainframeblogger.com
    ... Have you followed the instructions for "first time" use of WSA - as documented ... get me COMMAND FILEXFER NOT FOUND. ... INVALID DATA SET NAME, C::dload:fred.txt ...
    (comp.lang.cobol)
  • Nope Jerry net user /times
    ... Semicolon wont even let me complete command successfully. ... gives error and says invalid date specified. ... net user user /times:monday-sunday;8am-5pm ...
    (microsoft.public.win2000.group_policy)