aboutsummaryrefslogtreecommitdiff
path: root/sys/teken/sequences
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Implement ECMA-48 "REP", some Linuxen have started emitting them recently.Poul-Henning Kamp2018-10-211-0/+3
| | | | | | | Approved by: ed Notes: svn path=/head/; revision=339529
* teken: Fix `sequences` header which was crossing the 80-col boundaryJean-Sébastien Pédron2018-05-291-3/+3
| | | | | | | | | | Also, the commented line's columns for `DECID` were not re-aligned in r334302. Reported by: bde Notes: svn path=/head/; revision=334316
* teken: Sort DECSCUSR alphabeticallyJean-Sébastien Pédron2018-05-281-75/+75
| | | | | | | | | While here, align columns again. Reported by: bde Notes: svn path=/head/; revision=334302
* teken: Rename the "Set Cursor Style" sequence to match vt100.net docsJean-Sébastien Pédron2018-05-211-1/+1
| | | | | | | | | | | This fixes inconsistencies with the rest of the `sequences` file. No functional changes. Requested by: ed Notes: svn path=/head/; revision=333995
* teken, vt(4): Parse the "Cursor style" escape sequenceJean-Sébastien Pédron2018-05-201-0/+1
| | | | | | | | | | | | | | | | The escape sequence (e.g. `^[[2 q`) was unsupported before and the letter `q` was displayed as a typed character. The sequence is used by Neovim for instance. Now, it is properly parsed. However, it is ignored, so it won't change the cursor style. Because the escape sequence contains a space character, the `gensequences` script had to be modified to support that. In the `sequences` file, a space is represented as the string `SP`. Notes: svn path=/head/; revision=333925
* Fix syscons escape sequence for setting the local cursor type. This sequenceBruce Evans2017-08-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | was aliased to a vt sequence, causing and fixing various bugs. For syscons, this restores support for arg 2 which sets blinking block too forcefully, and restores bugs for arg 0 and 1. Arg 2 is used for vs in the cons25 entry in termcap, but I've never noticed an application that uses this. The bugs involve replacing local settings by global ones and need better handling of defaults to fix. For vt, this requires moving the aliasing code from teken to vt where it belongs. This sequences is very important for cons25 compatibility in vt since it is used by the cons25 termcap entries for ve, vi and vs. vt can't properly support vs for either cons25 or xterm since it doesn't support blinking. For xterm, the termcap entry for vs asks for something different using 12;25h instead of 25h. Rename C25CURS for this to C25LCT and change its description to be closer to echoing the old comment about it. CURS is too generic. Fix missing syscons escape sequence for setting the global cursor shape (and type). Only support this in syscons since vt can't emulate anything in it. Notes: svn path=/head/; revision=322662
* Improve names for cons25 sequences.Bruce Evans2017-08-181-3/+3
| | | | | | | | | | | | | | | | | In a recent commit, I forgot to expand an X to an abbreviation of "BORDER". Fix this and some nearby bad names. The descriptions were copied from comments in scterm-sc.c, but some of these are bad. The border [color] was inconsistently described as a property of the "display", but I had changed this to "adapter" to match the descriptions for other color settings. All colors supported by the cons25 sequences are actually properties of the current vty and that should not be described. But the other colors are defaults. Change "adapter" to "default" for them and remove "adapter" for the border. Reduce the verbosity of the abbreviation from AD to D. Notes: svn path=/head/; revision=322656
* Fix missing syscons escape sequence for setting the border color.Bruce Evans2017-08-181-0/+1
| | | | Notes: svn path=/head/; revision=322651
* Partially implement the mysterious cons25 \e[x escape sequence.Ed Schouten2010-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 Notes: svn path=/head/; revision=214817
* Discard Device Control Strings and Operating System Commands.Ed Schouten2009-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 Notes: svn path=/head/; revision=197853
* Add a new escape sequence to switch between cons25 and xterm.Ed Schouten2009-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. Notes: svn path=/head/; revision=197481
* Move libteken out of the syscons directory.Ed Schouten2009-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. Notes: svn path=/head/; revision=196775