#	@(#) msccap.src 22.1 89/11/14 
#
#	Copyright (C) The Santa Cruz Operation, 1988, 1989.
#	This Module contains Proprietary Information of
#	The Santa Cruz Operation, and should be treated as Confidential.
#
#
# This is nn example of a wy60 entry for seven screens (supports multiscreens).
# This is the default entry
#
# The following default entry has been replaced by the new entries
# received from Wyse that have separate descriptions for wy50 and wy60.
# July 12, 1988
#
#wy50|wy50vb|wy50vbl|wy50w|wy60|wy60w:\
#	:help,S-F8,^Ag\r,:\
#	:stop,S-F9,^Ah\r,:\
#	:quit,S-F10,^Ai\r,:\
#	:,S-F1,^A`\r,\Ew0:\
#	:,S-F2,^Aa\r,\Ew1:\
#	:,S-F3,^Ab\r,\Ew2:\
#	:,S-F4,^Ac\r,\Ew3:\
#	:,S-F5,^Ad\r,\Ew4:\
#	:,S-F6,^Ae\r,\Ew5:\
#	:,S-F7,^Af\r,\Ew6:
# This is the case for terminals that do not have hardware multiscreen support.
#wy50|wy50vb|wy50vbl|wy50w|wy60|wy60w:\
#	:help,S-F8,^Ae\r,:\
#	:stop,S-F9,^Af\r,:\
#	:quit,S-F10,^Ah\r,:\
#	:,S-F1,^A`\r,:\
#	:,S-F2,^Aa\r,:
# The two computer case:
# each dummy entry takes advantage of transparent printing to send
# a message to the remote mscreen to tell it which is the new screen.
# in this way completely transparent single-key screen switches are 
# accomplished. The \Ed# starts transparent print and ^T terminates 
# the sequence.
#
# The following configuration is for a total of four screens with two on
# each computer.
#
# I will explain each entry in detail here:
#For the tty2b entry (the first host computer):
#stop: Stop output string changes the screen back to screen 0 (the default
#    power on screen) via \Ew0.  Then it tells the remote mscreen to stop also
#    by sending the stop key sequence ^Ah\r through the transparent print
#    mechanism.  My .login checks for the stop return code and logs out 
#    my initial login.  In this way, all screens are logged out and the
#    terminal is returned to screen 0 which is the default power on screen.
#quit:
#    Quit merely sets the screen to zero since (for my stuff) quit does
#    not automatically log out my initial login.  In this way I am returned
#    to the state that I would be in if mscreen was not configured for my 
#    terminal.
#ptyp12 and ptyp13:
#    These entries have not changed and reflect the basic screen switching
#    mechanism.
#dummy:
#    The dummy entries are just like regular terminal entries except that
#    no process is spawned for them to conserve proc table space.
#    The dummy output strings are where all the magic is.
#    First, the screen is switched via \Ew2 to the appropriate screen for
#    the other host computer.  Then transparent print is used to send the
#    code to the remote mscreen to tell it which screen is being
#    activated (\Eb\r). The \Eb\r is a duplicate of the sequence generated 
#    by the function key that would tell the remote mscreen to switch screens.
#    Lastly, the io port being used is switched via \Ee9.
#
#wy50:\
#	:help,S-F8,^Ag\r,:\
#	:stop,S-F9,^Ah\r,\Ew0\Ed#^Ah\r^T:\
#	:quit,S-F10,^Ai\r,\Ew0:\
#	:,S-F1,^A`\r,\Ew0:\
#	:,S-F2,^Aa\r,\Ew1:\
#	:dummy,S-F3,^Ab\r,\Ew2\Ed#^Ab\r^T\Ee9:\
#	:dummy,S-F4,^Ac\r,\Ew3\Ed#^Ac\r^T\Ee9:
#
# For the tty2c entry (the second host computer)
# all entries are symmetrical except that the stop and quit
# keys return you to the different screens.
# stop:
#    Stop in this case returns one to the initial power on screen
#    and it also sets the io port back to \Ee8 which is the default
#    power on state.  In this way, stop on either host accomplishes
#    exactly the same thing.
# quit:
#    Quit is intended to terminate just the mscreen on the current host
#    computer. Therefore the screen number is set back to 2 (the first screen 
#    on the second host) and the io port is not reset.  Later, if one wants,
#    it is possible to restart mscreen.
#wy50:\
#	:help,S-F8,^Ag\r,:\
#	:stop,S-F9,^Ah\r,\Ew0\Ed#^Ah\r^T\Ee8:\
#	:quit,S-F10,^Ai\r,\Ew2:\
#	:dummy,S-F1,^A`\r,\Ew0\Ed#^A`\r^T\Ee8:\
#	:dummy,S-F2,^Aa\r,\Ew1\Ed#^Aa\r^T\Ee8:\
#	:,S-F3,^Ab\r,\Ew2:\
#	:,S-F4,^Ac\r,\Ew3:
###############################################################################
# Copyright (c)1988 Wyse Technology, San Jose, CA.
# The following information is mscreen terminal capability information.
# The following terminal types have entries in this file:
#	wy30
#	wy50
#	wy60
#	wy99gt
#	wy350
###############################################################################
# This is the wy30 entry for two screens (+ two functions not used as screens).
# The wy30 has no screen memory and clears the screen upon switching.
wy30|wy30vb|wy30vbl:\
	:who,Shift-F3,^Ab\r,:\
	:stop,Shift-F4,^Ac\r,:\
	:,Shift-F1,^A`\r,\E+:\
	:,Shift-F2,^Aa\r,\E+:
###############################################################################
# This is the wy50 entry for six screens (+ four functions not used as screens).
# The wy50 has no screen memory and clears the screen upon switching.
wy50|wy50vb|wy50vbl:\
	:who,Shift-F7,^Af\r,:\
	:help,Shift-F8,^Ag\r,:\
	:stop,Shift-F9,^Ah\r,:\
	:quit,Shift-F10,^Ai\r,:\
	:,Shift-F1,^A`\r,\E+:\
	:,Shift-F2,^Aa\r,\E+:\
	:,Shift-F3,^Ab\r,\E+:\
	:,Shift-F4,^Ac\r,\E+:\
	:,Shift-F5,^Ad\r,\E+:\
	:,Shift-F6,^Ae\r,\E+:
