gevrik / andromud

Automatically exported from code.google.com/p/andromud
1 stars 1 forks source link

Does not interpret GA as newline #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. connect to achaea.com on port 23
2.
3.

What is the expected output? What do you see instead?
GA symbol should be interpreted as a newline. Instead, it's displayed as-is.

What version of the product are you using? On what operating system?
Android 1.5, latest AndroMUD

Original issue reported on code.google.com by vadi.lu...@gmail.com on 24 Aug 2010 at 8:45

GoogleCodeExporter commented 9 years ago
IAC GA shouldn't be a newline, it should be handled differently. Treating it as 
a newline would be a reasonable fallback option, but correct prompt handling 
would involve squirreling the prompt away and holding it at the bottom of the 
display even as more lines of text come in.

I've attached an image that demonstrates the default behaviour (simply 
stripping the TELNET codes, top half of the image), and fully correct behaviour 
(saving the prompt and attaching it to inputted text, bottom half of image). It 
is rather more complicated to code this way, but it is quite handy. But failing 
that, treating them as newlines would be a reasonable alternative.

Original comment by rosuav@gmail.com on 18 Dec 2010 at 11:37

Attachments:

GoogleCodeExporter commented 9 years ago
It gets complicated on different MUDs with different drivers. If you'd like, 
you can peek at Mudlets handling, which went through this stage and is adapted 
for several engines already: 
http://mudlet.git.sourceforge.net/git/gitweb.cgi?p=mudlet/mudlet;a=blob;f=src/ct
elnet.cpp;h=74ab0007ef65f5e1501b4912bf1250a5e39c141c;hb=HEAD

Original comment by vadi.lu...@gmail.com on 19 Dec 2010 at 1:46