• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mac fkeys
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac fkeys


  • Subject: Re: Mac fkeys
  • From: Robert Tillyard <email@hidden>
  • Date: Mon, 30 Oct 2006 23:58:23 +0000

I have the same issue which I haven't had time to start looking at yet apart from the following.

The default terminal type of Termial.app is xterm_color, running infocmp > file breaks out the terminfo file and shows the following escape sequences that terminfo is expecting...

F1=<esc>[11~
F2=<esc>[12~
F3=<esc>[13~
F4=<esc>[14~
F5=<esc>[15~
F6=<esc>[17~
etc... Note the numbering does have some gaps.

Now goto the Window Preferences and look at the keyboard section and keys F1->F4 are different F5 onwards look okay.

F1=<esc>OP
F2=<esc>OQ
F3=<esc>OR
F4=<esc>OS
F5=<esc>[15~
F5=<esc>[17~
etc...

You could either amend the terminfo file or edit the Window Preferences.

Regards, Rob.

On 26 Oct 2006, at 22:52, Greg Berchin wrote:


On the Mac, firstly it's not possible cos the fkeys are already used,
and secondly... we can't really change the keycodes for menus.

On a related note, I'm using the curses library in an application (so I'm a dinosaur), and the system has hijacked F1 through F4. I can use all of the other function keys. Anybody know a way for me to gain control of F1 through F4, or to at least disable them so an accidental press of F1 doesn't crash my program?

Also, what keycode does the large "delete" key return? Looking now at
the curs_getch(3X) man page, it's not KEY_DC and it's not KEY_BACKSPACE.
Anyone know?


Thanks,
Greg

=========================
Greg Berchin

_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Mac fkeys (From: Greg Berchin <email@hidden>)

  • Prev by Date: Re: XCode Falls Short - for now
  • Next by Date: Re: A little off topic ...
  • Previous by thread: Re: Mac fkeys
  • Next by thread: Re: Mac fkeys
  • Index(es):
    • Date
    • Thread