To use the WP-2 with a UN*X system, make sure XON/XOFF flow control is set ON on the WP-2, and use the following termcap entry: # Joe Touch 10/14/90 Entry for Radio Shack WP-2 # cursor motion commands derived by experiments # # keycodes interpreted: # ESC H homes the cursor (to 0,0) # ESC A cursor up # ESC B cursor down # ESC C cursor right # ESC D cursor left (same as ^H) # ESC Y x y cursor move to (x,y) # i.e. move to 6,42 is ESC Y ^F * # ESC J clear to end of screen *WHEN IN COLUMN 0 ONLY* # (UNKNOWN function when cursor isn't in col 0) # ESC K clear to end of line # ESC ^^ (?) UNKNOWN FUNCTION (i.e. ^^ = code 30, decimal) # ^H backspace (nondestructive, same as cursor left) # ^J newline # ^M carriage return (move cursor to column 0) # ^T destructive tab # # keycodes sent # ^H backspace # ^T tab # ^M return # ^_ arrow down # ^^ arrow up # ^] arrow left # ^\ arrow right # jo|wp2|wp-2|Radio Shack WP-2|Tandy WP-2:\ :co#80:li#8:\ :bs:\ :nd=\EC:ho=\EH:do=\EB:up=\EA:\ :cm=\EY%+ %+ :cd=\EJ:ce=\EK:cl=\EH\EJ:\ :kd=^_:kl=^]:kr=^\:ku=^^:\ :am::xo:pt:xt:\ :sg#1:so=[:se=] # # Decoded: # # Common to Touch's and Florence's original termcaps; # co#80 80 columns # li#8 8 lines # bs Control-H (8 dec.) performs a backspace # nd=\EC cursor down # ho=\EH cursor home (upper left corner) # o=\EB cursor down # up=\EA cursor up # cm=\EY%.%. cursor goto (line,col) or "%+ %+ " # unclear whether row/col is offset by " " or not; # Touch thought not, but Florence thought yes. It's safer # to assume yes, if it works. # cd=\EJ cursor down (better not happen in home position! it clears screen) # ce=\EK clear to end of line # cl=\EH\EJ clear screen = go home then cursor down # kd=^_ sent by arrow down # kl=^] send by arrow left # kr=^\ sent by arrow right # ku=^^ sent by arrow up # # unique to Joe Touch's original termcap: # am Automatic margins which means automatic line wrap # xo Terminal uses xon/xoff protocol # pt Has hardware tabs # xt Flag: Teleray 1061; several strange characteristics. # # unique to Ron Florence's original termcap - adds bold mode: # sg#1 Number: width of magic standout cookie. Absent if magic cookies are not used. # so=[ String to exit standout mode. # se=] String to exit standout mode. # # -----------------------------------------------------------------------