F keys not in a single sequence

Rodrigo Costa rlvcosta@hotmail.com
Tue Dec 2 19:02:00 GMT 2003


Cygwin X team,

I would like to request your help to solve one issue that I have about X 
system. I 'm running X under cygwin, in my Windows 2000 laptop.

I have one Solaris server that have an application that needs the F keys 
sequence to be sent in an atomic way.

Application requeriment:
With Oracle 8, however, the escape sequence has to be received as an atom in 
order for the corresponding function key to work. For example, for F1 of 
vt100 terminal, the escape sequence "ESC+O+P" must be received by RCV as an 
atom. If the network first sends "ESC+O" and then followed by "P", the key's 
function will fail. This can be verified by running truss on runrcformx 
process.

I runned truss under the process and receive :

See the read in two steps.

door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
lwp_cond_wait(0xDFA427B8, 0xDFA427C8, 0xDF86AD78) (sleeping...)
read(0, "1B", 32)                               = 1
read(0, " [ A", 32)                             = 2
write(1, "1B [ 1 m1B [ 7 m A\b1B [".., 13)      = 13
read(0, 0x08B515B8, 32)         (sleeping...)
signotifywait()                 (sleeping...)

and with another terminal, that is not an xterm, it works fine. See the read 
below.

read(0, 0x08B515B8, 32)         (sleeping...)
signotifywait()                 (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
lwp_cond_wait(0xDFA427B8, 0xDFA427C8, 0xDF86AD78) (sleeping...)
read(0, "1B [ B", 32)                           = 3
write(1, "1B [ 0 ; 1 ; 7 m B1B [ 2".., 85)      = 85
read(0, 0x08B515B8, 32)         (sleeping...)
signotifywait()                 (sleeping...)

What I do is under the xterm, telnet to the other machine, set TERM as 
xterm, and open the application that I need to use.

It was running under X before I make a cygwin, full system (including X), 
upgrade. Now I run out my tries.

Do you know if this can be a configuration file? Or what can be done to 
workaround ?

Thanks,

Rodrigo.

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil.  http://www.hotmail.com



More information about the Cygwin-xfree mailing list