File:  [Research Unix] / researchv9 / cmd / emacs / macros / tty5420.pad
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

	Teletype 5420 cursor pad interpreter

	Paul F. Kellogg

	These macros handle the teletype 5420 cursor pad keys.
	It assumes the terminal is set up in the "send edit seq"
	mode.

	Key			Meaning
	clear scrn		kill present screen
	clear line		kill present line
	(SHIFT) reset		redraw the screen
	del char		delete the present character
	del line		delete to the end of the line
	del word		delete the next word
	ins char, ins line	undefined
	roll up (down)		move up (down) 5 lines
	top (bottom)		move to the top (bottom) of the file
	page up (down)		move one page up (down)
	arrows			move in the indicated direction
	f1 - f8			undefined


�Cursor keys that start with esc-[
	!�-<
		�A		up
			
			�
		�B		down
			
			�
		�C		right
			
			�
		�D		left
			
			�
		�H		upper left arrow
			0g
			�
		�V		page up
			�
			�
		�U		page down
			
			�
		�S		roll up
			5
			�
		�T		roll down
			5
			�
		�2		clear
			!�-<
				�J		clear scrn
					0g�20
					�
				�K		clear line
					�
					�
				��	default
					�
				�
			�
		�P		del char
			
			�
		�M		del line
			
			�
		�4		insert
			!�-<
				�h		ins char
					�
				��	default
					�
				�
			�
		�L		ins line
			�
		��	default
			�
		�

�lower left arrow key
	19g

�top of file key
	�

�bottom of file key
	�

�reset screen key
	

�system programmable function keys
	!�-<
		�c		f1
			�
		�d		f2
			�
		�e		f3
			�
		�f		f4
			�
		�g		f5
			�
		�h		f6
			�
		�i		f7
			�
		�j		f8
			�
		�


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.