Run a shell script and immediately background it, however keep the ability to inspect its output

To ‘background’ a process when you start it Simply add an ampersand (&) after the command. If the program writes to standard out, it will still write to your console / terminal. To foreground the process Simply use the fg command. You can see a list of jobs in the background with jobs. For example: … Read more

Binding M- / M- in Emacs 23.1.1

Emacs has a complex mechanism to handle the vicissitudes of function key and modifier encodings on various terminal types. It doesn’t work out of the box in all cases. The following settings should work on your terminal: (define-key input-decode-map “\e\eOA” [(meta up)]) (define-key input-decode-map “\e\eOB” [(meta down)]) (global-set-key [(meta up)] ‘transpose-line-up) (global-set-key [(meta down)] ‘transpose-line-down) … Read more