###############################################################################
# This is the wy60 entry for six screens (+ four functions not used as
# screens).  This entry is for wy60 terminals running in wy50+ emulation mode
#wy50|wy50vb|wy50vbl:\
#	:who,S-F7,^Af\r,:\
#	:help,S-F8,^Ag\r,:\
#	:stop,S-F9,^Ah\r,:\
#	:quit,S-F10,^Ai\r,:\
#	:,S-F1,^A`\r,\Ew0:\
#	:,S-F2,^Aa\r,\Ew1:\
#	:,S-F3,^Ab\r,\Ew2:\
#	:,S-F4,^Ac\r,\Ew3:\
#	:,S-F5,^Ad\r,\Ew4:\
#	:,S-F6,^Ae\r,\Ew5:
###############################################################################
# This is the wy60 entry for six screens (+ four functions not used as screens).
# The wy60 has 3 pages of screen memory (pages 0,1, and 2).  Screens F1 and
# F4 use screen 0, F2 and F5 use screen 1, and F3 and F6 use screen 2.  Note
# that only 2 screens of memory are available if terminal is not in Economy
# 80-column mode.
# if the wy60 is configured in wy50+ emulation mode it can have up to seven
# screens with Econ-80 mode.
wy60|wy60w|wy60ak:\
	:who,Shift-F7,^Af\r,:\
	:help,Shift-F8,^Ag\r,:\
	:stop,Shift-F9,^Ah\r,:\
	:quit,Shift-F10,^Ai\r,:\
	:,Shift-F1,^A`\r,\Ew0:\
	:,Shift-F2,^Aa\r,\Ew1:\
	:,Shift-F3,^Ab\r,\Ew2:\
	:,Shift-F4,^Ac\r,\Ew3:\
	:,Shift-F5,^Ad\r,\Ew4:\
	:,Shift-F6,^Ae\r,\Ew5:
###############################################################################
# This is the wy99gt entry for six screens (+ 4 functions not used as screens).
# The wy99gt has 2 pages of screen memory.
wy99gt|wy99gtvb|wy99gtvbl|wy99gtw|wy99gtw:\
	:who,Shift-F7,^Af\r,:\
	:help,Shift-F8,^Ag\r,:\
	:stop,Shift-F9,^Ah\r,:\
	:quit,Shift-F10,^Ai\r,:\
	:,Shift-F1,^A`\r,\Ew0:\
	:,Shift-F2,^Aa\r,\Ew1:
