1

How does the the ns-toggle fullscreen work on a mac keyboard ie what are the keys corresponding to each of ns, toggle and FS?

I'm sorry that this might be very basic but every post on google that talks about this assumes that I know what keys its referring to. Any help would be greatly appreciated. I've spent more than an hour of searching for this.

1 Answers1

0

F11, but be aware the nightly builds are crashing when I try it -- the stable releases are probably okay.

lawlist
  • 13,099
  • 3
  • 49
  • 158
  • Thanks -- FS is F11 but what is "ns"? – user2341127 May 04 '13 at 00:30
  • If you press M-x ns RET you will get a list of the ns options that are installed. This is created during the build process when making the application -- the src folder that is used when building the application contains: nsfns.m; nsfont.m; nsgui.h; nsimage.m; nsmenu.m; nsselect.m; nsterm.h; nsterm.m. The term directory contains ns.win.el or elc, which also relates to ns functions. In short, someone decided ns is a good prefix . . . perhaps someone else has a history of the development of ns, but that is somewhat beyond the scope of your question. – lawlist May 04 '13 at 03:58
  • Since the issue is resolved, perhaps you could please check the check-mark button to give me a brownie point to my reputation score. – lawlist May 04 '13 at 04:00
  • Sorry for that -- I am unable to upvote because I need at least 15 reputation points for it first. Coming back to the question, I am still confused about what keys need to be pressed to perform this "ns-toggle-FS" function? I suppose its a sequence of three buttons... of which the second one is the shift button and the third one is F11. But what is the first one? This is what I meant when I asked the question. Thanks. – user2341127 May 10 '13 at 07:04
  • Only F11 is the default -- nothing else -- no shift -- no second button -- no third button -- just F11. You can add your own keyboard shortcuts by doing a search in this forum or Google for: `global set key emacs` – lawlist May 10 '13 at 14:08
  • Underneath the area for up/down votes to the left of this answer, there is a mouse-over area to check-mark and accept the answer to your question. If you click it, the white check-mark will turn green and I'll get my bonus point :) – lawlist May 10 '13 at 14:29
  • Check your OSX System Preferences to make sure the keyboard settings have a check-mark for: Use all F1, F2, etc. keys as standard function keys. When this option is selected, press the Fn key to use the special features printed on each key. – lawlist May 10 '13 at 15:55
  • ns = NextStep. Since this code set for OSX is based on Cocoa (the OSX toolkit), which in turn is based on the original NextStep, the ns prefix carries forward. The Cocoa APIs still use ns- as the API prefix. – Anupam Jun 20 '13 at 02:54
  • I learned something new tonight -- thank you very much -- greatly appreciated! – lawlist Jun 20 '13 at 03:00