From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078694111306.tru64-unix-managers.marc@archive.invalid> From: Richard Wu Date: Fri, 13 Feb 1998 01:32:29 +0000 To: tru64-unix-managers Subject: SUMMARY: Where are the definitions of the "\" sequence? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078694111306 Original questions: Which file has the definitions of the "\" sequence, such as "\d"? And which file define the keyboard mapping, for example, how to press an Erase key, or a Kill, an Interrupt, etc ? Many thanks to: Robert L. McMillin Dr. Tom Blinn, 603-884-0646 They both pointed out that the definitions are application specific. And here's Dr. Tom Blinn's answer: > Interpretation of "\" sequences is done by software. You might take a look > at, for example, the printf, tr, and ascii reference pages for just a few > places. Note that while these are some places where there are definitions > of ways the backslash character is interpreted by system software, a user > application could choose to do something completely different. > > If you have the reference pages on your system, you can try man -k keyboard > to get a listing of some of the reference pages that explain keyboard maps. > There is SOME mapping of keyboard presses done in system software, but to > the best of my knowledge, it's not fully documented in any manual or other > material that's delivered with the system software. I've had occasion to > look at the kernel sources that define the keyboard mappings (this is the > very basic stuff) for a few supported keyboards, and it isn't pretty. The X > window system has its own rules that extend what the base OS does. And of > course, any user application could make its own rules (as, for example, the > Emacs text editor has been known to do in the past). >