Home | History | Annotate | only in /src/usr.bin/tput
History log of /src/usr.bin/tput
RevisionDateAuthorComments
 1.11 24-Jan-2013  roy Move the strings vs long analysis to a private function, but allow
tput(1) to use it so we can work with string parameters to capabilities.
 1.10 03-Feb-2010  roy branches: 1.10.6; 1.10.8; 1.10.12;
Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@
 1.9 14-Apr-2009  lukem Enable WARNS=4 by default for usr.bin, except for:
awk bdes checknr compile_et error gss hxtool kgetcred kinit
klist ldd less lex locale login m4 man menuc mk_cmds
mklocale msgc openssl rpcgen rpcinfo sdiff spell ssh
string2key telnet tn3270 verify_krb5_conf xlint
 1.8 30-Jul-2005  christos branches: 1.8.30;
Usage should exit with to according to posix (from Liam Foy).
While here, pass WARNS=3 and lint
 1.7 20-Oct-1997  lukem remove WARNS=1
 1.6 14-Oct-1997  lukem WARNSify, use <termcap.h> instead of <curses.h>
 1.5 24-Mar-1997  christos - Makefile cleanups
 1.4 18-Oct-1996  thorpej Use ${INSTALL}.
 1.3 07-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2 30-Jul-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 07-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.8.30.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.10.12.1 25-Feb-2013  tls resync with head
 1.10.8.1 14-Mar-2013  riz Pull up following revision(s) (requested by roy in ticket #835):
lib/libterminfo/terminfo.3: revision 1.9
lib/libterminfo/term.h: revision 1.13
lib/libterminfo/term.h: revision 1.14
usr.bin/tput/Makefile: revision 1.11
lib/libterminfo/terminfo.3: revision 1.10
lib/libterminfo/genman: revision 1.5
lib/libterminfo/term_private.h: revision 1.11
usr.bin/tput/tput.c: revision 1.23
usr.bin/tput/tput.c: revision 1.24
usr.bin/tput/tput.c: revision 1.25
lib/libterminfo/tparm.c: revision 1.11
lib/libterminfo/Makefile.hash: revision 1.7
usr.bin/tput/tput.c: revision 1.26
lib/libterminfo/tparm.c: revision 1.12
lib/libterminfo/tparm.c: revision 1.13
lib/libterminfo/tparm.c: revision 1.14
lib/libterminfo/terminfo.5.in: revision 1.18
As tparm accepts longs we should treat them as long during expansion.
Also, fix the ~ and ! logic.
Move the strings vs long analysis to a private function, but allow
tput(1) to use it so we can work with string parameters to
capabilities.
Fix building our terminals with a non standard NETBSDSRCDIR, PR
lib/46793.
Thanks to Bernd Ernesti.
Remove debug accidently commited.
If char * > long then print a suitable error when passing a string
parameter.
For platforms where we cannot fit a char * into a long, return NULL
and set errno to ENOTSUPP.
Add descriptions for terminfo keys to term.h
These are extracted by genman and placed into the compiled terminfo.5
Fixes PR lib/47090
Provide a disabled implentation of tlparm and ti_tlparm for
completeness.
This also improves the readability of _ti_tiparm.
Use putp(3) to output our strings.
Fixes PR lib/47532
 1.10.6.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 07-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 07-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.16 21-Apr-2012  roy Add capfile(5) to describe the termcap format.
Adjust various man pages and other documentation to point to capfile(5)
instead of termcap(5).
Remove getcap(3) as curses hasn't been building it for a long time.
Punt wrterm.c as tset no longer uses it.
 1.15 14-May-2010  joerg branches: 1.15.6;
Fix trailing whitespace
 1.14 03-Feb-2010  roy Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@
 1.13 29-Mar-2004  jdc Note in the BUGS section that some termcap entries don't have
reset capabilities, so use init instead.
Part of the fix for PR misc/11052
 1.12 07-Aug-2003  agc branches: 1.12.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.11 08-Dec-2001  wiz Sort sections.
 1.10 04-Apr-2001  wiz Add section to xrefs. Markup improvements.
 1.9 04-Sep-2000  kleink For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
 1.8 22-Mar-1999  garbled branches: 1.8.10;
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.7 09-Mar-1999  ross Multiple missing .El's.
 1.6 11-Nov-1997  mrg add missing .Nm sections.
 1.5 14-Oct-1997  lukem branches: 1.5.2;
WARNSify, use <termcap.h> instead of <curses.h>
 1.4 07-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.3 25-Jan-1994  cgd man page update from christos
 1.2 01-Aug-1993  mycroft Add RCS indentifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2 07-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.5.2.1 11-Nov-1997  mrg pull up from trunk: add missing .Nm sections.
 1.8.10.1 26-Apr-2001  he Pull up revision 1.10 (requested by wiz):
Add section to cross references. Markup improvements.
 1.12.2.1 07-Apr-2004  jmc Pullup rev 1.13 (requested by jdc in ticket #79)

Note in the BUGS section that some termcap entries don't have
reset capabilities, so use init instead. PR#11052
 1.15.6.1 23-May-2012  yamt sync with head.
 1.26 05-Feb-2013  roy Use putp(3) to output our strings.
Fixes PR lib/47532
 1.25 25-Jan-2013  roy If char * > long then print a suitable error when passing a string parameter.
 1.24 25-Jan-2013  roy Remove debug accidently commited.
 1.23 24-Jan-2013  roy Move the strings vs long analysis to a private function, but allow
tput(1) to use it so we can work with string parameters to capabilities.
 1.22 04-Oct-2011  roy branches: 1.22.2; 1.22.4; 1.22.8;
Ensure we only pass cap names of one or two characters to tgetstr
and friends so we don't mistakenly try and convert a terminfo code to a
termcap code.
 1.21 04-Oct-2011  roy tput now uses longname(3) to derive the terminal description instead
of trying to parse it from termpcap.
Fixes PR/43386.
 1.20 03-Feb-2010  roy Userland now builds and uses terminfo instead of termcap.

OK: core@, jdc@
 1.19 21-Jul-2008  lukem branches: 1.19.4;
Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
 1.18 15-Dec-2007  perry branches: 1.18.6;
convert __attribute__s to applicable cdefs.h macros
 1.17 30-Jul-2005  christos branches: 1.17.6; 1.17.12;
Usage should exit with to according to posix (from Liam Foy).
While here, pass WARNS=3 and lint
 1.16 23-Jul-2004  wiz Sync usage with man page; use getprogname().
From Kouichirou Hiratsuka in PR 26280.
 1.15 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.14 11-Oct-2000  is More format string cleanup by sommerfeld.
 1.13 03-Jul-2000  matt Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
 1.12 14-Apr-2000  simonb branches: 1.12.4;
Don't declare 'extern opt*' getopt variables.
 1.11 04-Oct-1999  lukem update after change to return value of tputs() third argument
 1.10 20-Oct-1997  lukem branches: 1.10.4; 1.10.6;
getopt returns -1 not EOF
 1.9 14-Oct-1997  lukem WARNSify, use <termcap.h> instead of <curses.h>
 1.8 31-Aug-1995  jtc Sync with 4.4lite2
 1.7 19-Jun-1995  jtc sys/termios.h -> termios.h
 1.6 13-Dec-1994  jtc Switch order rows and cols are extracted from the command line.
Now matches documentation and other UNIX systems (PR #636).
 1.5 07-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.4 19-Mar-1994  cgd don't assume that only valid thing starting with 'l' is longname.
Fix from Eric J. Haug <ejh@slueas.slu.edu>
 1.3 24-Jan-1994  cgd DTRT with termcap string arguments. from Christos-Zoulas@deshaw.com.
needs man page update.
 1.2 01-Aug-1993  mycroft Add RCS identifiers.
 1.1 21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.3 31-Aug-1995  jtc imported from 44lite2
 1.1.1.2 07-Dec-1994  jtc imported from 4.4lite
 1.1.1.1 21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.10.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.4.1 19-Oct-2000  he Pull up revision 1.14 (requested by he):
Format string cleanup.
 1.12.4.1 18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.17.12.1 09-Jan-2008  matt sync with HEAD
 1.17.6.1 14-Nov-2012  riz usr.bin/tput/tput.c patch

Fix tput support for setaf terminfo sequence. PR#39883.
[jnemeth, ticket #1468]
 1.18.6.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.19.4.1 27-Nov-2012  riz usr.bin/tput/tput.c patch

Fix tput support for setaf terminfo sequence. PR#39883.
[jnemeth, ticket #1822]
 1.22.8.1 25-Feb-2013  tls resync with head
 1.22.4.1 14-Mar-2013  riz Pull up following revision(s) (requested by roy in ticket #835):
lib/libterminfo/terminfo.3: revision 1.9
lib/libterminfo/term.h: revision 1.13
lib/libterminfo/term.h: revision 1.14
usr.bin/tput/Makefile: revision 1.11
lib/libterminfo/terminfo.3: revision 1.10
lib/libterminfo/genman: revision 1.5
lib/libterminfo/term_private.h: revision 1.11
usr.bin/tput/tput.c: revision 1.23
usr.bin/tput/tput.c: revision 1.24
usr.bin/tput/tput.c: revision 1.25
lib/libterminfo/tparm.c: revision 1.11
lib/libterminfo/Makefile.hash: revision 1.7
usr.bin/tput/tput.c: revision 1.26
lib/libterminfo/tparm.c: revision 1.12
lib/libterminfo/tparm.c: revision 1.13
lib/libterminfo/tparm.c: revision 1.14
lib/libterminfo/terminfo.5.in: revision 1.18
As tparm accepts longs we should treat them as long during expansion.
Also, fix the ~ and ! logic.
Move the strings vs long analysis to a private function, but allow
tput(1) to use it so we can work with string parameters to
capabilities.
Fix building our terminals with a non standard NETBSDSRCDIR, PR
lib/46793.
Thanks to Bernd Ernesti.
Remove debug accidently commited.
If char * > long then print a suitable error when passing a string
parameter.
For platforms where we cannot fit a char * into a long, return NULL
and set errno to ENOTSUPP.
Add descriptions for terminfo keys to term.h
These are extracted by genman and placed into the compiled terminfo.5
Fixes PR lib/47090
Provide a disabled implentation of tlparm and ti_tlparm for
completeness.
This also improves the readability of _ti_tiparm.
Use putp(3) to output our strings.
Fixes PR lib/47532
 1.22.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed