In case anyone is interested,
Here is my final solution to the problem. Many thanks to Aaron and Ian for
their parts of the solution.
The relevant points:
- "^S" stops output on the terminal. "^Q" starts it again.
- "stty" is a command for printing and changing terminal line settings.
- "stty -a" lists all of the commands for the current terminal
- there are two keypresses of relevance here:
"stop" (= ^S) and "start" (= ^Q)
- a command like "stty stop ^X" will change the "stop" key to "CTRL+X"
- under GNU compliant stty, the special key "^-" represents "no keypress".
A command like "stty stop ^-" will disable the stop key.
- once it has been disabled, a VED assignment can be created by adding a
line like
vedsetkey('\^S', "ved_w1");
to the vedkeys() procedure in $poplib/vedinit.p
I've created a script that disables the stop key, runs ved, and reenables
the key afterwards. Everything seems to run smoothly.
Hurrah for arcane Unix knowledge!
Cheers,
Dave
--
Dave Gurnell
d.j.gurnell@cs.bham.ac.uk
|