summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* Order the ENVIRONMENT section alphabetically.joe2000-06-211-5/+5
|
* I broke locale sensitive ordering of date and month injoe2000-06-212-6/+16
| | | | | | | | | | the long -l output format with the last commit. Fix it by replacing the "%b %e" strftime format with "%Ef". Make a note in the manual page that the LANG environment variable affects the running of ls. Reviewed by: ache
* Don't assume that the output of strftime for "%c" ("nationaljoe2000-06-181-15/+10
| | | | | | | | | representation of time and date") won't change in time. Instead of hard coding the locations of the time elements and hoping that they don't move use strftime to generate the desired formats in the first place. PR: bin/7826
* Switch over to using the new fflagstostr and strtofflags library calls.joe2000-06-177-21/+18
|
* Activate Japanese NLS and KANJI supportache2000-06-114-12/+1
|
* Fix one conditionalization in my prev. commitache2000-06-061-2/+3
|
* Greately simplify oxtabs fix by simple setting f_notabs for f_colorache2000-06-062-14/+10
|
* Honor f_notabs flag even in COLORLSache2000-06-061-1/+1
|
* Back out spaces to TABs replace removing for COLORLSache2000-06-061-0/+13
| | | | | Rewrite corresponding comment to say what happens in reality with oxtabs and current terminal column.
* Don't replace TABs with spaces for COLORLS because "some terminals get confused"ache2000-06-061-12/+0
| | | | | as comment says. I know no terminal confused by this. If even such terminal exists, it must be termcap flag for this, not hardcoded in ls.
* Add -G to usage: if COLORLSache2000-06-061-1/+6
|
* Staticize more functionsache2000-06-061-4/+7
|
* Move colorquit() prototype to extern.hache2000-06-062-4/+4
| | | | | Add "extern" to variables declarations in extern.h to not make them commons into each compiled file.
* Make signal handler safe - don't use stdio (pointed by bde)ache2000-06-062-14/+26
| | | | | | Staticize some color functions Add yet one tolower() call which is forgotten after check Don't check for OOPS - not really needed
* Reflect reality:ache2000-06-061-2/+2
| | | | | yellow -> brown white -> light grey
* Get rid of curses completely - use tgoto instead of tparmache2000-06-051-5/+4
|
* Do SIGINT cleanup for SIGQUIT as well.cracauer2000-06-051-0/+1
|
* Kill yourself in ^C handler, not exit(1) to allow script to sense signalache2000-06-051-7/+10
|
* Cosmetique of prev. optimization - don't use global variableache2000-06-051-1/+6
|
* Don't use curses includes, include termcap.h insteadache2000-06-051-13/+26
| | | | | | | Don't use curses functions, use tputs instead Add ^C reaction - reset colors Optimization - don't turn off colors after EACH file printed. Fix wrong ctype macro arg type in LSCOLORS parsing
* Don't use curses includes, include termcap.h insteadache2000-06-051-6/+7
| | | | Add ^C reaction set
* Don't use ncurses, use termcapache2000-06-051-1/+2
| | | | Add DPADD
* Don't look up the ANSI sequences each time a colour is changed,joe2000-06-053-11/+31
| | | | | | | | | | | this is extremely inefficient, instead write them all down at the beginning. The correct sequence to switch colours off is to first use 'op' if it exists, otherwise use 'oc'. If neither of these exist then we shouldn't be doing colour with this terminal. Reviewed by: ache
* Disable colour support in ls when building the fixit floppy, and makejoe2000-06-051-0/+2
| | | | a note of it in the release Makefile.
* * Re-implement colour support using termcap's AF and AB capabilitiesjoe2000-06-055-12/+74
| | | | | | | | | | | | | to manage the ANSI colour sequences. Colour support is disabled unless the TERM environment variable references a valid termcap. * Allow optional compilation of the colour support in the Makefile, defaulting to yes. This allows us to switch it off for fixit floppies and other mediums where space is an issue and the extra bloat of statically linking with ncurses isn't acceptable. * Display a warning if colour is requested with '-G' but support for it isn't compiled in.
* Add -g for gigabyte sizes.jwd2000-06-032-1/+10
| | | | Approved by: jkh
* Add colour support to /bin/ls (at a cost of 1056 bytes on my system).joe2000-06-025-4/+220
| | | | | | | | | | | | | | It is not switched on by default and must be enabled with the -G flag. When using ls -G the output behaviour is modified with ANSI colour sequences wrapped around filenames to help distinguish file types. (Colours can be redefined in the LSCOLORS environment variable as described in the manual page.) Colour support is silently disabled (if switched on) if stdout isn't a tty. Based on: asami's colorls port. PR: bin/18900 && ports/18616.
* Fix ``dd if=/dev/zero of=/dev/daN'' on the Alpha by allowing the labelobrien2000-05-241-1/+8
| | | | | | to be overwritten. Submitted by: green
* Propogate the ``call mktime'' flag from adjwday() down to adjday().brian2000-05-231-4/+4
| | | | Submitted by: Christian Weisgerber <naddy@mips.inka.de>
* Correct confusion and differentiate appropriately between GMT and UTC whendbaker2000-05-192-4/+4
| | | | | | | | | date is launched with the "u" argument. It now operates in the documented manner. Fix typo in date man page. Submitted by: David McNett <nugget@slacker.com>
* In its current state, this file is no longer needed.obrien2000-05-151-2220/+0
|
* Don't forget to clean csh.1.bde2000-05-151-6/+6
| | | | Fixed some style bugs.
* Fix parsing of string for eval command.cracauer2000-05-151-0/+1
| | | | | PR: 18447 Submitted by: Koji Mori <mori@tri.asanuma.co.jp>
* Fix environment passung to eval'ed commands.cracauer2000-05-152-1/+2
| | | | | | PR: bin/6577 Submitted by: Anatoly Vorobey <mellon@pobox.com> Approved by: silence amoung other sh experts
* Supply only one author name per instance of %A, as per mdoc.samples(7).sheldonh2000-05-101-1/+2
| | | | | PR: 18465 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
* Fix miscellaneous mdoc macro argument limit infringements.sheldonh2000-05-091-1/+4
| | | | | PR: 18465 Reported by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
* Remove test for block device.kris2000-05-071-1/+0
|
* Install a manual page for `tcsh(1)', for completeness.jkoshy2000-05-051-0/+1
| | | | Approved by: obrien
* Remove unused #include.asmodai2000-05-011-1/+0
|
* Fixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'.joe2000-04-301-3/+5
| | | | | Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org
* Fix warn formatache2000-04-301-1/+1
| | | | Pointed-by: bde
* Back out all drainwait changes. It is enough controllable via sysctl orache2000-04-307-55/+17
| | | | | | | comcontrol, having it in stty cause too many problems with existing drivers and tty access permissings of non-superuser. Asked-by: bde
* gfmt: set drainwait only if changedache2000-04-301-2/+4
| | | | It allows to restore tty state without a warning for non-superuser
* Describe drainwaitache2000-04-271-0/+2
|
* part of gfmt really changed commitache2000-04-271-1/+1
|
* gfmt: set 'changed' flags only if something really changed.ache2000-04-272-7/+14
|
* Add ability to manipulate with drain wait timeache2000-04-276-15/+42
|
* Activate ja nls if WANT_KANJIache2000-04-249-42/+21
| | | | | Fix 'make release' Suppress 'make distribute'
* Pass "WANT_KANJI" from make.conf to the compiler.obrien2000-04-231-1/+4
|
* MBYTEDEBUG not needed for "WANT_KANJI"obrien2000-04-232-2/+0
| | | | Submitted by: Hajimu UMEMOTO <ume@mahoroba.org>
OpenPOWER on IntegriCloud