[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: help



Hola. Yo tenía el mismo problema.

Donde yo trabajo también hay un servidor SCO. Hace pocos dias me puse a buscar en el Google y encontré una página en inglés que hablaba de mapear las teclas del Xterm para conseguir los códigos de SCO, y había un listado para añadir al fichero .Xdefaults del home directory de cada usuario, o como es mi caso, crear dicho fichero. El caso es que copié las lineas, y funcionó. Ahora accedo con el Xterm a la máquina SCO y me funcionan las teclas de función y las del cursor. Te añado a continuación el listado.

!! xterm keymappings
*XTerm*VT100.translations:      #override \n\
        None<Key>KP_0: string(0x1b) string("Op") \n\
        None<Key>KP_1: string(0x1b) string("Oq") \n\
        None<Key>KP_2: string(0x1b) string("Or") \n\
        None<Key>KP_3: string(0x1b) string("Os") \n\
        None<Key>KP_4: string(0x1b) string("Ot") \n\
        None<Key>KP_5: string(0x1b) string("Ou") \n\
        None<Key>KP_6: string(0x1b) string("Ov") \n\
        None<Key>KP_7: string(0x1b) string("Ow") \n\
        None<Key>KP_8: string(0x1b) string("Ox") \n\
        None<Key>KP_9: string(0x1b) string("Oy") \n\
        None<Key>KP_Add: string(0x1b) string("Ol") \n\
        None<Key>KP_Subtract: string(0x1b)string("Om")\n\
        None<Key>KP_Decimal: string(0x1b) string("On")\n\
        None<Key>KP_Enter: string(0x1b) string("OM") \n\
        None<Key>F11: string(0x1b) string("[28~") \n\
        None<Key>F12: string(0x1b) string("[29~") \n\
        None<Key>F1: string(0x1b) string("OP") \n\
        None<Key>F2: string(0x1b) string("OQ") \n\
        None<Key>F3: string(0x1b) string("OR") \n\
        None<Key>F4: string(0x1b) string("OS") \n\
        None<Key>F5: string(0x1b) string("[E") \n\
        None<Key>F6: string(0x1b) string("[17~") \n\
        None<Key>F7: string(0x1b) string("[18~") \n\
        None<Key>F8: string(0x1b) string("[19~") \n\
        None<Key>F9: string(0x1b) string("[20~") \n\
        None<Key>F10: string(0x1b) string("[21~") \n\
        Shift<Key>F1: string(0x1b) string("[23~") \n\
        Shift<Key>F2: string(0x1b) string("[24~") \n\
        Shift<Key>F3: string(0x1b) string("[25~") \n\
        Shift<Key>F4: string(0x1b) string("[26~") \n\
        Shift<Key>F5: string(0x1b) string("[28~") \n\
        Shift<Key>F6: string(0x1b) string("[29~") \n\
        Shift<Key>F7: string(0x1b) string("[31~") \n\
        Shift<Key>F8: string(0x1b) string("[32~") \n\
        Shift<Key>F9: string(0x1b) string("[33~") \n\
        Shift<Key>F10: string(0x1b) string("[34~") \n\




wcom wrote:

Gente se lesocurre cómo hacer en linux o SVR4, o lo que sea, para hacer lo
siguiente?

Quiero conectarme por telnet o rlogin, con un server que tiene SCO Unix, por
lo tanto el mapeo de caracteres tiene que ser scoansi o equivalente. En
especial, F1=\E[M, F2=\E[N, F3=\E[O, F4=\E[P, etc. Ya que la aplicación
cliente-servidor que uso, necesita esas teclas.

Probé todas mas man pages y recetas que me dieron, pero cuando apreto F1
sigue tirando \E[[A, F2 tira \E[[B, y así.

Saludos

"Sólo el conocimiento nos hace libres"








Reply to: