summaryrefslogtreecommitdiffstats
path: root/sys/teken/sequences
Commit message (Collapse)AuthorAgeFilesLines
* Partially implement the mysterious cons25 \e[x escape sequence.ed2010-11-051-0/+1
| | | | | | | | | | | | | | It seems the terminfo library on some systems (OS X, Linux) may emit the sequence \e[x to reset to default attributes. Apart from using the zero-command, this escape sequence allows many more operations, such as setting ANSI colors. I don't see this used anywhere, so this should be sufficient for now. This deficiency was spotted by the Debian GNU/kFreeBSD. They have their own patch, which is slightly flawed in my opinion. I don't know why they never reported this issue to us. MFC after: 1 week
* Discard Device Control Strings and Operating System Commands.ed2009-10-081-0/+1
| | | | | | | | | | | | | | These strings often contain things like: - Window titles. - Extended key map functionality. - Color palette switching. We could look at these features in the future (if people consider them to be important enough), but we'd better discard them now. This fixes some artifacts people reported when using TERM=xterm. Reported by: des@, Paul B. Mahol
* Add a new escape sequence to switch between cons25 and xterm.ed2009-09-251-0/+1
| | | | | | | | | | | | | Just run this to switch to xterm: printf '\e[=T' If you get bored and want to switch back to cons25, run this: printf '\e[=1T' I can now send an email to the lists, asking whether people are interested in trying the xterm emulator.
* Move libteken out of the syscons directory.ed2009-09-031-0/+110
I initially committed libteken to sys/dev/syscons/teken, but now that I'm working on a console driver myself, I noticed this was not a good decision. Move it to sys/teken to make it easier for other drivers to use a terminal emulator. Also list teken.c in sys/conf/files, instead of listing it in all the files.arch files separately.
OpenPOWER on IntegriCloud