Modern Apple II Terminfo entries
Go to file
Kelvin Sherlock c7b95dda17 eA / enacs enables the alternate character set but should not enter it.
nothing needs to be done to enable for gs/os and gno consoles.
2021-03-27 21:05:40 -04:00
appleIIgs.ti more terminals. 2016-09-27 09:52:47 -04:00
appleIII.ti apple III terminal. 2021-03-27 20:58:15 -04:00
bashrc apple III terminal. 2021-03-27 20:58:15 -04:00
gno-console.ti eA / enacs enables the alternate character set but should not enter it. 2021-03-27 21:05:40 -04:00
gsos-console.ti eA / enacs enables the alternate character set but should not enter it. 2021-03-27 21:05:40 -04:00
Makefile apple III terminal. 2021-03-27 20:58:15 -04:00
proterm-special.ti misc tweaks. 2021-03-27 20:58:33 -04:00
README.md add README 2017-02-19 09:51:12 -05:00

Apple II Terminal Info

These are terminfo entries for Apple II terminals:

  • GS/OS Console
  • GNO Console
  • Apple II Extended 80 column card
  • ProTerm Special Emulation

Plus a .bashrc file to make them more usable in Unix.

Why?

Well, the main reason is that I wrote a terminal emulator that emulates the previously mentioned terminals. As such, I needed terminfo entries to be useful.

These are largely based on the GNO/ME /etc/termcap file but some errors have been fixed.

Installation

git clone https://github.com/ksherlock/a2-terminfo.git
cd a2-terminfo
make install

(Will install to your ~/.terminfo directory)

Errors

When in doubt, run tput reset

A lot of software ignores your terminfo and uses hard-coded vt100/ansi escape sequences. tmux or screen can be used as a vt100 emulator.
Or use better software.

Most control codes have a meaning for Apple II terminals. Therfore displaying control codes (such as catting binary files) is likely to have unanticipated consequences. Refer to previous instructions on tput reset. One particular example that deserves mentioning: ESC activates mouse-text in the GNO console. ESC is also THE vt100 control code.

less (and more, when it's less) strips non-vt100 control codes. Use the -r (raw) flag if you want them to pass through.