Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default 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
    Andrew McCallum Guest

  2. Similar Questions and Discussions

    1. Determining all shortcut keys in use (including Function keys)?
      I'm creating a Windows Acrobat 8 plug-in and would like to know how to find all the current shortcut keys. The Acrobat 8 SDK's Developing Plug-ins...
    2. Curses::UI::Widget - binding function keys
      I read the documentation for Curses::UI::Widget on how to bind control-keys to perl subs. Very nice. However, there are no instructions on how to...
    3. CS crash, actions reloaded, function keys non-working
      I had a crash in CS, had had one before, so I saved my freshly programmed actions. Had to reload them after the crash, now the function keys don't...
    4. Listening for Function keys pressed
      Hi all, I'm hoping that I am in the right spot for this query, and that someone can help. I'm very new to flash (Flash MX 2004) and am attempting...
    5. Function keys to post a form
      Hi all, I have disabled the function keys (F1-F12). I would like each funtion key to submit a form. I'm not quite sure how to tell each...
  3. #2

    Default 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
    [url]http://invisible-island.net[/url]
    [url]ftp://invisible-island.net[/url]
    Thomas Dickey Guest

  4. #3

    Default 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
    Andrew McCallum Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139