svn commit: r333995 - head/sys/teken

Warner Losh imp at bsdimp.com
Tue May 22 13:45:13 UTC 2018


On Tue, May 22, 2018 at 3:25 AM, Ed Schouten <ed at nuxi.nl> wrote:

> Hi Bruce,
>
> 2018-05-22 3:18 GMT+02:00 Bruce Evans <brde at optusnet.com.au>:
> > DECSCUSR is a verbose yet cryptic abbreviation which is not even expanded
> > its name.  It is the only abbreviation longer than 7 characters.  This
> > messes up the souce formatting.
>
> Yeah, it's a bit silly, but that's simply how it's called:
>
> https://vt100.net/docs/vt510-rm/DECSCUSR.html
>
> I think the state machine generator doesn't mind if we added an extra
> tab between all other entries to get it to line up again. Maybe that
> does push us over 80 columns, though...


Yea, back in the day, ANSI had official mnemonics for the escape sequences.
And DEC's extensions to ANSI sequences had official mnemonics as well, but
all started with DEC so you knew about them. These mnemonics were akin to
the assembler at the time, where one had to keep track of the differences
between HRLI and HRROS in assembler, SCUSR isn't so crazy. These days, it's
a bit brief.

Warner

[*] These are MACRO-10 half word instructions that I've forgotten all
meaning of other than they were half word instructions that did weird
things depending on which letters... Half [LR src] [LR dst] <ops letters>.


More information about the svn-src-head mailing list