home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky rec.games.mud.misc:2095 rec.games.mud.lp:5030
- 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
- From: djohnson@cs.ucsd.edu (Darin Johnson)
- Newsgroups: rec.games.mud.misc,rec.games.mud.lp
- Subject: Re: Client/server protocol for LP prompts
- Keywords: client server prompt protocol
- Message-ID: <44072@sdcc12.ucsd.edu>
- Date: 27 Jan 93 06:55:25 GMT
- References: <hawkeye.727906292@glia>
- Sender: news@sdcc12.ucsd.edu
- Followup-To: rec.games.mud.misc
- Organization: =CSE Dept., U.C. San Diego
- Lines: 40
- Nntp-Posting-Host: elvis.ucsd.edu
-
- >The Solution:
- >The server can append the TELNET protocol sequence IAC GA (Go Ahead) to
- >lines not otherwise terminated (i.e., prompts). A client can then
- >immediately determine how to interpret a block of text:
- ...
- >I don't see any problems in this new method.
-
- Well...
-
- a) All the output statements that do not have a carriage return
- at the end will have to be examined to determine if they
- are a prompt or not. Unless your client is willing to accept
- making an occasional mistake either way.
-
- b) Is it important enough to make this change? Why not just display
- the partial text, then place the cursor after it? Then if more
- text comes in later, display that, move cursor, etc. If the user
- had typed text in the meantime, move the text to the new cursor
- position. (is that easy in tinyfugue? I haven't looked at it)
-
- (my problem here is that I'm unsure why you really need to know
- exactly if it's a prompt or not - it was a simple matter in my
- emacs client)
-
- c) It's just more characters that end up getting ignored by everyone.
- (assuming it doesn't mess up things that aren't strictly telnet
- complient - including clients *and* telnet implementations)
- For example, MudOS added extra telnet options for character
- mode, involving adding extra filters to ignore them (twice,
- since the first time I mistakenly assumed no one would be
- silly enough to every turn that mode on). It's minor, but
- it is annoying.
-
- (and ECHO isn't ignored by all clients. Most clients can't just
- simply ignore stuff it doesn't understand, instead they have to
- filter them out so they don't cause terminals to mess up)
- --
- Darin Johnson
- djohnson@ucsd.edu
- - Grad school - just say no.
-