Skip to content

Testing with a Model 100 - various glitches #3

Open
@dawidi

Description

@dawidi

I've used your terminfo file when connecting a recently acquired Model 100 to a current (Arch) Linux box via a Null-modem cable and an RS232-USB adapter cable. (Just out of curiosity about vintage tech, not that I'd need it for anything.)

It works in principle, and certainly much better than with the default terminal type, but there are still glitches, at least some of which are presumably due to the terminfo still not being an exact match for the M100's terminal client:

  • showkey -a indicates the correct values for cursor key presses, but e.g. in bash (or readline in general) only cursor-up works, all other directions produce a beep. This seems like it would be the easiest to fix, but I have no idea why it doesn't work already.
  • Reverse text works, but intense/standout/bright text generated by various commands (like man, less or pacman) result in escape sequences being printed verbatim, i.e. "0;1m" or "0m" or "1;34m::0;1m" sprinkled in between the expected text output. Is that a program ignoring the terminfo, or a missing setting in the terminfo to clarify that those sequences are not to be used?

Am I doing anything wrong? If not, are you interested in fixing those two? Can I do anything to help?

And then, related but probably not within scope of this project:

  • Some fullscreen programs like Midnight Commander spray the terminal with a ton of control characters, lock up and leave the session in an unusable state; apparently mc uses a framework other than ncurses, maybe that one has its own hardcoded terminal types, that's probably not fixable with a terminfo
  • What about conversion between the M100's internal character set and an utf-8 capable host? I wrote a conversion table (as described in the libiconv docs, line 335+, especially for modified latin characters) but I have no idea how to continue from there, or if that is even the right approach.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions