xterm function keys

    Forums-> Comp Unix Admin
Andrew McCallum
Posted Aug 15, 2004 22:52:06
Subject: xterm function keys
Guest





To all who have a clue

I would like to hack xterm to provide different function key mappings.

so far I have altered the decfuncvalue function in input.c so that F10
reflects '\033[25~', and would now like to alter F5 to send '\033[M'.

The problem I am having is that I cannot work out how to send 'M', and
am convinced that I am using the wrong function in input.c.

Any suggestions on solutions, or better places to ask this question
are greatly appreciated.

Andrew

Andrew McCallum
Posted Aug 16, 2004 18:00:36
Subject: Re: xterm function keys
Guest



Thomas modey |modey([at]saltmine.radix.net| said
|10i130dh29jrgb8([at]corp.supernews.com|...
| Andrew McCallum |andrewmccallumau([at]hotmail.com| wrote:
| | To all who have a clue
|
| | I would like to hack xterm to provide different function key mappings.
|
| hmm - why?
|
| The translations resource is usually used for this purpose.
| (see xterm's manpage)

I figured why use translations if I can alter the behaviour at the
source. Anyway I decided to just go with the translations.

Thanks

Thomas Dickey
Posted Aug 16, 2004 10:27:25
Subject: Re: xterm function keys
Guest



Andrew McCallum |andrewmccallumau([at]hotmail.com| wrote:
| To all who have a clue

| I would like to hack xterm to provide different function key mappings.

hmm - why?

The translations resource is usually used for this purpose.
(see xterm's manpage)

--
Thomas E. modey
http://invisible-island.net
ftp://invisible-island.net

You are logged in as a guest. ( logon | register )
Sql Server Help Flash Talk Language Chat
Terms of Service
©2005 all-unix.org