From: Steffen S. <s.s...@ph...> - 2000-03-15 12:19:12
|
Dominik Kubla wrote: > On Tue, Mar 14, 2000 at 12:08:35PM -0500, James A Simmons wrote: > > > > These are like user-defined function keys? E.g. fixed set of > > > keys but you can define the characters they send on press/release? > > > Could you give some more details on that? > > UDK's are just like the function strings you can right now assign with > loadkeys. Just that you don't need to run loadkeys, the application can > define actions if the UDK area isn't locked (something you can do either > with a control function or using terminal setup). Later terminals had > more functionality IIRC. Ok, so the terminal emulator is responsible for caring about this. KGI passes plain UNICODE keycodes (with some vendor specific extensions) to the terminal emulators, which then do the function key -> string mapping. As terminal emulators (in KGI) are instantiated per-virtual this issue (which actually is emulator specific) can be addressed inside the terminal emulators. However, currently KGI assumes function keys are focus-local, but this can be made device (virtual terminal) local with a few straightforward changes in two functions in the KII implementation. So far KGI contains a dumb console terminal emulator (no ESC sequences are parsed) and a fairly clean and complete xterm/vt100 emulation with optional linux-console extensions. Others can easily be added. Steffen _______________________________________________________________________________ Steffen Seeger mailto:se...@ph... |