That's assuming that user is so bothered by the colors that it puts them off to the point where they'd want to go to another MUD. Like Nick said, you'd be pretty hard pressed to actually find a client these days that doesn't have ANSI support.
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
There may be some clients out there that don't support ANSI, but not many.
To be honest, these days when people have megabytes of RAM and gigabytes of disk, I doubt many would use a telnet program that doesn't at least support ANSI colours in some way.
Quote:
One of the main problems is that there are people who don't want color. And you'd be forcing color on to them.
If this really worries them, I think they could simply define a colour palette of grays etc. and not see the colours.
Most clients should support ansi. Ansi is a part of the standard so, if you are writting a client, you should include ansi. Hell, even telnet is ansi enabled. Plus forcing the color should have no effect on non-ansi clients and no effect on performance. I guess the point i am trying to make is that your client should have color and your users should use color, and plus they are given the option to turn it off anyway.
There are tons of manuals for vi. Just search on google.
As for why you have ~s, that's probably because the twiddle is the line-end marker. Why your file only has those, is another problem, that most likely has nothing to do with vi.
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
Actually, there are versoins of vi available for download that are tweaked to run in windows. However, for those that need a good low end (read free) text editor for windows that won't completely muck up *nix formatting, I'd recommend metapad from www.liquidninja.com
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Geez people... vi is a standard text editor that comes with most implementations of Unix. Cygwin is not some magic, random program, but is instead an "implementation" of Unix on Windows that creates a sort of virtual Unix environment for programs to run in, and also includes most Unix libraries. It's a sort of emulator.
You guys should do more research on what it is you're doing if you want to understand what's actually going on. :)
In other words, you don't just go "get" vi. You need a Unix environment first, and most come with vi anyways. With Cygwin, you need to remember to install the vi editor.
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
I manged to get [1;32m to display color, just change the number before the m to one of the ones nick said and it should work a treat it works on my greet msg (the one that displays as soon as u connect to a mud) Hope that helps...
Rash
P.S: I think VI is apart of Cygwin and i know its on the Wolfpaw Hostiing Shell's dont know about anything else sorry
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.