Subject: "Coming NCR: telnetga command." Previous topic | Next topic
Printer-friendly copy Email this topic to a friend CF Website
Top General Discussions Gameplay Topic #60632
Show all folders

UmironFri 18-Sep-15 08:59 PM
Member since 29th May 2017
1499 posts
Click to send email to this author Click to send private message to this author Click to add this author to your buddy list
#60632, "Coming NCR: telnetga command."


          

As of NCR (or about 30 minutes after this post) there will be a new command available: telnetga.

If you don't know what this is you can probably ignore it, and the option will default to off.

Depending on your MUD client and/or terminal, it may resolve some issues with wonky prompts and line breaks.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

-flsoMon 21-Sep-15 06:35 PM
Member since 02nd Oct 2007
296 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#60692, "You should implement GA or IAC EOR regardless of other ..."
In response to Reply #0


          

Since clients that are interested in doing perfect line-by-line parsing
need to have an indicator from the server to delimit prompts.

Trying to match prompts with regular expressions on the client is not ideal
as in order to do it right (different parts of the prompt can come in different input batches, recv() doesn't guarantee on how you'll get the bytes besides ordering), one has to implement a character by character state machine which slows down processing, and no mud client bothers with that as far as I know.

Something else you could look into implementing is MSDP (http://tintin.sourceforge.net/msdp/) protocol which streams data from the server
to the client inside telnet subnegotiation data (thus invisible to clients who don't know how to process them).

People can implement their own custom clients on top.

Aardwolf has done this but also Godwars2 ().

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

    
UmironMon 21-Sep-15 06:42 PM
Member since 29th May 2017
1499 posts
Click to send email to this author Click to send private message to this author Click to add this author to your buddy list
#60693, "RE: You should implement GA or IAC EOR regardless of ot..."
In response to Reply #4


          

MSDP and MSSP are both on my "nice to have" list, but in addition to being pretty low priority in general, both look like a fair amount of work. Plus I'd have to brush up on my Telnet RFCs.

I won't say never, but it's not likely in the short-term.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

IsildurFri 18-Sep-15 11:13 PM
Member since 04th Mar 2003
5969 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#60636, "RE: Coming NCR: telnetga command."
In response to Reply #0


          

Maybe this will fix the issues I'm having with tintin++. Sweet.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

    
UmironFri 18-Sep-15 11:15 PM
Member since 29th May 2017
1499 posts
Click to send email to this author Click to send private message to this author Click to add this author to your buddy list
#60637, "RE: Coming NCR: telnetga command."
In response to Reply #1
Edited on Fri 18-Sep-15 11:16 PM

          

I have the same issue (TinTin++ on OSX) so we'll see. It really doesn't bother me much, but if I remember right it screws up regex highlights that use ^.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

        
IsildurSat 19-Sep-15 07:03 AM
Member since 04th Mar 2003
5969 posts
Click to send email to this author Click to send private message to this author Click to view this author's profile Click to add this author to your buddy list
#60647, "RE: Coming NCR: telnetga command."
In response to Reply #2


          

Doesn't bother me that much either, but it makes logs look crappy.

I think the logs come out okay if I use the actual "log" command, but cut/pasting them out of the terminal window keeps the bad formatting.

  

Alert | IP Printer Friendly copy | Reply | Reply with quote | Top

Top General Discussions Gameplay Topic #60632 Previous topic | Next topic