Trailing-Edge - PDP-10 Archives - mit_emacs_170_teco_1220 - info/
There are no other files named in the archive.

File: Haz1510		 Node: Top		 Up: (DIR)

Help with the losing Hazeltine 1500 series terminals.

* Menu:

* Special characters::	How to type the the ASCII characters
			^_, ^\, ^^, ^], Altmode, and _.
* Support::		The HAZ1510 library of redefinitions
			for use on these terminals.

File: Haz1510,   Node: Special characters,   Up: Top,	Next: Support

The only non-character which can be sent controlified directly is "@".
For the rest hazeltines use Control-Shift characters.  Thus you should
never type a Control-Shift of a character, when you want the Control
character (shift lock is ok).  You should also avoid typing Shift-Line
Feed or any of the display keys if you do not have the display package
loaded, as they send a tilde (which will be inserted in your file, but
is invisible on the screen) and a random control character.

The interesting shift characters are:

Control-Shift-O	=	Control-_
Control-Shift-L	=	Control-\
Control-Shift-N	=	Control-^
Control-Shift-M	=	Control-]
Control-Shift-K	=	Escape

Shift-0		=	_ (Underline)

Node: Support		Up: Top		Previous: Special Characters

EMACS Redefinitions for the Hazeltine Terminal

The library HAZ1510 makes the arrow and function keys do logical
things.  To use it, you must load the library, HAZ1510, then give the
command M-X Hazeltine<cr>.  This will enable the following keys:

	Right Arrow = ^H        = ^R Backward Character
	Left Arrow  = ^P        = ^R Forward Character
	Up Arrow    = <tilde>^L = ^R Up Real Line
	Down Arrow  = <tilde>^K = ^R Down Real Line
	D/L	    = <tilde>^S = ^R Kill Line
	I/L	    = <tilde>^Z = ^R Open Line
	Clear	    = <tilde>^\ = ^R New Window (^L)
	Home	    = <tilde>^R = ^R Goto Beginning 
	S-Lft=S-Rght= <tilde>^@ = ^R Kill Whole Word
	S-Tab       = <tilde>^T = ^R Back To Indentation 

^R Kill Whole Word is a function which kills the word containing or
following point.  A positive argument serves as a repetition count.  A
negative argument means kill the word(s) preceding the one containing
point or the word(s) preceding point.

It is also posible to change these definitions to anything you like.
The format for setting the tilde prefix characters from an init file
is just the same as the format for setting a C-X prefix character
except you use ".T" in place of ".X".  Using Set Key, it is exactly
the same.

   C-P is changed by this command, because the Right Arrow sends a ^P
   and there is nothing that can be done about it.  This may take time
   to get used to.  I personally change the definition on ^N, ^B, ^F,
   and ^L too when I am on a hazeltine to cerain functions functions
   which are hard to get, since these keys become redundant.

   Also, tilde becomes a special character, and in order to insert it,
   you must use C-Q.

To automatically set up these commands whenever you are on a
Hazeltine, put these lines in your Emacs.init file:

 fs RGETTY-(M(M.ATRMTYP# TRMTYP H1500))"E  !* If the terminal is a hazeltine!	
   m(m.mLoad Library)Haz1510	    !*   load the library,!
   m(m.mHazeltine)		    !*   do the standard redefinitions,!
   {here you can put other character
    redifinitions, special commands,
    or nothing at all}
   '				    !*   End the conditional.!