latcaptain.blogg.se

Mac terminal commands scrolling
Mac terminal commands scrolling








mac terminal commands scrolling
  1. #Mac terminal commands scrolling for mac os x#
  2. #Mac terminal commands scrolling mac osx#

Also please let us know with which shell or editor you are trying to make them work and which escape sequences work best for you. If the recommended sequences don’t work for you: please try the alternative suggested here. This is why I recommend using \033OH which has worked in any shell or editor for me so far (Mac terminal, Debian terminal, vim, etc.) So if you can change your habits slightly you don’t actually need to reconfigure anything.Īlso note that some people (including Apple) recommend to use \033[H for Home but this doesn’t actually work in vi or vim. It is worth noting that some of these are already bound to Shift-Page Up, Shift-Page Down, Shift-Home and Shift-End (which are obtained with Shift-Fn-Up/Down/Left/Right on a laptop keyboard). You can either type these strings on your keyboard (start by presseing Esc) or you can just copy paste the strings from above. Other possible sequences you can try if the recommended doesn't work for you Here are strings you can use for each key:Īs of OSX 10.6.8, the correct fix is: Key This is a multiple key sequence starting with the escape character (which is represented with it’s octal code \033). You then need to enter the correct string to send to the shell. In order to change this, double click on each of the relevant lines and select Action: “Send string to shell:” You will see they already exist but are configured to scroll the buffer rather than sending commands to the server you’re connected to.

mac terminal commands scrolling

In the Terminal Preferences, go to the Keyboard pane and watch the the keys named ‘page up’, ‘page down’, ‘home’ and ’end’. So these configurations also apply to you.) (Note for laptop users: you don’t have the page up/down and home/EoL keys, but you can simulate them by holding the “fn” key and pressing on an arrow key.

#Mac terminal commands scrolling mac osx#

In order to get page up and page down to work properly under Mac OSX Terminal, as well as the home and end of line (EoL), you need to go to Preferences and then Keyboard and configure the right escape key sequences.

mac terminal commands scrolling

#Mac terminal commands scrolling for mac os x#

Updated for Mac OS X Mountain Lion 10.8.2.










Mac terminal commands scrolling