User Tools

Site Tools


terminal_setup_osx

This is an old revision of the document!


Configuring OSX Terminal.App

The following steps can be used to make using Mystic a joy with OSX's Terminal.App so that a simple login icon can be created to log right into your BBS, or type ./mystic on the command prompt will give you a nice looking and working BBS login. In order for this to work nicely with Terminal.App you must start Mystic in UTF8 mode.

This guide was written using OSX Lion, so some option names may change in future versions.

Configuration Steps

  • Open the Terminal.app and use the top window bar to select “Terminal > Preferences”
  • Set the style to “Pro” to give a decent starting point, with a black background, etc.
  • Now we need to fix the keys so that home/end/pageup/pagedown works in the BBS instead of moving the stupid terminal scrollback! Do this by clicking on the keyboard tab and make the following changes to the existing key definitions for the following keys:
     Key: End
     Modifier: None
     Action: Send String to Shell
     Text: (ESCAPE) [ K (press those keys and it should read \033[K )
     
     Now do the same for HOME but set it to (ESCAPE)[H  (it should read \033[H)

     Now do the same for PAGEDOWN but set it to (ESCAPE)[6~ (it should read \033[6~)
     
     Now do the same for PAGEUP but set it to (ESCAPE)[5~ (it should read \033[5~)
  • Under the Text tab, set the following values to fix up the font:
     Font: Andale Mono 24pt
     Character Spacing: .998
     Line Spacing: .928
     
     [X] Antialias text
     [X] Use bold fonts
     [X] Allow blinking text
     [X] Display ANSI colors
     [X] Use bright colors for bold
     
     On the "Text" and "Bold" boxes on the right, click and increase the RGB sliders
     to 255 for all 3 values (red, green, and blue).
  • Under the Windows tab set Window Size to 80×25 lines, and then click the background, where you can set that to black and the opacity to 100% (or if you like a little transparency 85 or 90 works well too)

Accurate DOS ANSI Colors

Each of the ANSI colors can be configured with RGB values. By default they are not quite 100% accurate to the DOS versions of the same colors, but more the most part it does not look bad. However, if you want to attempt to get the most accurate color reproduction as possible, the following values can be used to match the actual DOS colors:

Color Name Red Green Blue
Black 000 000 000
Blue 000 000 170
Green 000 170 000
Cyan 000 170 170
Red 170 000 000
Magenta 170 00 170
Yellow 170 085 000
White 170 170 170
Bright Black 085 085 085
Bright Blue 085 085 255
Bright Green 085 255 085
Bright Cyan 085 255 255
Bright Red 255 085 085
Bright Magenta 255 085 255
Bright Yellow 255 255 085
Bright White 255 255 255

Starting Mystic BBS

terminal_setup_osx.1458819415.txt.gz · Last modified: 2016/03/24 06:36 by g00r00

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki