iNET Interactive - Online Advertising Agency

          
 


Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you would prefer not to see any double-underlined words and corresponding advertisements, please click here.

Go Back  dBforums > Usenet Groups > comp.unix.* > comp.unix.admin > xterm function keys

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-16-04, 01:52
Andrew McCallum
 
Posts: n/a
xterm function keys

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
Reply With Quote
  #2  
Old 08-16-04, 06:27
Thomas Dickey
 
Posts: n/a
Re: xterm function keys

Andrew McCallum <andrewmccallumau@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. Dickey
http://invisible-island.net
ftp://invisible-island.net
Reply With Quote
  #3  
Old 08-16-04, 21:00
Andrew McCallum
 
Posts: n/a
Re: xterm function keys

Thomas Dickey <dickey@saltmine.radix.net> wrote in message news:<10i130dh29jrgb8@corp.supernews.com>...
> Andrew McCallum <andrewmccallumau@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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump