home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / msiwpx.com < prev    next >
Text File  |  2020-01-01  |  3KB  |  89 lines

  1. $! Procedure name :     PCWP.COM
  2. $! Date :               1APR90
  3. $! Author :             Bob Martin
  4. $! Address :            513 Ellis Ct.
  5. $!                      Richmond, KY 40475
  6. $! Bitnet:              GRAPHICS@EKU  or   ACSMARTIN@EKU
  7. $!
  8. $! FOR USE ONLY WITH MS-DOS KERMIT 3.12 AND EARLIER!
  9. $! USE NEW MSIWP3.COM FOR VERSION 3.13 AND LATER.
  10. $!
  11. $!#######################################################################
  12. $!
  13. $! This file is intended to provide a means for people to use
  14. $! WordPerfect 5.0 on a VAX(VMS), just as if they were using it on their
  15. $! IBM PC. When used with the file 'WP30.INI' provided by WordPerfect
  16. $! Corp. (I believe the file is called MSIWP3.INI at Columbia); you
  17. $! will need to make minor corrections to the original INI file if
  18. $! you are using VMS, since it was written for UNIX. As a matter of
  19. $! fact, the MSIWP3.INI file is very well commented and tells you the
  20. $! same thing.
  21. $!
  22. $! You can either use this command procedure locally (in your account)
  23. $! or it can be made available to the entire system. I have made it
  24. $! available to the entire system by putting it in a directory called
  25. $! PUBLIC: -- then adding the line '$ PCWP :== @PUBLIC:PCWP.COM' to
  26. $! SYLOGIN.COM.
  27. $!
  28. $! You may want to add 'SET KEY CLEAR' at the top of your MSKERMIT.INI
  29. $! file to ensure you get ALL your key definitions back. You will also
  30. $! need to add to lines to the bottom of your MSKERMIT.INI file; they are:
  31. $!
  32. $!              DEFINE TerminalS TAKE MSIWP3.INI, CONNECT
  33. $!              SET KEY \2344 \KterminalS  ;assigns ALT-' (apostrophe)
  34. $!
  35. $! The above lines allow this procedure to work automatically, but ONLY if
  36. $! you add them to your MSKERMIT.INI file.
  37. $!
  38. $! Hope it helps some of you folks out, a bit!
  39. $!#######################################################################
  40. $!
  41. $!Set up the terminal...........
  42. $!
  43. $ set term/inq/noeight/hostsync/ttsync
  44. $ create/name_table wpcorp_terminal_table
  45. $ esc=""
  46. $ esc[0,8]=27
  47. $!
  48. $! Defines TerminalS in order to provide hands off key redefinition
  49. $! for WordPerfect products
  50. $!
  51. $ define/table=wpcorp_terminal_table begin_control "''esc'[?34h"
  52. $!
  53. $! Define TerminalR -- which will reset your key definitions to
  54. $! whatever you had them before, automatically.
  55. $!
  56. $ define/table=wpcorp_terminal_table end_control "''esc'[?34l"
  57. $!
  58. $!
  59. $ Begin:
  60. $ if P1 .eqs. "" then inquire/Nopunc P1 -
  61.     "What type of Graphics adapter do you have? (cga, ega or vga)  "
  62. $ if P1 .eqs. "" then goto begin
  63. $ If ("''P1'" .eqs. "ega") .or. ("''P1'" .eqs. "EGA") then goto ega
  64. $ If ("''P1'" .eqs. "vga") .or. ("''P1'" .eqs. "VGA") then goto vga
  65. $ If ("''P1'" .eqs. "cga") .or. ("''P1'" .eqs. "CGA") then goto cga
  66. $ goto outtahere   !Kicks them out if they misspell their adapter
  67. $!                  Add error trapping -- if you'd like it....
  68. $!
  69. $ CGA:
  70. $ define/table=wpcorp_terminal_table graphics_size 320,200
  71. $define/user_mode sys$input sys$command
  72. $ wp50
  73. $ goto outtahere
  74. $!
  75. $ EGA:
  76. $ define/table=wpcorp_terminal_table graphics_size 640,350
  77. $define/user_mode sys$input sys$command
  78. $ wp50
  79. $ goto outtahere
  80. $!
  81. $ VGA:
  82. $ define/table=wpcorp_terminal_table graphics_size 640,480
  83. $define/user_mode sys$input sys$command
  84. $ wp50
  85. $ goto outtahere
  86. $!
  87. $ outtahere:
  88. $ Exit
  89.