News for hackers. Stuff that matters.
Re:A useful program, 0 bytes long by philsnow on Friday June 21, 2013 @09:17PM (#5922109)
Could you get what you want with Unix job control? From inside e.g. emacs, hit control-z, and it should suspend the emacs process and you'll be back at the shell you started emacs from. When youre ready for more emacs (woo!), tell bash to "fg" and you'll be back in emacs.
Re:A useful program, 0 bytes long by jerf on Friday June 21, 2013 @11:04PM (#5922402)
Unix? Job control? Emacs? Suspend? Shell? fg? What version of DOS are you using?
Re:A useful program, 0 bytes long by D9u on Saturday June 22, 2013 @01:15AM (#5922666)
The features of Qedit that I liked had more to do with editing functions and keybindings than suspending any processes, and running concurrent applications is sort of a non issue in BSD/Linux.

The default Qedit settings made columnar editing as easy as linear editing... You could copy/paste in a vertical manner, as well as the more normally seen horizontal method. This facilitates ease of copying/pasting/deleting blocks of code without picking up, or affecting, other portions of code, whereas horizontal oriented block editing does not allow multi-line editing within set columns. You get every column within a set of copied lines even though you only want a smaller block of text.

Perhaps emacs can do column based edits, or some other editor?

Re:A useful program, 0 bytes long by tincholio on Saturday June 22, 2013 @01:35AM (#5922695)
Both Emacs and Vim can do column and arbitrary rectangular area manipulations. Another old and popular editor in the DOS days was Brief, which could also do them.
Re:A useful program, 0 bytes long by brokenparser on Saturday June 22, 2013 @04:44AM (#5923002)
Alt+Shift select in Sublime Text (and Esc to cancel).
Re:A useful program, 0 bytes long by glurgh on Friday June 21, 2013 @10:20PM (#5922292)
Suspend, leave emacs!?! Blasphemy and apostasy!
Re:A useful program, 0 bytes long by philsnow on Saturday June 22, 2013 @12:14AM (#5922558)
I picked emacs because I couldn't remember offhand if vim traps ^Z

My .emacs has

    (global-unset-key "\C-z")
because I haven't figured out how to make xmonad handle iconified windows nicely / I prefer M-x ansi-term over suspending my precious, and

    (global-unset-key "\C-x\C-c")
because I boot my emacs ~exactly as often as I boot my workstation (and I got angry at accidentally mashing a C-c after hitting C-x) :)
Re:A useful program, 0 bytes long by rca on Saturday June 22, 2013 @04:27AM (#5922960)
^Z sends a SIGSTOP no? I believe it can't be trapped (like SIGKILL). Actually i think the result of trying to trap it, is undefined (by posix)
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.
Re:A useful program, 0 bytes long by icebraining on Saturday June 22, 2013 @05:42AM (#5923074)
I believe ^Z sends SIGTSTP, which can be trapped.