View unanswered posts | View active topics It is currently Mon Sep 23, 2019 3:09 am



Reply to topic  [ 5 posts ] 
 Customized PuTTY for prettier TradeWarring 
Author Message
Sergeant
User avatar

Joined: Sun Mar 08, 2009 1:18 am
Posts: 8
Location: Wine Country, CA
Unread post Customized PuTTY for prettier TradeWarring
For those of you already using PuTTY, I have released a modified version (source) which adds a configuration option to return the cursor to the top left after a clear screen (Settings->Terminal->Clear screen homes cursor). TradeWars' ANSI files expect this behavior of DOS' ANSI.SYS which is technically in violation of the ANSI standard. I've attached a screenshot comparing the two versions landing on Terra.


If you don't already use PuTTY and would like to have a go, I've also created an installer package that includes PuTTY, Bitstream Vera Sans Mono (my favorite monospace font), and is pre-configured to connect to my TradeWars server, including all the appropriate appearance settings to make it look right. You can change the settings to log into whichever server you want, or use pageant.exe to give you easy access to multiple configurations.


Attachments:
File comment: Comparison pic
putty-compare.jpg
putty-compare.jpg [ 549.23 KiB | Viewed 3300 times ]
Tue Mar 17, 2009 2:56 pm
Profile
Gameop
User avatar

Joined: Thu Mar 08, 2001 3:00 am
Posts: 886
Location: USA
Unread post Re: Customized PuTTY for prettier TradeWarring
nice. i recall there was another annoyance with putty, but i can't remember exactly what it was... hmm. oh yeah i think i remember... something about ESC[0m doesn't reset the BRIGHT flag. TW assumes that ESC[0m will reset all flags, not just the color flags. or maybe it applied the BRIGHT flag to background colors too. i can't remember - its been a few years since i tried putty.

did you submit your new feature to the putty project so that future 'official' versions can have the option? then again, putty may be a dead project...

_________________
twgs : telnet://twgs.thereverend.org:5023
web : http://www.thereverend.org
games : http://www.thestardock.com/twgssearch/i ... verend.org
helper : http://svn.thereverend.org:8080/revhelper/


Tue Mar 17, 2009 4:19 pm
Profile
Sergeant
User avatar

Joined: Sun Mar 08, 2009 1:18 am
Posts: 8
Location: Wine Country, CA
Unread post Re: Customized PuTTY for prettier TradeWarring
the reverend wrote:
nice. i recall there was another annoyance with putty, but i can't remember exactly what it was... hmm. oh yeah i think i remember... something about ESC[0m doesn't reset the BRIGHT flag. TW assumes that ESC[0m will reset all flags, not just the color flags. or maybe it applied the BRIGHT flag to background colors too. i can't remember - its been a few years since i tried putty.


Oh yeah, I did notice that when the foreground is bold putty makes the background bold too. Didn't bug me nearly as much as the other problem so i guess it slipped my mind. It shouldn't be too hard to fix now that I know where to look.

Quote:
did you submit your new feature to the putty project so that future 'official' versions can have the option?


Sure did.



Edit: on second look, i think the problem with bold backgrounds was caused by the "Terminal/Enable blinking text" setting being turned off. It will switch between blinking or bold bg depending on that setting.


Tue Mar 17, 2009 4:47 pm
Profile
Gameop
User avatar

Joined: Thu Mar 08, 2001 3:00 am
Posts: 886
Location: USA
Unread post Re: Customized PuTTY for prettier TradeWarring
cool. so did you resolve the bright background issue with the 'enable blinking text' setting? at first blush this isn't very intuitive.

_________________
twgs : telnet://twgs.thereverend.org:5023
web : http://www.thereverend.org
games : http://www.thestardock.com/twgssearch/i ... verend.org
helper : http://svn.thereverend.org:8080/revhelper/


Wed Mar 18, 2009 7:49 am
Profile
Sergeant
User avatar

Joined: Sun Mar 08, 2009 1:18 am
Posts: 8
Location: Wine Country, CA
Unread post Re: Customized PuTTY for prettier TradeWarring
It's actually pretty conventional behavior. I remember the old AcidDraw used to give you the option of switching between blinking foreground or bold background, and I seem to remember some other terminal program working like that as well. I suppose the option itself could be worded a bit more intuitively, but I don't know if that really warrants another patch ;)


Wed Mar 18, 2009 6:07 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.