www.ClassicTW.com
https://mail.black-squirrel.com/

Inconsistent line endings in TWGS menu
https://mail.black-squirrel.com/viewtopic.php?f=1&t=9155
Page 1 of 1

Author:  Mongoose [ Fri Aug 09, 2002 7:13 pm ]
Post subject: 

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!

Author:  Rave [ Fri Aug 09, 2002 7:26 pm ]
Post subject: 

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

Author:  Mongoose [ Fri Aug 09, 2002 8:43 pm ]
Post subject: 

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!

Author:  bdavey [ Fri Aug 09, 2002 9:07 pm ]
Post subject: 

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

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/