Benches macOS

9

Does Mac OS X have a true text mode?

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello all!

I have been thinking of developing a cross-platform text-mode game, which needs a more-or-less square character cell. I'd like to know whether it is possible to access the hardware text mode form under Mac OS X.

I wouldn't like to rely on the Terminal program for which I'll have to supply my own font to make it look right.

Anton

9 replies

Sign in or join Beachball Help to reply.

  1. 0

    Tom Gewecke

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    There is a forum for developer stuff here:

    http://discussions.apple.com/forum.jspa?forumID=727

  2. 0

    Mark Jalbert

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    In System Preferences > Accounts > Login Options disable Automatic Login and click the Name and Password radio button under the Display login window as: heading. Logout then in the Name text box in the login window type: >console. Enter your user name at the prompt then your password at the next prompt.

    Message was edited by: Mark Jalbert

  3. 0

    Ant_222

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Thank you, Mark.

    Is there a way to control the row/column count in that console?

    Anton

  4. 0

    Mark Jalbert

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I'm going to assume that your shell is Bash, you can set the $COLUMNS variable. Start with the following command->


    shopt -s checkwinsize

    This should set the maximum window size. Next->


    echo $COLUMNS

    Will give you the window width. Then change the value of $COLUMNS to your liking.

  5. 0

    Ant_222

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    The first command will tell BASH to update the COLUMNS and LINES variables. How can the subsequent setting of these variables affect the actual text mode?

    Anton

  6. 0

    Ant_222

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Well, it looks as if I need a decent terminal emulator with support for custom raster fonts. Then I'll get some 8x8 or 12x12 font and use it.

    Do you know of such an emulator?

  7. 0

    Tom Gewecke

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Do you know of such an emulator?

    You might want to search/ask in the Unix forum too

    http://discussions.apple.com/forum.jspa?forumID=735

  8. 0

    Barney-15E

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Terminal makes a pretty good terminal emulator. Of course, it is a terminal, so the emulation is pretty good.

  9. 0

    Ant_222

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Barney, you know what I mean )