[comp.sys.next] Keyboard equivalents in the Terminal app

mic@ut-emx.UUCP (Mic Kaczmarczik) (06/27/89)

I use Emacs within the Terminal app to edit text, and I also take
advantage of the way Terminal makes the Command key act like the Emacs
Meta key.  This makes editing go a lot faster -- after a while, typing
Command-b (a single keystroke) instead of Escape-b (two keystrokes)
saves a lot of time.

However, there's just one teensy little problem with this: I
habitually use Meta-q (fill-paragraph) to reformat paragraphs, and of
course Terminal interprets this as Command-q, and exits the program!!! 

It would be really nice if Terminal had a way to disable menu key
equivalents, so one could use the *entire* keyboard without fear of
accidentally exiting the program.  Until that happy day arrives,
however, I figured out what you have to patch in the Terminal
executable to disable the key equivalents.  Basically, I found the two
68030 instructions that push the characters 'h' and 'q' on the stack
when initializing the menu items, and changed the values to 0. 

I'm not sure how many people are interested in this rather specialized
hack.  However, this problem was annoying enough and took enough time
to fix that I wanted to let people know that a patch is available.  If
anyone would like a copy of a program that makes the patch, send me
mail and I'll send you one. 

Mic Kaczmarczik

-- 
Mic Kaczmarczik			If you drink, don't drill.
UT Austin Computation Center			-- Matt Groening
mic@emx.utexas.edu	
MIC@UTAIVC.BITNET

epsilon@wet.UUCP (Eric P. Scott) (06/28/89)

Using COMMAND for the purpose seems fundamentally wrong.
I think this comes down to, do you want ALT to handle
multinational characters, or do you want ALT to be a meta key?
I'd like to see emacs and Edit kept as consistent as possible.

I'd also like to see \more/ functionality in Terminal
(specifically 'm'--miniaturize).  Using the mouse is such a pain,
and the menu button doesn't help when the function you need isn't
on the menu.
					-=EPS=-