File:  [Research Unix] / researchv9 / cmd / emacs / macros / Concept100.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)

			Concept100 cursor pad interpreter

C. Douglas Blewett (DR30L19) Version 4

This routine handles all of the Concept100 cursor pad keys.
This routine assumes that the escape character for the Concept
has been changed to ^\.  This should have been done in the
c100* terminal data base file.  All escapes are changed to ^\.
This routine also takes advantage of the different handling of
the comment character interactively and in macros by EMACS.

Keys handled			Approximate translation
	HOME				M-g
	PAGE (upper and lower)		M-v and ^V
	SCROL (upper and lower)		M-3^P and M-3^N
	B TAB				^R^I
	BREAK				^G
	All of the arrowed keys		line or character movement

Arguments supplied to these commands multiply the affect.

The first five programmable function keys (upper and lower) are
defined in the data base file
(INSRT, DEL CHAR, DEL & INS LINE, CLEAR EOP & EOL, and SEND).

Modified to my own tastes 7/5/81: added MULT, reset & stat, print and tape

	!�-<
		�;		Up
			
		�
		�<		Down
			
		�
		�>		Left
			
		�
		�=		Right
			
		�
		�.		Page up
			v
		�
		�-		Page down
			
		�
		�[		Scroll down
			�13~3
			
		�
		�\		Scroll up
			�13~3
			
		�
		�?		Home
			�
		�
		�]		Set tab
			�
		�
		�_		Clear tab
			
		�
		�'		Backtab
			^�3~0
				�12~1	Loop
				<	
				-1
			�
		�
		�:		Mult Code - back a word
			b
		�
		�{		print - forward a word
			f
		�
		�,		reset - back a line - from move
			
		�
		�+		stat - forward a line - from move
			
		�
		�`		tape - end of buffer
			�
		�
		��	Defaults: | = PRINT(shifted),  = break
			
		�
	�


unix.superglobalmegacorp.com

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