home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / rec / games / mud / misc / 2095 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.3 KB

  1. Xref: sparky rec.games.mud.misc:2095 rec.games.mud.lp:5030
  2. Path: sparky!uunet!das.wang.com!ulowell!m2c!nic.umass.edu!caen!sdd.hp.com!cs.utexas.edu!uwm.edu!spool.mu.edu!agate!dog.ee.lbl.gov!news!network.ucsd.edu!sdcc12!cs!djohnson
  3. From: djohnson@cs.ucsd.edu (Darin Johnson)
  4. Newsgroups: rec.games.mud.misc,rec.games.mud.lp
  5. Subject: Re: Client/server protocol for LP prompts
  6. Keywords: client server prompt protocol
  7. Message-ID: <44072@sdcc12.ucsd.edu>
  8. Date: 27 Jan 93 06:55:25 GMT
  9. References: <hawkeye.727906292@glia>
  10. Sender: news@sdcc12.ucsd.edu
  11. Followup-To: rec.games.mud.misc
  12. Organization: =CSE Dept., U.C. San Diego
  13. Lines: 40
  14. Nntp-Posting-Host: elvis.ucsd.edu
  15.  
  16. >The Solution:
  17. >The server can append the TELNET protocol sequence IAC GA (Go Ahead) to
  18. >lines not otherwise terminated (i.e., prompts).  A client can then
  19. >immediately determine how to interpret a block of text:
  20. ...
  21. >I don't see any problems in this new method.
  22.  
  23. Well...
  24.  
  25. a) All the output statements that do not have a carriage return
  26.    at the end will have to be examined to determine if they
  27.    are a prompt or not.  Unless your client is willing to accept
  28.    making an occasional mistake either way.
  29.  
  30. b) Is it important enough to make this change?  Why not just display
  31.    the partial text, then place the cursor after it?  Then if more
  32.    text comes in later, display that, move cursor, etc.  If the user
  33.    had typed text in the meantime, move the text to the new cursor
  34.    position.  (is that easy in tinyfugue?  I haven't looked at it)
  35.  
  36.    (my problem here is that I'm unsure why you really need to know
  37.    exactly if it's a prompt or not - it was a simple matter in my
  38.    emacs client)
  39.  
  40. c) It's just more characters that end up getting ignored by everyone.
  41.    (assuming it doesn't mess up things that aren't strictly telnet
  42.    complient - including clients *and* telnet implementations)
  43.    For example, MudOS added extra telnet options for character
  44.    mode, involving adding extra filters to ignore them (twice,
  45.    since the first time I mistakenly assumed no one would be
  46.    silly enough to every turn that mode on).  It's minor, but
  47.    it is annoying.
  48.  
  49.    (and ECHO isn't ignored by all clients.  Most clients can't just
  50.    simply ignore stuff it doesn't understand, instead they have to
  51.    filter them out so they don't cause terminals to mess up)
  52. -- 
  53. Darin Johnson
  54. djohnson@ucsd.edu
  55.   - Grad school - just say no.
  56.