Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ Running the server
➜ Can I force the server to use ascii/text ONLY
Can I force the server to use ascii/text ONLY
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Webmonkey
(2 posts) Bio
|
Date
| Mon 16 Apr 2018 03:04 PM (UTC) |
Message
| Hello all.
i want to tailor the server for packet radio connections.
forcing the server to run in monochrome or NO ansi color support would help.
(ansi codes mess with the ax.25)
(i'm actually losing the first character of every line on the client display)
is there a way to do this?
i realize most servers allow you to choose on the client side, i want to remove the choices altogether.
back in the day i ran a dialup bbs (TriBBS) and had 3 'screens' for everything, asc,ans,rip.
now i just want asc.
any help would be greatly appreciated.
'Monkey | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #1 on Mon 16 Apr 2018 09:15 PM (UTC) |
Message
| You could remove the question "do you want ANSI colour" and leave the player data as "no ansi" but there might conceivably be some ANSI codes hidden in help files etc.
A more brute-force approach would be (in addition to doing that) to strip any ANSI codes just before outputting. For example, in write_to_buffer in comm.c detect a sequence starting with ESC and ending with 'm' and then remove that. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Webmonkey
(2 posts) Bio
|
Date
| Reply #2 on Tue 17 Apr 2018 12:43 AM (UTC) |
Message
| thanks for the input,
i appreciate it.
everything 'runs' the way it's supposed to via a direct telnet connection.
it's just when i connect through my jnos box that i lose the first character of every line.
----
elcome to
MAUG
ave a good time
ress enter
ou see something exciting
----
etc,etc.
your suggestions will give me a direction to start in.
thanks!
'Monkey | Top |
|
Posted by
| Nick Gammon
Australia (23,158 posts) Bio
Forum Administrator |
Date
| Reply #3 on Tue 17 Apr 2018 09:29 AM (UTC) |
Message
| I suspect the problem may be something else, but certainly try that and see what happens. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
13,441 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top