With TinyTERM for DOS set for SCOANSI emulation, the UNIX TERM environment variable set to ansi or ansic, and the WPTERM environment variable set to either term or termcolor, the following lines can be added to the tt.rc file to allow TinyTERM to work with WordPerfect 5.0 for UNIX.
setkey sf10 reset
setkey f10 reset
setkey cf10 reset
setkey kp- "\E[-" !keypad -
setkey kp+ "\E[+" !keypad +
setkey c-home "\E[E" !Ctrl-Home
setkey c-pgup "\E[J" !Ctrl-PgUp
setkey c-pgdn "\E[K" !Ctrl-PgDn
setkey c-end "\E[0" !Ctrl-End
setkey c-left "\E[1" !Ctrl-LeftArrow
setkey c-right "\E[2" !Ctrl-RightArrow
setkey c-enter "\E[3" !Ctrl-Enter
setkey c-bs "\E[4" !Ctrl-BackSpace
setkey s-tab "\E[5" !Shift-Tab
setkey "^H" "\E{h" !Ctrl-H
setkey "^Q" "\E{q" !Ctrl-Q
setkey "^S" "\E{s" !Ctrl-S
setkey af1 "\E[w" !Map Ctrl-Shift-Fkeys to Alt-Fkeys
setkey af2 "\E[x"
setkey af3 "\E[y"
setkey af4 "\E[z"
setkey af5 "\E[@"
setkey af6 "\E[["
setkey af7 "\E["
setkey af8 "\E[]"
setkey af9 "\E[\^"
setkey af10 "\E[_"
setkey alta "\E|a" !Assign sequences to Alt-A through Alt-Z
!setkey altb "\E|b" ! Not mapped for default break key.
!setkey altc "\E|c" ! Not mapped for default compose key.
setkey altd "\E|d"
setkey alte "\E|e"
setkey altf "\E|f"
setkey altg "\E|g"
!setkey alth "\E|h" ! Not mapped for hot key.
setkey alti "\E|i"
setkey altj "\E|j"
setkey altk "\E|k"
setkey altl "\E|l"
setkey altm "\E|m"
setkey altn "\E|n"
setkey alto "\E|o"
!setkey altp "\E|p" ! Not mapped so we can print.
setkey altq "\E|q"
setkey altr "\E|r"
!setkey alts "\E|s" ! Not mapped so we can run setup.
setkey altt "\E|t"
setkey altu "\E|u"
setkey altv "\E|v"
setkey altw "\E|w"
!setkey altx "\E|x" ! Not mapped so we can exit.
setkey alty "\E|y"
setkey altz "\E|z"
You may want to comment out different lines than those selected above. The ones commented out are the default keys used by TinyTERM.
This entry was posted
on Thursday, May 10th, 2007 at 9:13 am and is filed under DOS, Keyboard.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.