aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
Commit message (Collapse)AuthorAgeFilesLines
* Document incorrect handling of multibyte characters.Tim J. Robbins2004-07-161-1/+3
| | | | Notes: svn path=/head/; revision=132239
* Document incorrect handling of multibyte characters.Tim J. Robbins2004-07-151-1/+5
| | | | Notes: svn path=/head/; revision=132206
* Avoid passing negative values to isdigit() on machines with signed chars.Tim J. Robbins2004-07-151-5/+5
| | | | Notes: svn path=/head/; revision=132205
* Avoid passing negative values to isspace() on machines with signed chars.Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132202
* Respect locale settings from the environment.Tim J. Robbins2004-07-151-0/+3
| | | | Notes: svn path=/head/; revision=132201
* Avoid passing negative values to isspace() on systems with signed chars.Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132200
* Respect locale settings from the environment.Tim J. Robbins2004-07-152-0/+6
| | | | Notes: svn path=/head/; revision=132198
* Don't pass negative values into <ctype.h> functions on machinesTim J. Robbins2004-07-151-3/+3
| | | | | | | with signed chars. Notes: svn path=/head/; revision=132193
* Print size_t with %zu, not %d.Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132192
* Respect locale settings from the environment.Tim J. Robbins2004-07-151-0/+3
| | | | Notes: svn path=/head/; revision=132191
* Add incorrect multibyte character handling to the already long listTim J. Robbins2004-07-151-1/+3
| | | | | | | of bugs. Notes: svn path=/head/; revision=132190
* Use freopen() instead of a nasty hack.Tim J. Robbins2004-07-151-2/+1
| | | | Notes: svn path=/head/; revision=132189
* Document incorrect handling of multibyte characters.Tim J. Robbins2004-07-151-1/+5
| | | | Notes: svn path=/head/; revision=132188
* Ensure that suffix matches occur on character boundaries.Tim J. Robbins2004-07-151-4/+32
| | | | Notes: svn path=/head/; revision=132187
* Document line length and multibyte character limitations.Tim J. Robbins2004-07-151-1/+4
| | | | Notes: svn path=/head/; revision=132184
* Use err() instead of perror(), exit().Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132182
* Use warn() instead of perror().Tim J. Robbins2004-07-151-1/+1
| | | | Notes: svn path=/head/; revision=132180
* Use warn() instead of perror().Tim J. Robbins2004-07-152-4/+5
| | | | Notes: svn path=/head/; revision=132178
* Make the day/month ordering dependent on the current locale byTim Kientzle2004-07-154-4/+17
| | | | | | | | testing the locale at program startup and setting a flag, then using that flag to determine appropriate strftime() arguments. Notes: svn path=/head/; revision=132169
* Document the -E and -a options as being extensions.Tim J. Robbins2004-07-141-2/+5
| | | | Notes: svn path=/head/; revision=132147
* Update BUGS section to reflect current state of multibyte character support.Tim J. Robbins2004-07-141-4/+11
| | | | Notes: svn path=/head/; revision=132146
* Make the 'y' (translate) command aware of multibyte characters.Tim J. Robbins2004-07-145-17/+145
| | | | Notes: svn path=/head/; revision=132145
* Fix description of cmap_lookup_hard().Tim J. Robbins2004-07-141-1/+1
| | | | Notes: svn path=/head/; revision=132144
* Remove unused member of struct csclass: csc_value.Tim J. Robbins2004-07-141-1/+0
| | | | Notes: svn path=/head/; revision=132143
* Splay the left and right subtrees on min - 1 and max + 1, respectively,Tim J. Robbins2004-07-141-34/+20
| | | | | | | | before trying to coalesce. Forgetting to splay caused us to miss many opportunities for coalescing. Notes: svn path=/head/; revision=132142
* Overhaul lputs() to deal with multibyte characters, characters that takeTim J. Robbins2004-07-131-24/+53
| | | | | | | up more than one column position, and null bytes. Notes: svn path=/head/; revision=132083
* Add support for multibyte characters.Tim J. Robbins2004-07-132-22/+47
| | | | Notes: svn path=/head/; revision=132078
* Teach gcore about the pathname field of '/proc/*/map' so that it doesn'tRobert Watson2004-07-121-3/+3
| | | | | | | | | | spin when its parser gets confused by a lack of end-of-line. Submitted by: Dan Nelson <dan@dan.emsphone.com> PR: 68839 Notes: svn path=/head/; revision=132047
* Mimic ls(1) by putting an extra space before the year in old datesTim Kientzle2004-07-121-1/+1
| | | | Notes: svn path=/head/; revision=132036
* Fix tab/space screwup in long_help()Tim Kientzle2004-07-121-1/+1
| | | | Notes: svn path=/head/; revision=132035
* Remove BUGS section that talked about missing multibyte character support.Tim J. Robbins2004-07-121-5/+1
| | | | | | | We have support now that the regular expression routines do. Notes: svn path=/head/; revision=132028
* Adjust the show_self code (the test got inadvertantly reversed a couple ofDag-Erling Smørgrav2004-07-121-3/+3
| | | | | | | | | revisions ago) Submitted by: Alex Vasylenko <lxv@omut.org> Notes: svn path=/head/; revision=132024
* Cache a pointer to the old proc (as well as negative cache) to makeAlfred Perlstein2004-07-121-2/+13
| | | | | | | | | computing the io statistics over and over not as expensive. This is a bit of a cop out, as I should just allocate a struct with the computed values, but this will do for now. Notes: svn path=/head/; revision=132015
* Call setlocale() with category LC_ALL instead of LC_MESSAGES. We needTim J. Robbins2004-07-121-1/+1
| | | | | | | | | LC_CTYPE and LC_COLLATE to correctly interpret regular expressions returned by nl_langinfo(YESEXPR), and it doesn't hurt to include the rest. Notes: svn path=/head/; revision=132008
* Respect locale settings from the environment.Tim J. Robbins2004-07-121-0/+3
| | | | Notes: svn path=/head/; revision=132004
* Fix a few cases that relied on 'implicit int' (constraint violation in C99).Stefan Farfeleder2004-07-112-1/+2
| | | | Notes: svn path=/head/; revision=131990
* Fix document year.Tim J. Robbins2004-07-111-1/+1
| | | | | | | Noticed by: simon Notes: svn path=/head/; revision=131980
* Add fairly standard ENVIRONMENT and DIAGNOSTICS sections.Tim J. Robbins2004-07-111-1/+12
| | | | Notes: svn path=/head/; revision=131979
* Respect locale settings from the environment.Tim J. Robbins2004-07-111-0/+3
| | | | Notes: svn path=/head/; revision=131978
* Add POSIX-style support for multibyte characters to od(1): the 'c'Tim J. Robbins2004-07-114-11/+114
| | | | | | | | | conversion interprets input bytes as multibyte sequences and displays printable characters in the area corresponding to their first byte. The remaining bytes are shown as "**". Notes: svn path=/head/; revision=131954
* Add a reference to od(1).Tim J. Robbins2004-07-101-2/+3
| | | | Notes: svn path=/head/; revision=131895
* Decode the "wence" arg to lseek and linux_lseek.Alfred Perlstein2004-07-102-2/+16
| | | | Notes: svn path=/head/; revision=131893
* Initialize cs_invert to "false" in new csets.Tim J. Robbins2004-07-101-0/+1
| | | | Notes: svn path=/head/; revision=131891
* Report input errors instead of ignoring them.Tim J. Robbins2004-07-091-0/+8
| | | | Notes: svn path=/head/; revision=131855
* Update for multibyte character support: remove BUGS and change theTim J. Robbins2004-07-091-7/+2
| | | | | | | description of the -c option to refer to "values" instead of "byte values". Notes: svn path=/head/; revision=131849
* Add support for multibyte characters. The challenge here was to useTim J. Robbins2004-07-098-200/+880
| | | | | | | | | | | | | | | | | data structures that scale better with large character sets, instead of arrays indexed by character value: - Sets of characters to delete/squeeze are stored in a new "cset" structure, which is implemented as a splay tree of extents. This structure has the ability to store character classes (ala wctype(3)), but this is not currently fully utilized. - Mappings between characters are stored in a new "cmap" structure, which is also a splay tree. - The parser no longer builds arrays containing all the characters in a particular class; instead, next() determines them on-the-fly using nextwctype(3). Notes: svn path=/head/; revision=131846
* Build upon the nice work of Alfred and add sorting capabilities toGiorgos Keramidas2004-07-081-3/+77
| | | | | | | | | the -m "io" mode of top. Approved by: alfred Notes: svn path=/head/; revision=131829
* Make bluetooth compile on all platformsMaksim Yevmenkin2004-07-071-3/+4
| | | | | | | Reviewed by: imp, ru Notes: svn path=/head/; revision=131768
* Correct a minor syntax mistake.Giorgos Keramidas2004-07-071-1/+1
| | | | | | | | | PR: docs/67458 Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 3 days Notes: svn path=/head/; revision=131764
* mdoc(7) fixes.Ruslan Ermilov2004-07-074-6/+6
| | | | Notes: svn path=/head/; revision=131754