View unanswered posts | View active topics It is currently Sun May 10, 2026 11:37 am



Reply to topic  [ 4 posts ] 
 Inconsistent line endings in TWGS menu 
Author Message
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post 
I discovered that the TWGS menu (where you select a game) inconsistently uses strange line endings. Some of them are a proper CR+LF, but others consist bizarrely of LF+CR.

Suddenly you're Busted!


Fri Aug 09, 2002 7:13 pm
Profile WWW
Ambassador

Joined: Thu Feb 07, 2002 3:00 am
Posts: 537
Location: USA
Unread post 
quote:
I discovered that the TWGS menu (where you select a game) inconsistently uses strange line endings. Some of them are a proper CR+LF, but others consist bizarrely of LF+CR.

This is a carry over from the original days of Trade Wars. They could be changed for consistency throughout the menus/prompts, but in some cases that could break older helpers. EIS does it's best to maintain a backward compatibility with older helper programs.

Lisa M. Cutler
aka Rave
EIS Product Support


Fri Aug 09, 2002 7:26 pm
Profile ICQ YIM WWW
Commander
User avatar

Joined: Mon Oct 29, 2001 3:00 am
Posts: 1096
Location: Tucson, AZ
Unread post 
quote:
EIS does it's best to maintain a backward compatibility with older helper programs.


Well, recent changes in the game have already broken some helpers; e.g., length of planet number display, prompting to clear avoids when there's no path for a probe.

I wonder how many helpers would be broken by fixing this. I bet most of them already do what I'm going to do: ignore it!

Suddenly you're Busted!


Fri Aug 09, 2002 8:43 pm
Profile WWW
Warrant Officer

Joined: Fri Mar 16, 2001 3:00 am
Posts: 85
Unread post 
Any helper/script code really needs to be able to handle a wide variety of EOL sequences anyhow. ANSI on/off can make a difference, as can a BBS front end, or proxy put inbetween. You really need to be able to match [\r\n\0(ANSI sequence)]* if you want your code to always work.

Dr. Bad



Edited by - bdavey on August 09 2002 7:08:50 PM


Fri Aug 09, 2002 9:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by wSTSoftware.