Slashdot Mirror


Accurate ANSI Emulation in Mac OS X?

bedouin writes "I occasionally telnet to some BBSs that are very rich in ANSI graphics. While I can usually navigate fine through message areas and file boards, playing classic door games like Food Fight is almost unbearable. For about a year I've been searching for a Mac OS X terminal emulator that can accurately draw ANSI graphics just as they would appear on DOS systems with ansi.sys, but haven't found anything yet. Any suggestions? A native (and free or shareware) Mac OS X app would be prefered, but I'm willing to use an X11 or maybe even classic alternative as well. So far I've experimented with iTerm, GLterm, and aterm with unimpressive results."

39 of 105 comments (clear)

  1. ANSI BBSes? by Marxist+Hacker+42 · · Score: 4, Informative

    Boy, that takes me WAY back. I seem to remember a program called MACTerm that did a semi-ok job at ANSI graphics, other than it being all in black & white anyway (this was before color macs). I doubt somehow that you'd find anything that would deal with color....unless you programmed it yourself.

    --
    SJW: a person who perceives an injustice, and while correcting it, commits a greater injustice.
  2. luit by Anonymous Coward · · Score: 2, Informative

    If you have an appropriate charset locale installed, 'luit' (comes with X11) can emulate any locale when run in a proper unicode terminal. it is a great tool for connecting to systems expecting odd character sets.

  3. iTerm (International Terminal Emulator) for OS X by aperezbios · · Score: 3, Interesting

    I have been told that http://iterm.sf.net might be able to do this with some special DOS fonts I know nothing about. Give it a whirl. The authors are really nice people, and might be willing to help if you have questions.

  4. By the side door by ptaff · · Score: 4, Interesting

    A great libre project that could be worth the try (even more so if you're into old games) is DOSBox which does a great job simulating a 1990-era DOS machine, using SDL. As it's emulating the CPU, you'll be able to summon it on your reverse-endian architecture. All you need now is a good telnet client.

    Overhead for a telnet session, you could object, but as an added bonus you'll be able to reminisce all those 2 and 4 and 16-color days.

    Feel ready to own one or many Tux Stickers?

    1. Re:By the side door by TomorrowPlusX · · Score: 2, Informative

      DOSBox is excellent. I've been playing Ultima Underworld ( from CDs I bought in the late 90's ) on it. I bought the game originally, in 92 maybe, on 3.5" diskettes; but when the CDRom with the sequel came out I picked it up for I think 10 dollars from the bargain basket at babbage's.

      On my 866 powerbook it runs about the same as the NEC powermate 386 I originally played it on 12 years ago, but it works :P

      --

      lorem ipsum, dolor sit amet
  5. Another challange :) by bedouin · · Score: 4, Funny

    Additionally, being able to transfer files with Zmodem would be great as well. Though I think this is pushing things too far.

    1. Re:Another challange :) by foo12 · · Score: 3, Informative

      ZTerm was ported to Mac OS X awhile ago. It's shareware, but it itches the scratch well enough.

  6. The answer is in your fonts... by kiddailey · · Score: 4, Informative


    I've been slowly writing my own terminal program just because of the exact reason you've mentioned.

    The trick in my case was simply to find a Mac font that contained the IBM Extended ASCII characters in the same sequence. There are two such fonts floating around that will do the trick -- IBMAC and ENCLAVE. IBMac works really well in my experience.

    Usually, t's just a matter of putting them in your Fonts folder and telling your term program to use them for the display.

    I've slapped them up on my .Mac account for you.

    http://homepage.mac.com/kiddailey/files/misc/ibm -f onts.sit

    Note that they're bitmap fonts, so forget trying to view them in Fontbook.

    If you'd like to give my extremly rough, full-ansi supporting work-in-progress term program a try I'd be more than happy to slap it up somewhere for you :)

    1. Re:The answer is in your fonts... by complete+loony · · Score: 4, Informative

      I've done a quick google and found this one too. It's even got a ttf.

      --
      09F91102 no, 455FE104 nope, F190A1E8 uh-uh, 7A5F8A09 that's not it, C87294CE no. Ah! 452F6E403CDF10714E41DFAA257D313F.
  7. Crap - link + additional info by kiddailey · · Score: 4, Informative

    Argh. Someday I'll learn - preview first, then submit.

    http://homepage.mac.com/kiddailey/files/misc/ibm-f onts.sit

    The only other point I forgot to mention is that your term program will need at least ANSI color support (that you may have to tweak) for this to work right.

  8. Quick Search by MBCook · · Score: 4, Informative
    I don't use OS X (although I intend to soon when I buy a new PC), so I can't offer much. A quick Google search didn't turn up much, here are the only two things I found. If you dig deeper or try harder, you might have more success. I don't know where Mac software likes to hide ;).

    • MacWise - Claims to do it, and there is a demo. But if you like it it's $95 which is NOT cheap.
    • From Mac OS X Hints - How to add ANSI color to Terminal.app (I like how programs end in ".app" :)). It is from '02 and mentions that the default shell on OS X is csh which (IIRC) means it's talking about 10.1 or 10.2 (since it was changed to bash in 10.3, right?).

    My last suggestion is PuTTY. I've always found it to be an excelent program in the Windows world, and they have source for a Unix version which should work on OS X (this is based on the the Unix underpinnings, not anything written anywhere I saw). Download page, look under "Unix source" or something like that.

    Hope one of those works, have fun.

    --
    Comment forecast: Bits of genius surrounded by a sea of mediocrity.
    1. Re:Quick Search by cipher+chort · · Score: 2, Informative

      You can find minicom in DarwinPorts. I wish they had ported tip/cu too, though. I'm not a big fan of minicom, but it can get the job done.

      --
      Someone is WRONG on the Internet!
    2. Re:Quick Search by Pope · · Score: 3, Funny
      I don't use OS X (although I intend to soon when I buy a new PC)

      Hey, good luck with that :)

      --
      It doesn't mean much now, it's built for the future.
    3. Re:Quick Search by TCM · · Score: 2, Informative

      Why is it modded funny? Check PearPC. I installed MacOS X 10.3 aka Panther in it just fine. Yes, on x86.

      --
      Of course it runs NetBSD. BTC: 1NT7QvbetmANwaMzhpVL6
    4. Re:Quick Search by SlamMan · · Score: 2, Funny

      Let us know when it finished booting.

      --
      Mod point free since 2001
  9. Re:iTerm (International Terminal Emulator) for OS by BrookHarty · · Score: 3, Informative

    You can use a dos font, it still wont give you ansi color. I had this same problem on iTerm, and the default terminal.

    I finally used fink, and use kde konsole. I can't believe OSX wouldnt support true ansi color with its default terminal.

    Loaded BitchX and compare, you can see the difference. Fonts are easy, decent emulation is the bitch. (pun intended)

  10. GLTerm by mjolnir_ · · Score: 4, Informative

    Check this out: http://www.pollet.net/GLterm/ from the site: GLterm is a replacement for the Terminal application which ships with MacOS X. It's made to be faster, and to support more common terminal features. It supports full ANSI colors, all vt102 protocol, all DEC function keys, and a selection of useful xterm sequences. The Big Thing is that GLterm uses X11 .bdf fonts and renders them using..OpenGL. So it's very fast... as long as you have a working 3D accelerator. It should work as intended on B&W G3 and up for desktops and on White iBook and up for laptops: ie a machine whose 3D accelerator is handled properly in OSX. To this date (April 2002) Rage II, II+, Pro are not accelerated.

    1. Re:GLTerm by buserror · · Score: 5, Informative

      Well, I'm GLterm author, and AFAIK GLterm is perfectly ANSI, which is different to being a DOS "ANSI".
      I've had plenty of users using iirc ANSI ascii "art", MUD players using GLterm with their ANSI art as well. Gee I've been sent megabytes of sometime pretty borderline "films" to ensure they work.

      My own suggestion is to get a lame DOS box, old laptop or something. I'll probably be cheaper than a GLterm registration :D

  11. Re:iTerm (International Terminal Emulator) for OS by shufler · · Score: 5, Informative

    PuTTY is pretty solid, and I believe it handles ANSI.

    It's primarily Win32 software, but there is a UNIX source. Might work in OS X, though there is an OS X port on the way (according to the FAQ)

  12. The Mac Orchard by drewdsaur · · Score: 4, Informative

    Try the Mac Orchard for all things Mac Internet: http://www.macorchard.com/ Specifically, the terminal apps page (DataComet might work for you), or the Commercial apps page if you want to spend more money... Drew

  13. Re:I would ++love++ to see bash do this... by andfarm · · Score: 2
    bash is a shell, not a terminal. And some terminals support more than 8 colors - xterm and rxvt support 64 colors and a modifiable palette, but nobody uses those features, mostly due to the lack of backward compatibility.

    8 colors (plus bold, plus underline, plus standout, plus....) should be enough for anybody.

    --

    TANSTAAFI: There Ain't No Such Thing As A Free iPod.

  14. What about JAVA solutions? by fruitbane · · Score: 4, Insightful

    Well, since OS X has such great Java support, either natively or via a web browser (also native, but different interface, y'know?), are there any JAVA ANSI terminal emulators/telnet interfaces that could either be opened directly or as an applet in Safari or whatnot?

  15. umm, where ya headed? by Drunken_Jackass · · Score: 3, Funny

    You wouldn't mind posting some BBS information for the ACSII-porn goldmines you've been holding out on.. would ya?

    --
    There are 01 types of people in this world. Those that understand binary, and me.
  16. ZTerm by 0racle · · Score: 4, Informative

    Zterm http://homepage.mac.com/dalverson/zterm/ personally I still use v0.9 on my SE as a serial console, but it will handle Zmodem and PC ANSI BBS, and the latest versions are of course OS X native.

    --
    "I use a Mac because I'm just better than you are."
    1. Re:ZTerm by capmilk · · Score: 4, Funny
      The only problem is ZTerm doesn't support ssh or telnet.

      Why not wire your G5 to a machine that does? If you're serious about that ANSI thing, a missing serial port won't stop you, will it? ;-)

    2. Re:ZTerm by IvanXQZ · · Score: 2, Informative

      Back in the OS 6/7/8/9 days, it was possible to make ZTerm (or most any serial app) work with Telnet by installing a telnet tool for the Communications Toolbox. This registered with the OS as a serial port, and if a program wanted to talk to it, it would make a telnet connection to wherever you had configured it to. (There were several of these; a popular free one is called "TGE TCP Tool" and it can be easily found. Info-Mac is also a good place to look.)

      Essentially, all serial communications in the OS was abstracted, which was hugely advanced over the hard-mapping to COM ports in the DOS/Windows world -- this way, a serial app could connect by any means to anything, as long as there was a Comm Toolbox tool to do it. There were a couple of terminal apps -- Mark/Space had one and Aladdin also released SitCOMM -- which included a bunch of these tools for a variety of connection and download possibilities (YMODEM, anyone?).

      Anyway, OS X has the same idea, though it's no longer called the Communications Toolbox. There are an arbitrary number of serial ports, and you can choose which one you want to talk to by holding down Shift as ZTerm launches or by looking in its "Modem Preferences." If you've ever set up a Bluetooth dialup connection, for example, you'll see multiple ports. Unfortunately, I doubt anyone has created a port extension which creates a telnet connection, as had been done for OS 9.

      I was hoping, when I started typing this, that it would be possible to run ZTerm 1.0.1 in Classic and have it recognize and use a classic Telnet tool, but I checked it out and no dice. Nothing shows up in its port list. Oh well.

  17. Re:iTerm (International Terminal Emulator) for OS by Twirlip+of+the+Mists · · Score: 4, Funny

    I can't believe OSX wouldnt support true ansi color with its default terminal.

    I can't believe my G5 didn't come with a punch-card reader or a buggy-whip holder, either.

    --

    I write in my journal
  18. Tried VersaTerm Pro? by raga · · Score: 3, Informative
    Haven't used it in almost 15 years, but back when I did, VersaTerm Pro used to handle evrything I threw at it (mostly Tektronix emulation for wild SASGraph plots, but I also remember doing tn3270 with some tweaking). It might work for you.

    cheers- raga

  19. Have you tried setting the TERM environment var? by beagle · · Score: 4, Informative

    Try setting the "TERM" environment variable to "ansi80x25" or something like that, to see if that helps. You probably don't need a new application - you probably just need to set different terminal emulation in your current app.

  20. Re:iTerm (International Terminal Emulator) for OS by Twirlip+of+the+Mists · · Score: 4, Funny

    I expect any unix based OS to support a term mapping thats used on a daily basis.

    You ended your sentence prematurely. You were about to tell us by whom it's used on a daily basis. Then somebody else was going to point out that the group you cited was insignificantly small, and we all could have had a good laugh.

    See what you spoiled?

    You act likes its a dead emulation

    Yes. That's exactly what I did. Glad you got it.

    Load BitchX or irssi

    I had to google those to even find out what they are. Turns out they're pitifully obsolete and user-hostile chat programs. Anybody who wants to use one of them should use Snak instead. Problem solved.

    (Actually, anybody who wants to use one of them should take a long, hard look into his soul and ask himself why he wants to use this "IRC" thing at all. But that's a whole 'nother discussion.)

    --

    I write in my journal
  21. Re:I would ++love++ to see bash do this... by anothy · · Score: 2, Funny

    i'd love to see bash do it, too.

    it would make convincing folks that it's a bloated, hideous, twisted vision of a shell that much easier. i think we should compile in a full text editor, too. oh, wait, that's already there. twice! we'll have to just put screen(1) in, too!

    yeah, karma to burn. ;-)

    --

    i speak for myself and those who like what i say.
  22. Ahhh.... Fellow BBSer by nka1993 · · Score: 5, Informative

    Just when I thought I was the only one who checked the boards, I find out there are two. j/k.

    Anyhow, I've encountered the exact same problem, and our friend who posted the fonts on his .Mac site looks like a good bet.
    http://homepage.mac.com/kiddailey/files/misc/ibm-f onts.sit

    There are a couple of other things I'd like to bring up. First, I noticed that the backspace doesn't work automatically under the terminal when connecting to telnet sessions. There is a check box in the preferences to change that. Secondly, I write messages in some of the games and apparently the terminal puts in some bogus characters here and there. This may be related to the fonts yet again. However, I thought it was worth mentioning.
    For those of you who scoff at playing some door games on the BBS, I suggest you try Usurper. It is a lot of fun. Here is a link to a page that talks about the game in detail, and has some links to where you can telnet to, and play it.
    http://www.geocities.com/TimesSquare/Castle/7177/u surper.html

    P.S. Some BBS installs have a web front end leveraging Java, which work quite well.

  23. Try This One in Classic by camperslo · · Score: 2, Informative

    I've run Black Night 1.07 under OS 9.1, but have not tested it in Classic. I believe it was last updated in 1997. I used it to telnet into a BBS with color ANSI graphics. It supports Zmodem and is extendable with Communications Toolbox plugins. I couldn't find a site for the author, but the software is still out there http://www.macosarchives.com/terminal.html

  24. Re:iTerm (International Terminal Emulator) for OS by Twirlip+of+the+Mists · · Score: 2, Insightful

    The only feature Snak brings to the table is that it has a GUI.

    Um. It seems to me that what Snak brings to the table is that it works on your Mac.

    --

    I write in my journal
  25. dataComet by brianmed · · Score: 3, Informative
    dataComet might work http://www.databeast.com/index.html
    • Available for Mac OS X and classic Mac OS.
    • VT100, VT220, VT320 emulation for Linux, UNIX & VMS systems.
    • PC-ANSI + SCO-ANSI emulation with customized PC-ANSI fonts.
  26. Re:iTerm (International Terminal Emulator) for OS by valkraider · · Score: 2, Funny

    Tolerance is an important thing in life, my friend. Learn it, or you'll have some serious problems.

    Isn't this like driving 75 in a school zone to catch someone and yell at them for speeding...

    Tolerance does not include calling people "ignorant fucktards" and your comment probably just reinforced the whole reason why the first poster believes all people who use IRC and ANSI BBSs to be freaks in the first place.

    But my G5 *did* come with a buggy whip holder, they threw it in for free because the damn thing was backordered for 8 months... ;)

  27. Memory lane... Good old MacTerminal... by dpbsmith · · Score: 2, Informative

    Old memories only, I'm afraid.

    I looked into this very carefully back circa 1985 to 1989, because I was in the computer unit of a research institution that was heavily into Digital gear, had databases and so forth that exploited Digital terminals, and had standardized on Macs for personal computers.

    At the time I found three "winners."

    --Apple's own MacTerminal had the most complete, accurate, and lovingly faithful VT100 emulation of anything I ever tested. It worked with everything, and in particular supported double high/double wide characters, everything about keypads. It was by far the best VT100 emulator of any kind, on any platform, I ever evaluated. No graphics, though (no "sixels").

    --White Pine Software's Mac240 was a very faithful VT240 emulator and was quite good for graphics.

    --Versaterm was not a flawless VT100 substitute, but it was very good at everything it did, and it did a lot.

    Many programs that claimed VT100 emulation were quite poor at it, particular issues involving commands that affected the VT100's internal state.

    The quick test is to try double high/double wide characters. An emulator that doesn't do them is not aspiring to be a high-fidelity DEC emulator. If an emulator does do them, it's a sign that the developers were really trying and probably knew their stuff.

    Much as I'd love to love them, Red Ryder/White Knight were lousy at VT100 emulation. If that means anything to anyone.

  28. THE CORRECT ANSWER by Anonymous Coward · · Score: 2, Informative

    If you want quick and painless ANSI terminal emulation, looking for a modern app that supports it is the wrong way to go about it. I've tried all the modern terms and they all do a worse job than this method.

    • Download an ANSI font from here
    • Place sabvga.pcf in /usr/X11R6/lib/X11/fonts/misc
    • cd to that dir and run "sudo mkfontdir"
    • Fire up X11 in your Utilities folder
    • Open an Xterm and run "xtern -fn sabvga"
    Voila! You now have perfect ANSI terminal emulation because it is exactly the same program as people have been using for ANSI for decades!
  29. Informative? by lokedhs · · Score: 2, Informative
    Who modded this informative? WHoever did obviously doesn't know much about UNIX.

    The TERM environment variable is used to tell the applications which emulation your terminal is using so they can send the correct escapte sequences. Changing it will make the apps send different codes which will mess up program you start.