Hello, If your application is script based shell "application.sh" then you can personalize all your Function Keys, font and color with xterm.
like this:
$/usr/openwin/bin/xterm -title "My-Terminal" -sb -sl 1200 -geo ${COLS}x24 -fg
${F
G} -bg ${BG} \
-cr red -fn ${FONT} -fb ${BFONT} -xrm \
'XTerm*VT100.translations: #override \n\
<Key>Insert: string(\001) \n\
Shift <Key>Up: scroll-back(1,lines) \n\
Shift <Key>Down: scroll-forw(1,lines) \n\
Shift <Key>Right: string(0x1b) string("f") \n\
Shift <Key>Left: string(0x1b) string("b") \n\
Shift <Key>Delete: string(0x1b) string(0x08) \n\
Shift <Key>Tab: string(0x1b) string("*") \n\
<Key>0x1000FF0D: scroll-back(1,page) \n\
<Key>0x1000FF0E: scroll-forw(1,page) \n\
<Key>0x1000FF09: string(\010) \n\
<Key>0x1000FF0A: string(\005) \n\
<Key>BackSpace: string(0xff) \n\
<Key>Select: select-start() \n\
<Key>0x1000FF02: select-end(PRIMARY,CUT_BUFFER0) \n\
Meta <Key>0x1000FF02: select-end(CLIPBOARD) \n\
<Key>0x1000FF04: insert-selection(PRIMARY,CUT_BUFFER0) \n
\
Meta <Key>0x1000FF04: insert-selection(CLIPBOARD) \n\
<Key>F1: string(0x1b) string("OP") \n\
<Key>F2: string(0x1b) string("OQ") \n\
<Key>F3: string(0x1b) string("OR") \n\
<Key>F4: string(0x1b) string("OS") \n\
<Key>F5: string(0x1b) string("[16~") \n\
<Key>F11: string(0x1b) string("[23~") \n\
<Key>F12: string(0x1b) string("[24~") \n\
<Key>KP_Divide: string(0x1b) string("OP") \n\
<Key>KP_Multiply: string(0x1b) string("[29~") \n\
<Key>KP_Enter: string(0x1b) string("OM") \n\
<Key>KP_Subtract: string(0x1b) string("Om") \n\
<Key>KP_Add: string(0x1b) string("Ol") \n\
<Key>KP_Decimal: string(0x1b) string("On") \n\
<Btn1Down>: select-start() \n\
<Btn1Motion>: select-extend() \n\
<Btn1Up>: select-end(PRIMARY,CUT_BUFFER0) \n\
Button1<Btn2Down>: select-end(CLIPBOARD) \n\
Button1<Btn2Up>: ignore()' \
-e application.sh"
Cheers,
Kamal
-------- Message d'origine--------
De: [EMAIL PROTECTED] de la part de Aaron Wilson
Date: mer. 21/03/2007 14:15
À: SunRay-Users mailing list
Objet : Re: [SunRay-Users] How to disable F1=Help?
Are you using CDE or JDS/Gnone? You mention CDE in the past tense so I imagine
you are using JDS now.
Which means you're probably using gnome-terminal. With that you just go to:
Edit -> Keyboard Shortcuts... Scroll down to the bottom and click on Contents
and hit Back Space.
Any other terminal program I can't suggest any help.
Ruben Bahntje wrote:
Hi,
I have an application that use Function Keys, so I need to disable de
default for F1 (HELP).
I was trying to resolve this using xmodmap, but I am doing something
wrong.
With CDE, I used to modified the $HOME/.xinitrc, but no, there is no
such file.
The operating system is Solaris Express 02/07 (snv_55b)
Any help?
Rubén Bahntje
Unixhelp S.A.
Ramón Cortes 519
(9410) Ushuaia - TDF
ARGENTINA
Tel: +54-2901-434476
http://www.unixhelp.com.ar
________________________________
_______________________________________________
SunRay-Users mailing list
[email protected]
http://node1.filibeto.org/mailman/listinfo/sunray-users
<<winmail.dat>>
_______________________________________________ SunRay-Users mailing list [email protected] http://node1.filibeto.org/mailman/listinfo/sunray-users
