Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- From: seeWebInstead@xxxxxxxxxxxxxxxx (Robert Maas, http://tinyurl.com/uh3t)
- Date: Sun, 08 Nov 2009 01:56:07 -0800
I spent a half hour looking through the 'man mc'From: Vassil Nikolov <vniko...@xxxxxxxxx>
pages, trying to find out how to gracefully exit from the program,
I have never used `mc', but I got curious, so I searched for `quit'
in the man page. However, do you have an `f10' key?
Yes. When I press it, it transmits the following sequence of five characters:
Control-open-square-bracket open-square-bracket digit-2 digit-8 tilde
Making that one keystroke be the contents of a CMUCL string, convert to hxd:
* (map 'list #'(lambda (ch) (format nil "~x" (char-code ch))) "^[[28~"))
==> ("1B" "5B" "32" "38" "7E")
Now is there any particular reason to believe that sequence of five
characters is in-combo specially meaningful to 'mc'?
Now since the four arrow keys transmit similar-looking sequences:
uparrow ^[[A
downarrow ^[[B
rightarrow ^[[C
leftarrow ^[[D
and the shell actually understands them and does the "right" thing
(up/down arrows navigate to previous/later shell commands,
left/right arrows move within a single command-line being edited)
it's plausable that the function-number keys might likewise do
something meaningful when typed at some Unix applications/utilities.
By the way, it's my understanding that those same sequences of
characters when sent *from* the host *to* the VT100 terminal
(emulator) are screen-edit cursor-motion commands. I discovered
some of them when scraping 'lynx' output via ext:run-program.
.
- Follow-Ups:
- Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- From: David Golden
- Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- References:
- Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- From: Robert Maas, http://tinyurl.com/uh3t
- Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- From: Anti Vigilante
- Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- From: Robert Maas, http://tinyurl.com/uh3t
- Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- From: Vassil Nikolov
- Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- Prev by Date: Re: How to set the value?
- Next by Date: Re: UPDATE, UPDATE*
- Previous by thread: Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- Next by thread: Re: I found an even easier way to crash CMUCL 19c/19f on FreeBSD 7.1
- Index(es):
Relevant Pages
|