Re: Key assignment
Brought to you by:
set
From: salvador <sal...@in...> - 2001-09-14 17:21:56
|
"Thiago F.G. Albuquerque" wrote: > On 12/09/01 10:33:27, salvador wrote: > > >Yes, but isn't safe. When you do it using the TUI you *must* type the key you want. Under DOS > you > >won't get any surprise, the key you type is exactly what the editor gets and the name is quite > >right. But under other OSs or when you have a non-us keyboard the name could be really > different or > >the key could be absent. A good example is Linux, some key combinations doesn't generate any > code > >that the editor can understand, that's configurable at OS level (in Debian > >/etc/console-tools/default.kmap.gz). > >If you edit a file by hand you can get very bad surprises. > > This reminds me of something I saw in the Zed editor. It uses a text file for the key bindings. > To edit this file, the editor has a comand that switches the editor to "code mode". In this > mode, for every key you type, it inserts que corresponding code string (escape sequence) > generated by the key. To exit code mode, you press ESC twice (or something like this, I don't > remeber). ESC sequences aren't good, but the idea of inserting the name of the pressed key into the text sound interesting. [snip] > Don't be angry at me, man. I am on your side. I am not complaining about the documentation, I > think it is very good. I knew that the the keys assigned to menues were configured in > menubind.smn, I was just making a suggestion. I'm sorry if I didn't sound that way. Is ok. SET -- Salvador Eduardo Tropea (SET). (Electronics Engineer) Visit my home page: http://welcome.to/SetSoft or http://www.geocities.com/SiliconValley/Vista/6552/ Alternative e-mail: set...@bi... se...@co... se...@ie... Address: Curapaligue 2124, Caseros, 3 de Febrero Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013 |