June 19, 2019, 11:17:43 pm

Author Topic: Things that need fixing in the Engine  (Read 14087 times)

0 Members and 1 Guest are viewing this topic.

Offline Vitoc

  • Administrator
  • Master
  • *****
  • Posts: 1611
  • Karma: +26/-13
  • Insanity Ensues
    • WebMUD
Re: Things that need fixing in the Engine
« Reply #90 on: February 09, 2006, 10:55:48 am »
Ugh... after a couple hours of frustrating googling last night I came up with nothing.  Doing searches on telnet and iac commands results in a sea of RFCs and obsolete standards ranging from the very first terminal to the very latest.  99% of it is useless to me and finding that one page that spells it out for me has eluded me thus far.  Whatever the answer is I know I shouldn't be manually adding line feeds if the length is too long, because that's what was causing mega to cut off the messages last week.  I think I'm going to progress without word wrap for now and put that issue on the backburner.


TGS v1.0 (coming soon)

Offline The Crazy Animal

  • Administrator
  • Master
  • *****
  • Posts: 2448
  • Karma: +18/-20
Re: Things that need fixing in the Engine
« Reply #91 on: February 09, 2006, 12:45:57 pm »
Can you tell me what terminal type megamud uses for its emulation?

TCA

Offline proteus

  • Developer
  • Adept
  • ****
  • Posts: 110
  • Karma: +0/-0
  • Better than you.
Re: Things that need fixing in the Engine
« Reply #92 on: February 09, 2006, 03:54:18 pm »
For whatever it's worth, I think the word wrap had an effect on the descriptions of things. Of course, I don't remember ever looking at anything before this issue came up, so I can't be sure. But descriptions look bad now.

DeathCow

  • Guest
Re: Things that need fixing in the Engine
« Reply #93 on: February 09, 2006, 04:44:10 pm »
I talked to locke and he said

Locke: MajorMUD just spits out text, no fancy word wrapping at all. It lets the client handle that. It only sends a linefeed when the line is actually finished.

I tend to think he knows his stuff.

Offline Vitoc

  • Administrator
  • Master
  • *****
  • Posts: 1611
  • Karma: +26/-13
  • Insanity Ensues
    • WebMUD
Re: Things that need fixing in the Engine
« Reply #94 on: February 09, 2006, 07:36:22 pm »
I talked to locke and he said

Locke: MajorMUD just spits out text, no fancy word wrapping at all. It lets the client handle that. It only sends a linefeed when the line is actually finished.

I tend to think he knows his stuff.
Then there must be something the server is telling the client to have it handle word wrapping, because mega in our realm isn't doing it.


TGS v1.0 (coming soon)

Offline The Crazy Animal

  • Administrator
  • Master
  • *****
  • Posts: 2448
  • Karma: +18/-20
Re: Things that need fixing in the Engine
« Reply #95 on: February 09, 2006, 08:38:35 pm »
Have you tried ansi codes to set the video mode to 80x25 color text.

<Esc>[=3h
<Esc>[=3l

From what I've read it might be sent in the handshake like
IAC,DO,ESC[=3h
IAC,DO,ESC[=3l

but i'm not the authority on this soo.

Assuming that megamud is emulating VT100 word wrap might need to be set with the set mode function:

Auto wrap to new line is:
ESC[?7h

Auto wrap off is:
ESC[?7l

might be worth a try, I'd find better info If I knew exactly what term emulation megacrud was doing..

Edit:

I just spotted this one too:

Set terminal to 80 column mode:
ESC[?3h

TCA
« Last Edit: February 09, 2006, 11:18:02 pm by The Crazy Animal »