[comp.terminals] Need info on ATT 630 Terminal

root@lsicom2.UUCP (Admin) (01/12/90)

I have several application programs (Crystalwriter and 20/20)
that have their own termcaps.  They have their own is =
strings.

They de-program my function keys.  I did not find any
reference on how to re-program the function keys when
the application programs close.  I have tried several
variations if a ts = string, but it does not seem to
work.

Is there some way to append a program to .profile to
re-program the function keys?

I would appreciate any help.

Thank you.

Michael Kosmin

gwyn@smoke.BRL.MIL (Doug Gwyn) (01/13/90)

In article <561@lsicom2.UUCP> root@lsicom2.UUCP (Admin) writes:
>Is there some way to append a program to .profile to
>re-program the function keys?

All you have to do is use the "echo" command to send the following
characters to the terminal:

	ESC [ key_number ; string_length q string

where ESC has octal value 033, key_number is one of the digits 1
through 8, string is the characters you want to associate with the
function key, and string_length is the number of characters in that
string.  For example:
	echo '\033[1;5qexit\r'	# store "exitCR" in PF Key #1