Xref: utzoo comp.emacs:6019 gnu.emacs:850 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!batcomputer!rpi!rpi.edu!lawrence From: lawrence@its.rpi.edu (David Lawrence) Newsgroups: comp.emacs,gnu.emacs Subject: Re: see-chars for GNU Message-ID: Date: 7 May 89 21:38:29 GMT References: <4362@omepd.UUCP> <2122@bingvaxu.cc.binghamton.edu> Sender: usenet@rpi.edu Reply-To: tale@pawl.rpi.edu Lines: 33 In-reply-to: consp04@bingvaxu.cc.binghamton.edu's message of 7 May 89 17:27:04 GMT In <4362@omepd.UUCP>, merlyn@intelob.intel.com (Randal L. Schwartz) writes: RLS> Ever wonder what characters a function key sends out, or one of those RLS> other "unknown" keys like "scroll right"? Well, even if you don't RLS> have one of those problems today, tuck this little goody away, 'cause RLS> it'll help you figure that out when the time comes. In <2122@bingvaxu.cc.binghamton.edu> consp04@bingvaxu.cc.binghamton.edu (Daniel F. Boyd) writes: DFB> Press C-h l to run the command 'view-lossage' which shows DFB> you, in the buffer, a list of the last 100 or so characters DFB> entered. DFB> You reinvented the wheel. I disagree. Say I want to find out what F5 is on a Sun keyboard. Poking at F5 and then typing C-h l will certainly tell me what was typed, but it also will insert "28z" into my buffer after beeping at me because M-[ 2 is undefined. For people with default bindings, it will skip them back a paragraph before inserting 228z handily. For a wide variety of terminals you can switch to the scratch buffer and type C-q , but that doesn't work for those demented sequences which have more than one escape/control character in them. I was doing ESC for a while until I had difficulty with the darned disabled command buffer popping up if I did it in someone else's Emacs or tried to explain it to them over the phone/ether/etc. Randal's function is handy; it's not a reinvention of the wheel. I'll stick with polluting my scratch buffer with random characters, but I don't expect everyone else to. Dave -- tale@rpitsmts.bitnet, tale%mts@itsgw.rpi.edu, tale@pawl.rpi.edu