aboutsummaryrefslogtreecommitdiff
path: root/tty-term.c
Commit message (Collapse)AuthorAge
...
| * Remove the -d flag to tmux and just use op/AX to detect default colours.Nicholas Marriott2009-10-25
| | | | | | | | | | | | | | | | | | | | | | | | Irritatingly, although op can be used to tell if a terminal supports default colours, it can't be used to set them because in some terminfo descriptions it resets attributes as a side-effect (acts as sgr0) and in others it doesn't, so it is not possible to determine reliably what the terminal state will be afterwards. So if AX is missing and op is present, tmux just sends sgr0. Anyone using -d for a terminal who finds they actually needed it can replace it using terminal-overrides, but please let me know as it is probably an omission from terminfo.
| * Bring a comment into line with reality.Nicholas Marriott2009-10-24
| |
| * Use relative cursor movement instead of absolute when possible and whenNicholas Marriott2009-10-12
| | | | | | | | | | supported by the terminal to reduce the size of the output data (generally about 10-20%).
| * Check the return value of strunvis against -1 not NULL.Nicholas Marriott2009-08-23
| |
| * Emulate dch/dch1 if missing by redrawing the entire line.Nicholas Marriott2009-08-21
| |
| * Clear the codes array earlier as tty_term_free could be called on error.Nicholas Marriott2009-08-05
| |
| * Don't try to free old string values (and crash) when they are overridden unlessNicholas Marriott2009-08-03
| | | | | | | | they were actually found in the source terminal description. Reported by jmc.
| * Add a terminal-overrides session option allowing individual terminfo(5) entriesNicholas Marriott2009-08-03
| | | | | | | | | | | | | | | | to be overridden. The 88col/256col checks are now moved into the default setting and out of the code. Also remove a couple of old workarounds for xterm and rxvt which are no longer necessary (tmux can emulate them if missing).
| * Fix checking of setupterm(3) error codes. While there include theMatthieu Herrb2009-08-02
| | | | | | | | name of the terminal type causing the error where relevant. ok nicm@.
| * Since tmux doesn't actually need ncurses, use -lcurses/curses.hNicholas Marriott2009-07-14
| | | | | | | | instead. Pointed out by millert a while ago.
| * Remove trailing newlines, spaces, and tabs.Ray Lai2009-06-05
| | | | | | | | No binary change.
| * Import tmux, a terminal multiplexor allowing (among other things) a singleNicholas Marriott2009-06-01
| | | | | | | terminal to be switched between several different windows and programs displayed on one terminal be detached from one terminal and moved to another. ok deraadt pirofti
* Sync OpenBSD patchset 1150:Tiago Cunha2012-07-11
| | | | | xfree is not particularly helpful, remove it. From Thomas Adam.
* Sync OpenBSD patchset 1116:Tiago Cunha2012-05-22
| | | | | | If there are any terminals with insert mode but not ich1, they can go through the slow path. Tidies code slightly.
* Sync OpenBSD patchset 985:Tiago Cunha2011-12-06
| | | | | Log terminal overrides.
* Sync OpenBSD patchset 969:Tiago Cunha2011-10-23
| | | | | | Support for \e[3J to clear the history. Also send the corresponding terminfo code (E3) before locking.
* Expand the Id keyword. Tiago Cunha2011-07-09
|
* tparm requires 10 arguments on Solaris.Nicholas Marriott2011-06-26
|
* Sync OpenBSD patchset 916:Tiago Cunha2011-05-22
| | | | | | Support DECSCUSR sequence to set the cursor style with two new terminfo(5) extensions, Cs and Csr. Written by Ailin Nemui.
* Sync OpenBSD patchset 915:Tiago Cunha2011-05-22
| | | | | | | Support xterm(1) cursor colour change sequences through terminfo(5) Cc (set) and Cr (reset) extensions. Originally by Sean Estabrooks, tweaked by me and Ailin Nemui.
* Sync OpenBSD patchset 914:Tiago Cunha2011-05-22
| | | | | | | | | | Support setting the xterm clipboard when copying from copy mode using the xterm escape sequence for the purpose (if xterm is configured to allow it). Written by and much discussed Ailin Nemui, guidance on xterm/termcap/terminfo from Thomas Dickey.
* Sync OpenBSD patchset 904:Tiago Cunha2011-05-18
| | | | | | | | Use the tsl and fsl terminfo(5) capabilities to update terminal title and automatically fill them in on terminals with the XT capability (which means their title setting is xterm-compatible). From hsim at gmx.li.
* If the terminal supports sitm for italics, use it instead of standoutNicholas Marriott2011-04-09
| | | | | (smso). From Tiago Resende.
* Sync OpenBSD patchset 854:Tiago Cunha2011-02-15
| | | | | Use LIST_* not SLIST_*.
* Sync OpenBSD patchset 822:Tiago Cunha2011-01-03
| | | | | Another table that should be const.
* Switch tmux to use autoconf and automake.Nicholas Marriott2010-12-31
| | | | | Although they suck, they suck less than the alternatives.
* Sync OpenBSD patchset 762:Tiago Cunha2010-09-18
| | | | | | | | | | Use UTF-8 line drawing characters on UTF-8 terminals. Fixes some stupid terminals (I'm looking at you, putty) which disable the vt100 ACS mode switching sequences in UTF-8 mode. Also on terminals without ACS at all, use ASCII equivalents where obvious.
* Sync OpenBSD patchset 761:Tiago Cunha2010-09-18
| | | | | Ignore terminal overrides settings without a value.
* FreeBSD 6.x has a bug and crashes in del_curterm, so ifdef it out on thatNicholas Marriott2009-12-18
| | | | | platform.
* Sync OpenBSD patchset 581:Tiago Cunha2009-12-04
| | | | | | | Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last time now I've configured emacs to make them displayed in really annoying colours...
* Solaris requires this header ordering.Nicholas Marriott2009-12-03
|
* Sync OpenBSD patchset 563:Tiago Cunha2009-11-28
| | | | | Emulate il1, dl1, ich1 to run (albeit slowly) with vt100 feature set.
* Despite terminfo being in use for around 20 years, NetBSD still haven't gotNicholas Marriott2009-11-26
| | | | | | | their act together, so add an ifdef to use ncurses.h instead of curses.h. Untested.
* Sync OpenBSD patchset 532:Tiago Cunha2009-11-13
| | | | | | | | Emulate the ri (reverse index) capability: this allows tmux to at least start on Sun consoles (TERM=sun or sun-color), even if there appear to still be problems on some boxes (my Blade 100 is fine but edd's Blade 1000 shows odd screen corruption).
* Sync OpenBSD patchset 458:Tiago Cunha2009-10-28
| | | | | | | Support the (mostly new) function key+modifier caps (kIC-kIC7). Most of these will be caught (soon) by the xterm keys code in xterm itself but some other descriptions such as rxvt define them as well.
* Sync OpenBSD patchset 446:Tiago Cunha2009-10-28
| | | | | | | | | | | | | | | Remove the -d flag to tmux and just use op/AX to detect default colours. Irritatingly, although op can be used to tell if a terminal supports default colours, it can't be used to set them because in some terminfo descriptions it resets attributes as a side-effect (acts as sgr0) and in others it doesn't, so it is not possible to determine reliably what the terminal state will be afterwards. So if AX is missing and op is present, tmux just sends sgr0. Anyone using -d for a terminal who finds they actually needed it can replace it using terminal-overrides, but please let me know as it is probably an omission from terminfo.
* Sync OpenBSD patchset 443:Tiago Cunha2009-10-25
| | | | | Bring a comment into line with reality.
* Sync OpenBSD patchset 395:Tiago Cunha2009-10-15
| | | | | | | Use relative cursor movement instead of absolute when possible and when supported by the terminal to reduce the size of the output data (generally about 10-20%).
* Tweak tparm() to make Solaris' backward userland happy and remove the -I messNicholas Marriott2009-09-22
| | | | | | in configure which tried to deal with the fallout from their horrible package management.
* Check the return value of strunvis against -1 not NULL.Nicholas Marriott2009-08-23
|
* Sync OpenBSD patchset 287:Tiago Cunha2009-08-21
| | | | | Emulate dch/dch1 if missing by redrawing the entire line.
* Sync OpenBSD patchset 221:Tiago Cunha2009-08-09
| | | | | Clear the codes array earlier as tty_term_free could be called on error.
* Sync OpenBSD patchset 213:Tiago Cunha2009-08-09
| | | | | | Don't try to free old string values (and crash) when they are overridden unless they were actually found in the source terminal description. Reported by jmc.
* Do not include vis.h directly, since it's OS-dependent.Tiago Cunha2009-08-09
|
* Sync OpenBSD patchset 211:Tiago Cunha2009-08-09
| | | | | | | | | | Add a terminal-overrides session option allowing individual terminfo(5) entries to be overridden. The 88col/256col checks are now moved into the default setting and out of the code. Also remove a couple of old workarounds for xterm and rxvt which are no longer necessary (tmux can emulate them if missing).
* Sync OpenBSD patchset 210:Tiago Cunha2009-08-09
| | | | | | Fix checking of setupterm(3) error codes. While there include the name of the terminal type causing the error where relevant. ok nicm@.
* Whoops, chose the wrong one in a conflict. Revert.Nicholas Marriott2009-07-14
|
* Don't need ncurses, use curses.Nicholas Marriott2009-07-14
|
* More diff-to-OpenBSD reduction. Move a lot of compat stuff into compat.h.Nicholas Marriott2009-06-25
|
* Don't use -Wcast-qual and use explicit casts to shut gcc up in the few cases ↵Nicholas Marriott2009-05-15
| | | | we can't avoid using a char *.