On Mon, Dec 7, 2009 at 4:17 PM, Russ Cox wrote: > sam(1) says ``Text may be typed and edited as in rio(1); > also the escape key (ESC) selects (sets dot to) text typed > since the last mouse button hit.'' > > rio(1) has a subsection titled ``Text windows.'' > This subsection is in 9term(1) in plan9port. Thanks, I hadn't seen it! > > Ctrl-0 isn't a real control sequence (if you look at the output > of "ascii", the valid control characters are A through _). > What byte are you trying to type? > I'm trying to map some simple operations to control-sequences, like jumping to the command win, flipping between buffers, and so on. I guess I'll have to do with A.._ chars, avoiding the ones already taken (ctrl-a, ctrl-u, ctrl-w, etc) > > You cannot detect the press of the Alt key - the > kernel does that as part of its keyboard handling. > > Russ > > This is unfortunate. Thank you very much, L.