Termcap Standardization

Isaac Balbin isaac at mungunni.OZ
Mon Aug 19 09:34:40 AEST 1985


Yes, I have the same feelings about the function key entries in termcap.
I wrote a program that set up the function keys of a terminal which allowed
such programming. Initially I tried to use termcap alone. I found
that I needed to add the following entries.I know that keypad start 
and keypad end are already in existence, but vi seems to want them all for 
itself and in a specialised way. I also understand that one can get around
using the start sequences by programming them for *each* key in termcap
but that is not orthogonal or in line with other programs like sysline.
So, some of the things I added were:
/*
**	FS		= start sequence to address the function keys
**	FW		= string which depicts WHO the keypad programmed
**			  command will be sent to (eg the kds7362 allows one to 
**			  specify one of: host, screen, screen & host)
**	FE		= end keypad transmit mode
**	FM		= specifies the maximum number of bytes programmable
**			  into the function keys (combined total)
**			  VERY IMPORTANT -- sometimes hard to work out!
*/	
PS In the end, I settled on also using a .fkrc if it existed or an FK
environment variable.



More information about the Comp.unix.wizards mailing list