* Re: Mapping Control and Shift Function Keys
@ 2002-06-16 16:08 Stas Sergeev
2002-06-17 18:16 ` Stephen Lee
0 siblings, 1 reply; 4+ messages in thread
From: Stas Sergeev @ 2002-06-16 16:08 UTC (permalink / raw)
To: linux-msdos
Hello.
Stephen Lee wrote:
> I forgot to mention that Dosemu is run under Redhat 7.2
No, you forgot to mention the version
of dosemu you are using.
> My Foxpro application recognizes the F1-F12 keys fine but not the Shift
> or the Control Fkeys. I ran a keyboard scan program in the DOS session
> and it does not detect any of the Control or Shift Fkeys either. Where
> to look next?
Try dosemu-1.1.3.2 to take an advantages
of a new keyboard code.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Mapping Control and Shift Function Keys
2002-06-16 16:08 Mapping Control and Shift Function Keys Stas Sergeev
@ 2002-06-17 18:16 ` Stephen Lee
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Lee @ 2002-06-17 18:16 UTC (permalink / raw)
To: dosemu
On Sun, 2002-06-16 at 09:08, Stas Sergeev wrote:
> Hello.
>
> Stephen Lee wrote:
> > I forgot to mention that Dosemu is run under Redhat 7.2
> No, you forgot to mention the version
> of dosemu you are using.
>
> > My Foxpro application recognizes the F1-F12 keys fine but not the Shift
> > or the Control Fkeys. I ran a keyboard scan program in the DOS session
> > and it does not detect any of the Control or Shift Fkeys either. Where
> > to look next?
> Try dosemu-1.1.3.2 to take an advantages
> of a new keyboard code.
With dosemu-1.1.3.2, I get whole bunch of
"SLang:S-Lang Error: Inconsistency in define key." errors in boot.log.
It seems that one of the side effects is that I have to press the esc
key twice in rapid succession to get the desired effect in my foxpro
application.
Stephen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Mapping Control and Shift Function Keys
@ 2002-06-16 15:34 Stephen Lee
2002-06-16 15:43 ` Stephen Lee
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Lee @ 2002-06-16 15:34 UTC (permalink / raw)
To: dosemu
Hi,
I'm trying to get the Shift and Control Function keys to work in a
terminal (SecureCRT) Dosemu session. I got the terminal emulator to
generate distinct escape sequences for the Fkeys and then added
corresponding enties in ./dosemu-1.1.3/src/plugin/keyboard/keyb_slang.c.
Here's a sample of "cat -v" in the terminal session
F11 and F12: ^[[23~^[[24~
Shift F11 and F12: ^[[36~^[[37~
Control F11 and F12: ^[[60~^[[61~
Here are the corresponding entires in keyb_slang.c under
static Keymap_Scan_Type vtxxx_fkeys[] = :
{"\033[23~", KEY_F11 }, /* F11 */
{"\033[24~", KEY_F12 }, /* F12 */
{"\033[36~", KEY_F11 | SHIFT_MASK }, /* Shift F11 */
{"\033[37~", KEY_F12 | SHIFT_MASK }, /* Shift F12 */
{"\033[60~", KEY_F11 | CTRL_MASK }, /* Ctrl F11 */
{"\033[61~", KEY_F12 | CTRL_MASK }, /* Ctrl F12 */
My Foxpro application recognizes the F1-F12 keys fine but not the Shift
or the Control Fkeys. I ran a keyboard scan program in the DOS session
and it does not detect any of the Control or Shift Fkeys either. Where
to look next?
Thanks for any suggestions,
Stephen
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Mapping Control and Shift Function Keys
2002-06-16 15:34 Stephen Lee
@ 2002-06-16 15:43 ` Stephen Lee
0 siblings, 0 replies; 4+ messages in thread
From: Stephen Lee @ 2002-06-16 15:43 UTC (permalink / raw)
To: dosemu
On Sun, 2002-06-16 at 08:34, Stephen Lee wrote:
> Hi,
>
> I'm trying to get the Shift and Control Function keys to work in a
> terminal (SecureCRT) Dosemu session. I got the terminal emulator to
> generate distinct escape sequences for the Fkeys and then added
> corresponding enties in ./dosemu-1.1.3/src/plugin/keyboard/keyb_slang.c.
>
I forgot to mention that Dosemu is run under Redhat 7.2
Stephen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-17 18:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-16 16:08 Mapping Control and Shift Function Keys Stas Sergeev
2002-06-17 18:16 ` Stephen Lee
-- strict thread matches above, loose matches on Subject: below --
2002-06-16 15:34 Stephen Lee
2002-06-16 15:43 ` Stephen Lee
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox