1. 36

  2. 12

    I remember when I was working on mtm, I was forever questing for the smallest commonly-distributed terminfo definition that was “useful”. That was the Sun color console terminfo definition (sun-color).

    (I wanted mtm to emulate an already-existing terminal so that you wouldn’t have to install a new terminfo and have it “just work”. I ended up going with screen.)

    Anyway, I used apt as a test case. When mtm was emulating the Sun console, apt would fail because the Sun console does not advertise the DECSTBM (Set Top and Bottom Margins) capability, which was needed.

    What’s funny is not only did it not support it, but during that testing, apt tickled a bug in mtm that turned out to be a bug in ncurses.