Re:A useful program, 0 bytes long
by thristian on Saturday June 22, 2013 @04:54AM
(#5923016)
Vim puts the terminal in raw mode, so ^Z sends ^Z instead of SIGSTOP. When Vim receives a ^Z, it shuts down ncurses, returns the terminal to a sensible state, and sends itself SIGSTOP. When it gets SIGCONT, it sets up ncurses and reconfigures the terminal the way it wants again.
[ Parent
| on HN ]
There are no comments on this comment yet.