###############################################################################
# This is the wy350 entry for six screens (+ 4 functions not used as screens).
# The wy350 has no screen memory and clears the screen upon switching.
wy350|wy350vb|wy350vbl|wy350w:\
	:who,Shift-F7,^Af\r,:\
	:help,Shift-F8,^Ag\r,:\
	:stop,Shift-F9,^Ah\r,:\
	:quit,Shift-F10,^Ai\r,:\
	:,Shift-F1,^A`\r,\E+:\
	:,Shift-F2,^Aa\r,\E+:\
	:,Shift-F3,^Ab\r,\E+:\
	:,Shift-F4,^Ac\r,\E+:\
	:,Shift-F5,^Ad\r,\E+:\
	:,Shift-F6,^Ae\r,\E+:

################################################################################
# 
2392:\
	:help,S-F6,\Eu\r,:\
	:stop,S-F7,\Ev\r,:\
	:quit,S-F8,\Ew\r,:\
	:,F1,\Ep\r,\EH\EJ:\
	:,F2,\Eq\r,\EH\EJ:\
	:,F3,\Er\r,\EH\EJ:\
 	:,F4,\Es\r,\EH\EJ:\
 	:,F5,\Et\r,\EH\EJ:

################################################################################
# This entry is for the HP 700/44 or 700/92 terminal in HP PCterm mode.
# The hp 700 has no screen memory and clears the screen upon switching.
hpansi|hc|hp700:\
	:who,Shift-F5,\E[41~,:\
	:help,Shift-F6,\E[43~,:\
	:stop,Shift-F7,\E[44~,:\
	:quit,Shift-F8,\E[45~,:\
	:,Shift-F1,\E[37~,:\
	:,Shift-F2,\E[38~,:\
	:,Shift-F3,\E[39~,:\
	:,Shift-F4,\E[40~,:
############################################################################
#
#		Altos Terminals
#
#  not all possible combinations of modes are supported - only those that
#  are also supported in "terminfo" (example: the altos7 can be set up for
#  42 or 43 lines, but terminfo does not support those modes, so mscreencap
#  doesn't either)
#
#  most Altos terminals have only one display page, so screen switching will
#  work, but contents are not preserved. this makes it less than useful!
#
#  on terminals which have a "funct" or "comp char" key, we use that instead
#  of one of the "Fn" keys for the screen switch functions. this is because
#  some applications (vi, pcu, other?) turn on "keypad application mode",
#  which changes the codes generated by the Fn keys. "funct" or "comp char"
#  keys are not affected by keypad application mode, so they continue to
#  function while the application is active
#
############################################################################
#
# Altos2 has only one display page, and no special keys
# (screens can't be switched during certain applications (vi, pcu, ?))
#
a2|alt2|altos2|altos 2|Altos II:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Shift-F1,^A`\r,:\
	:,Shift-F2,^Aa\r,:
############################################################################
#
# Altos3 has only one display page, and no special keys
# (screens can't be switched during certain applications (vi, pcu, ?))
#
# 24x80 mode
#
a3|alt3|altos3|Altos III:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Shift-F1,^A`\r,:\
	:,Shift-F2,^Aa\r,:
#
# 24x132 mode
#
a132|alt132|altos3_132|a3_132|altos3w|alt3w|Altos III_132:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Shift-F1,^A`\r,:\
	:,Shift-F2,^Aa\r,:
############################################################################
#
# Altos4 has only one display page, and has a "funct" key
#
a4|alt4|altos4|Altos IV:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Funct-1,^A1\r,:\
	:,Funct-2,^A2\r,:
############################################################################
#
# Altos5 has two display pages, but amazingly has no way to switch between
# them from the host end! We have to treat it as a dumb terminal.
# It has a "Comp Char" key
#
a5|alt5|altos5|Altos V:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,CompChar-1,^A1\r,:\
	:,CompChar-2,^A2\r,:
#############################################################################
#
# Altos7 has two display pages and a way to switch between them
#
# it has a "funct" key
#
# 24x80 mode (including models with PC keyboard)
#
a7|alt7|altos7|Altos VII|p7|pca7|pcalt7|pcaltos7|Altos VII PC:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Funct-1,^A1\r,\Ew0:\
	:,Funct-2,^A2\r,\Ew1:
#
# 24x132 mode
#
a7132|alt7-132|altos7-132|altos7w|alt7w|Altos VII in 132 column mode:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Funct-1,^A1\r,\Ew0:\
	:,Funct-2,^A2\r,\Ew1:
#############################################################################
#
# Altos 6010/6160 has two display pages
#
a6010|alt6010|altos6010|a6160|alt6160|altos6160:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Shift-F1,^A`\r,\Ew0:\
	:,Shift-F2,^Aa\r,\Ew1:
a6010132|alt6010-132|altos6010w|alt6010w:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Shift-F1,^A`\r,\Ew0:\
	:,Shift-F2,^Aa\r,\Ew1:
a6160132|alt6160-132|altos6160w|alt6160w:\
	:help,Shift-F13,^Al\r,:\
	:who,Shift-F14,^Am\r,:\
	:stop,Shift-F15,^An\r,:\
	:quit,Shift-F16,^Ao\r,:\
	:,Shift-F1,^A`\r,\Ew0:\
	:,Shift-F2,^Aa\r,\Ew1:
