History log of /src/usr.bin/vis/vis.c |
Revision | | Date | Author | Comments |
1.25 |
| 24-May-2015 |
christos | Add -N (VIS_NOLOCALE), sort.
|
1.24 |
| 26-Sep-2014 |
wiz | Sort options in SYNOPSIS/usage.
|
1.23 |
| 26-Sep-2014 |
christos | add VIS_META/VIS_SHELL support to encode all shell metacharacters. XXX: /etc/rc.d/wizd fix $
|
1.22 |
| 20-Feb-2013 |
christos | use MB_LEN_MAX directly instead of assuming how large it is.
|
1.21 |
| 15-Feb-2013 |
christos | More fixes from J.R. Oldroyd:
- I have added a call to memset() to clear the mbibuff on each loop. Since we're dealing with possibly broken multibyte sequences, clearing it will avoid problems with a new input sequence possibly being confused by extra bytes still there from the last iteration. wctomb(), which is used to fill that buffer, does not append a NUL.
- I have added a (char) cast when copying single bytes into the input buffer after a multibyte conversion error.
- In the call to strvisx() the count must be 1, not mbilen which can be 2 or 3 etc for a multibyte character. This value is a count of characters - not bytes - to process. It even says characters in the man page. In vis(3) I am interpreting this value to mean multibyte characters.
|
1.20 |
| 14-Feb-2013 |
christos | do the encoding character by character instead of failing on encoding mismatch
|
1.19 |
| 13-Feb-2013 |
christos | don't allow NULL for extra
|
1.18 |
| 13-Feb-2013 |
christos | Multi-byte docs and fixes for > 2 mblen charsets from J.R. Oldroyd
|
1.17 |
| 13-Feb-2013 |
christos | handle EILSEQ.
|
1.16 |
| 13-Feb-2013 |
christos | handle wide chars
|
1.15 |
| 11-Feb-2009 |
wiz | branches: 1.15.6; 1.15.12; Fix typo in usage.
|
1.14 |
| 11-Feb-2009 |
christos | forgot to commit this.
|
1.13 |
| 10-Feb-2009 |
christos | Add RFC 2045 MIME Quoted-Printable support.
|
1.12 |
| 21-Jul-2008 |
lukem | branches: 1.12.6; Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
1.11 |
| 23-Jul-2004 |
wiz | branches: 1.11.28; Sync usage with man page; use getprogname(). From Kouichirou Hiratsuka in PR 26387.
|
1.10 |
| 22-Apr-2004 |
lukem | Add -h to enable VIS_HTTPSTYLE. Reorder getopt & usage strings to be alphabetical to match man page.
|
1.9 |
| 05-Jan-2004 |
jmmv | Homogenize usage messages: make the 'usage' word all lowercase, as this seems to be the most common practice in our tree.
|
1.8 |
| 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.7 |
| 23-Dec-2002 |
lukem | Implement '-e extra', as per svis(3)'s "extra" argument. Document which vis(3) flag particular options enable (for easier cross referencing between vis(1) and vis(3))
|
1.6 |
| 05-Jul-2000 |
itohy | Close opened files. Make the exit status nonzero on errors.
|
1.5 |
| 20-Oct-1997 |
lukem | WARNSify, deprecate register, getopt returns -1, fix .Nm usage
|
1.4 |
| 20-Dec-1994 |
jtc | Cleanup by jimj. Converted to use err() and warn() by myself.
|
1.3 |
| 17-Nov-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id conventions.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 17-Nov-1994 |
jtc | imported from 4.4lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.11.28.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.12.6.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.15.12.1 |
| 25-Feb-2013 |
tls | resync with head
|
1.15.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")
|