home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / protocol / tcpip / ibmpc / 5263 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  3.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!CU.NIH.GOV!TUB
  2. From: TUB@CU.NIH.GOV (Bert Tyler)
  3. Newsgroups: comp.protocols.tcp-ip.ibmpc
  4. Subject: Re:  I NEED DG EMULATION FOR NCSA TELNET
  5. Message-ID: <9209152107.aa14583@louie.udel.edu>
  6. Date: 16 Sep 92 01:06:25 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: world
  9. Organization: The Internet
  10. Lines: 50
  11.  
  12. (discussing adding terminal emulators to MS-Kermit...)
  13.  
  14. > The terminal emulation business is a difficult one: complex specs (only ~=
  15. > hardware), clashes between dedicated terminal silicon and PC hardware, bulk,
  16. > time/energy, etc). There would have to be really good incentives to consider
  17. > another terminal which differed greatly from what is present now.
  18.  
  19. For what it's worth, we here at the National Institutes of Health have
  20. plenty of incentive both in terms of wanting to make it easy to add
  21. terminal emulators to MS-Kermit, and wanting to do so in a way that
  22. gives us the ability to enhance and maintain those emulators rather than
  23. forcing the "official" MS-Kermit folks to do so - our NIH8188 terminals.
  24.  
  25. The NIH8188 is a local-editing terminal with features not found in any
  26. of the terminal emulators in either MS-Kermit or its commercial competitors
  27. (a logical line width of over 1000 characters, for instance), and we
  28. have lots of end users that are used to those features and don't
  29. want to give them up.  We also have lots of programs that expect to
  30. have an NIH8188 on the other side of the cable and send NIH8188-specific
  31. escape sequences down the line.  On the other hand, NIH8188 terminals
  32. basically don't exist outside of the NIH, and it would be unrealistic
  33. to expect the Columbia releases of MS-Kermit to include an NIH8188
  34. emulation mode.  Our solution has been to add a "loadable terminal
  35. emulator" capability to our copies of MS-Kermit.
  36.  
  37. Our "loadable terminal emulator" code consists of a new command - "set
  38. terminal driver <filename>" - and a number of hooks into MS-Kermit's
  39. terminal emulator code.  The "set terminal driver ..." command looks for
  40. the named file, verifies that it contains appropriate latch-up code at
  41. the right places, allocates the required memory, loads the emulator code
  42. there, and calls some initialization code to let the emulator start up.
  43. After that, all communication to and from the emulator is through the
  44. above-mentioned hooks and a single table-driven entry into the
  45. emulator code.
  46.  
  47. (Yes, there's a performance penalty with using this sort of indirect
  48. code.  No, it doesn't seem to be a noticable performance penalty on
  49. today's hardware.)
  50.  
  51. The item with the single biggest impact on MS-Kermit was the fact that
  52. we had to add 128 new "action" verbs (we called them "x1" through
  53. "x128") to make room for all the extra function keys that are on
  54. the NIH8188 in addition to the "normal" ones.  That puppy has a wiiiide
  55. keyboard <grin>.
  56.  
  57. Adding a new terminal emulation is never easy, but at least this way
  58. it's do-able - and in a way that doesn't force MS-KErmit to carry
  59. the baggage of unneeded terminal emulators in everybody's copy of
  60. the program.
  61.  
  62.