* Keymap for terminals
@ 2002-04-07 15:47 Stephen Lee
2002-04-07 23:31 ` Bart Oldeman
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Lee @ 2002-04-07 15:47 UTC (permalink / raw)
To: dosemu
Hi,
I would like to map some of the keys (including Function keys) to
specific escape sequences. My goal is to have them work as expected
under Foxpro/Dosemu. I've managed to change the escaped sequences under
console mode with "loadkeys mykeys.map". However, when I login to the
system with a dos terminal emulator like PuTTY (using TERM=linux), I
don't get the new key mappings. The same can be said for xterms. How do
I get these new key mappings to work with terminals?
Thanks,
Stephen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keymap for terminals
2002-04-07 15:47 Keymap for terminals Stephen Lee
@ 2002-04-07 23:31 ` Bart Oldeman
2002-04-08 0:16 ` Stephen Lee
2002-04-10 1:49 ` Stephen Lee
0 siblings, 2 replies; 4+ messages in thread
From: Bart Oldeman @ 2002-04-07 23:31 UTC (permalink / raw)
To: Stephen Lee; +Cc: dosemu
On 7 Apr 2002, Stephen Lee wrote:
> I would like to map some of the keys (including Function keys) to
> specific escape sequences. My goal is to have them work as expected
> under Foxpro/Dosemu. I've managed to change the escaped sequences under
> console mode with "loadkeys mykeys.map". However, when I login to the
> system with a dos terminal emulator like PuTTY (using TERM=linux), I
> don't get the new key mappings. The same can be said for xterms. How do
> I get these new key mappings to work with terminals?
Have you tried hacking keyb_slang.c?
I am not sure about any standard but modern xterms seem to give a lot of
different escape sequences.
Bart
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keymap for terminals
2002-04-07 23:31 ` Bart Oldeman
@ 2002-04-08 0:16 ` Stephen Lee
2002-04-10 1:49 ` Stephen Lee
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Lee @ 2002-04-08 0:16 UTC (permalink / raw)
To: Bart Oldeman; +Cc: dosemu
On Sun, 2002-04-07 at 16:31, Bart Oldeman wrote:
> On 7 Apr 2002, Stephen Lee wrote:
>
> > I would like to map some of the keys (including Function keys) to
> > specific escape sequences. My goal is to have them work as expected
> > under Foxpro/Dosemu. I've managed to change the escaped sequences under
> > console mode with "loadkeys mykeys.map". However, when I login to the
> > system with a dos terminal emulator like PuTTY (using TERM=linux), I
> > don't get the new key mappings. The same can be said for xterms. How do
> > I get these new key mappings to work with terminals?
>
> Have you tried hacking keyb_slang.c?
>
I will as soon as I can get my PuTTY (or xterm) session to distiguish
between F11 and F23, F12 and F24, Ins and ^Ins and Del and ^Del. As
mentioned above, the modified keymap only works on the console. Is is
correct to presume that these keymap changes must work in the linux
terminal before they will work in Dosemu?
> I am not sure about any standard but modern xterms seem to give a lot of
> different escape sequences.
I wonder if I need to play around with the terminfo db for "linux"?
Thanks,
Stephen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Keymap for terminals
2002-04-07 23:31 ` Bart Oldeman
2002-04-08 0:16 ` Stephen Lee
@ 2002-04-10 1:49 ` Stephen Lee
1 sibling, 0 replies; 4+ messages in thread
From: Stephen Lee @ 2002-04-10 1:49 UTC (permalink / raw)
To: Bart Oldeman; +Cc: dosemu
On Sun, 2002-04-07 at 16:31, Bart Oldeman wrote:
> Have you tried hacking keyb_slang.c?
>
In addition to adding Shift and Cntl F1-12 keycodes to:
static Keymap_Scan_Type Linux_fkeys[] =
do I simply add Cntl-Ins and Cntl-Del keycodes to the
static Keymap_Scan_Type Linux_Xkeys[] =
section?
Does "Linux_fkeys[]" and "Linux_Xkeys[]" refer to "TERM=linux" in the
shell which Dosemu is run under?
Thanks,
Stephen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-04-10 1:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-07 15:47 Keymap for terminals Stephen Lee
2002-04-07 23:31 ` Bart Oldeman
2002-04-08 0:16 ` Stephen Lee
2002-04-10 1:49 ` Stephen Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox