[comp.emacs] Sun .ttyswrc help

chris@jupiter (Chris Ott) (05/24/88)

Martin writes:
> I have been running GNU emacs 18.5?, any way I have a sun and want to run the
> sun-keys and sun-fns lisp files, but it says something about setting up your
> .ttyswrc file. I cannot figure out the correct way to set this up.  I would 
> like to be able to use the functiuon keys with GNU emacs on my Sun.
>
>						----Martin----

     Isn't that terrible? I found it almost impossible to locate
documentation concerning the .ttyswrc file in the Sun documentation. I
don't remember where I found it now, but here is MY .ttyswrc file. Maybe
it will help:

	mapi	R1	^@
	mapi	R7	\E<
	mapi	R8	^P
	mapi	R9	\Ev
	mapi	R10	^B
	mapi	R12	^F
	mapi	R13	\E>
	mapi	R14	^N
	mapi	R15	^V

The \E's are ESC characters, and the ^'s precede control characters. For
instance, when R9 is pressed, the sequence "ESC v" is sent to Emacs. When
R14 is pressed, Ctrl-N is sent to Emacs.


Chris Ott     Internet: chris@spock.ame.arizona.edu
CFML          UUCP: {cmcl2,allegra,hao!noao}!arizona!amethyst!spock!chris
U of A