#dBforums RSS Feed iNET Interactive - Online Advertising Agency IFRAME: http://rotator.juggler.inetinteractive.com/servlet/ajrotator/3425/0/vh?z=inet&dim=5925 [vc?z=inet&dim=5925&abr=$imginiframe] [Internet Services --] [divider.gif] [Web Development --] [divider.gif] [Tech Hardware --] [header_left.gif] [logo.gif] [header_right.gif] [topnavbar_left.gif] [topmenu_left.gif] Home | Register | Members | Calendar | Get New | Search | Quick Links [topmenu_right.gif] [yellowline_left.gif] [yellowline_right.gif] [spacer.gif] [spacer.gif] [spacer.gif] [spacer.gif] [vc?z=inet&dim=13,23&abr=$imginiframe] [spacer.gif] [spacer.gif] [spacer.gif] [spacer.gif] 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 Go to Page... ____ [BUTTON] 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 Andrew McCallum #2 Old 08-16-04, 06:27 Thomas Dickey Posts: n/a Re: xterm function keys ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ Andrew McCallum 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 Thomas Dickey #3 Old 08-16-04, 21:00 Andrew McCallum Posts: n/a Re: xterm function keys ________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ Thomas Dickey wrote in message news:<10i130dh29jrgb8@corp.supernews.com>... > Andrew McCallum 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 Andrew McCallum Reply « Previous Thread | Next Thread » Thread Tools Search this Thread Show Printable Version Show Printable Version Email this Page Email this Page Search this Thread: ____________________ Go Advanced Search Display Modes Linear Mode Linear Mode Hybrid Mode Switch to Hybrid Mode Threaded Mode Switch to Threaded Mode 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 [ comp.unix.admin.................................] Go [bannerrow_left.gif] [bottombanner_top.gif] [bottombanner_left.gif] IFRAME: http://rotator.juggler.inetinteractive.com/servlet/ajrotator/58/0/viewHTML?zone=inet&channel=721&dim=13 [viewCGI?zone=inet&channel=721&dim=13&abr=$imginiframe] [bottombanner_right.gif] [bottombanner_bottom.gif] [bannerrow_right.gif] [bottomnavbar_left.gif] Home | Register | Archive | Get New | FAQ's [bottomnavbar_right.gif] [rackspace.gif] Copyright ©2001-2005 dBforums.com. All Rights Reserved. A division of iNET Interactive. Advertise on dBForums Other iNET Interactive Sites: Webhostingtalk.com | SwishTalk.com | HostingCatalog.com | DevPapers.com | ProgrammingTalk.com | HotScripts.com Powered by vBulletin Version 3.5.3 Copyright ©2000 - 2006, Jelsoft Enterprises Ltd. [adjuggler.gif]