News

SMF - Just Installed!

Ampera's collection of terminal goodies

Ampera · 4201

Ampera

  • Administrator
  • Newbie
  • *****
    • Posts: 12
    • View Profile
on: September 22, 2019, 09:03:22 pm
Introduction/explanation:

Sorry but you are not allowed to view spoiler contents.


NOTE: What I say might be wrong, don't take this as a primary source, information is subject to be corrected and changed. This is my current understanding.



To start off with, the tty is a serial interface. In particular this means that you can only write and read data sequentially. You cannot get big blocks of data (as far as I know, there might be escapes for this).

There is a big list of escape characters available on the old XFree86 website here: https://www.xfree86.org/current/ctlseqs.html
This contains a large bulk of things needed to tell the terminal to do various things. This is for /common/ terminals, not all terminals. In theory anything could be at the other end of a tty interface because it literally is just a serial interface identifying as a terminal with a baud rate and everything. Since most people are targeting VT compatible terminals like xterm (and derivatives), this list is pretty comprehensive.

There will be more.



 

SimplePortal 2.3.7 © 2008-2020, SimplePortal