sheldonh
b76460656f
Fix one grammar problem which crept in from rev 1.40 to rev 1.42, and
...
one mdoc problem from rev 1.40 (unnecessarily populated Nm macro).
2000-07-18 12:02:15 +00:00
marko
e33a4a8758
Document the builtin echo command
...
Reviewed by: Matthew Hunt <mph@astro.caltech.edu>
2000-07-17 23:37:55 +00:00
sheldonh
98a35e8823
Locale support was added by ache long ago.
2000-07-17 10:40:48 +00:00
sada
d2b1e4c711
To make inherit file flags when mv(1) moves file between directories
...
on different file systems.
PR: bin/12375
Submitted by: Takashi SHIRAI <shirai@nintendo.co.jp>
No response by: steve
No problem with: building 5-current world
2000-07-15 14:59:02 +00:00
marko
38f39cae5a
Re-worded the description of the -r option
...
PR: 18792
Submitted by: Bob Johnson <bobj@atlantic.net>
Approved by: Alexander Langer <alex@freebsd.org>
2000-07-15 14:55:54 +00:00
sada
7e8874695e
Fixd with alias missing.
...
PR: bin/19475
Approved by: Martin Cracauer <cracauer@cons.org> (with conditions)
2000-07-15 14:34:37 +00:00
alex
30480c8cb5
Now, the mdoc fixes, such as:
...
* remove hard sentence breaks
* use of Fl with Ar if argument available
* Dq -> Sq where better
* Ql -> Dq and Ql -> Fa where better
* include sections to Xr macro
* It Ar .ss -> It Ar ss
2000-07-14 15:49:36 +00:00
alex
7b1fd92a4d
As per request by sheldonh and others on IRC, seperate language and mdoc
...
fixes (very important in this case). Version 1.40 should be discarded.
This version includes the language diffs. To receive them, use
cvs diff [-u] -r 1.39 -r 1.41
2000-07-14 15:38:38 +00:00
alex
60096aed79
Fix several language, style and mdoc improvements (such as correct
...
usage of .Xr and removal of hard sentence breaks).
PR: 18880
Submitted by: Christian Weisgerber <naddy@unix-ag.uni-kl.de>
Obtained from: OpenBSD (in parts)
2000-07-14 14:18:04 +00:00
dwmalone
7339539ac5
Use lstat(2) instead of stat(2) when deciding if we should fastcopy
...
a file. This fixes moving symlinks across partitions.
PR: 17847
Reviewed by: bde
2000-07-11 18:01:42 +00:00
se
a835dde9d7
Extend numeric operations to support 64 bit numbers.
2000-07-10 21:30:55 +00:00
se
2f863ef72b
Add support for 64bit integer comparisons.
2000-07-10 21:29:28 +00:00
kris
7a2b8e6857
Don't call warn() with no format string. This is potentially exploitable, although it
...
would be difficult both technically and in practise.
2000-07-10 08:31:35 +00:00
peter
216932df49
Initial kenv(1) hack for dumping the kernel environment. This can be
...
used to extract modified boot hints to make loader(8)-time changes
"sticky". It tries to use \ style quoting so that it can be used directly
with foo.conf files. It can also extract specific variables.
2000-07-08 08:33:40 +00:00
will
1332543d76
Fix the exit code for the case where nentries == 0; if a PID doesn't exist,
...
ps(1) should not be returning a success code (0), it should return an
error code (1). This was fixed on OpenBSD over 3 years ago.
PR: 19069
Submitted by: Jim Sloan <odinn@atlantabiker.net>
Reviewed by: rwatson
2000-07-08 05:13:10 +00:00
sheldonh
8830f654ba
Explain the dependence of colour support on the capabilities of the
...
terminal emulator.
As pointed out by jhb, a more scalable solution would be preferable
when multiple applications in the base system begin linking against
libh.
Submitted by: Doug Barton <DougB@gorean.org>
2000-07-07 14:46:13 +00:00
ache
c54d523f7c
restore tabs lost from prev commit
...
Asked-by: bde
2000-07-07 08:27:59 +00:00
ache
746889412d
curses -> termcap, mainly for purity and to indicate which functions family
...
really used
2000-07-06 22:05:41 +00:00
assar
a455b5dd6d
make sure we do not write out non-printable characters in file names
...
and symbolic links (by default)
PR: bin/19354
Reviewed by: silence on -current
2000-07-04 23:09:23 +00:00
green
5f788961ba
Various cleanups are made to reduce warnings and make code prettier :)
...
Also, check for ftruncate() return value and die on failure, but only
try to ftruncate() when the file is a regular file.
2000-07-01 05:36:25 +00:00
nbm
ce68da90ca
Fix the rmdir -p a/b/c/ case, where rmdir -p a/b/c works, and rmdir c/
...
works.
PR: PR 6521
Submitted by: Rudolf Cejka <xcejka00@dcse.fee.vutbr.cz>
Reviewed by: eivind (in brief retrograde)
2000-06-28 14:54:07 +00:00
mpp
1bcd874077
Grumble. The previous commit still had the wrong date in the
...
example. Oct 29 0:30 +3 hours is still Oct 29, no matter what the
DST setting is, and not Oct 30..
2000-06-28 09:20:06 +00:00
mpp
e704e1d688
Typo fix.
...
PR: docs/19554
Submitted by: Kazuo Horikawa <horikawa@psinet.com>
2000-06-28 09:13:32 +00:00
sheldonh
6be5180b1f
Use Dq Li (double-quoted literal) instead of Ic (internal command) to
...
mark up a sample invocation, since it is not a command internal to the
described utility.
Do not use Ar (argument) to mark up something which is not an argument
to the utility or one of its internal commands.
2000-06-27 18:22:13 +00:00
mph
bedabe82c4
Add \a and \e to "echo -e" escape handling.
2000-06-26 22:43:30 +00:00
ache
2f0b29c459
Use %Ef
2000-06-22 16:57:39 +00:00
sheldonh
74ce1c2902
Fix changes from 1.34 through 1.37:
...
Remove newly added hard sentence breaks.
Mark ANSI up as a type name (Tn).
Avoid parenthesized sentences and paragraphs.
2000-06-22 10:07:46 +00:00
brian
5f8304856e
Mention the timezone where appropriate (for the -v option).
...
correct one of the -v options.
2000-06-22 10:02:33 +00:00
joe
369e860f9c
Order the ENVIRONMENT section alphabetically.
2000-06-21 21:56:50 +00:00
joe
c770aa7104
I broke locale sensitive ordering of date and month in
...
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
2000-06-21 21:49:57 +00:00
joe
52bc7db3a0
Don't assume that the output of strftime for "%c" ("national
...
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
2000-06-18 22:18:04 +00:00
joe
8de98cc2fa
Switch over to using the new fflagstostr and strtofflags library calls.
2000-06-17 14:19:33 +00:00
ache
6386cccbf1
Activate Japanese NLS and KANJI support
2000-06-11 03:26:08 +00:00
ache
aeaf778a36
Fix one conditionalization in my prev. commit
2000-06-06 13:02:52 +00:00
ache
21eb10009f
Greately simplify oxtabs fix by simple setting f_notabs for f_color
2000-06-06 12:44:29 +00:00
ache
1bb87dcd8c
Honor f_notabs flag even in COLORLS
2000-06-06 12:25:17 +00:00
ache
bd7aee03b6
Back out spaces to TABs replace removing for COLORLS
...
Rewrite corresponding comment to say what happens in reality with oxtabs
and current terminal column.
2000-06-06 12:10:07 +00:00
ache
524d646477
Don't replace TABs with spaces for COLORLS because "some terminals get confused"
...
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.
2000-06-06 07:32:20 +00:00
ache
9b69330acf
Add -G to usage: if COLORLS
2000-06-06 07:29:43 +00:00
ache
5659bb7484
Staticize more functions
2000-06-06 07:19:50 +00:00
ache
8f5fd01ed6
Move colorquit() prototype to extern.h
...
Add "extern" to variables declarations in extern.h to not make them
commons into each compiled file.
2000-06-06 07:14:01 +00:00
ache
1b57c1627c
Make signal handler safe - don't use stdio (pointed by bde)
...
Staticize some color functions
Add yet one tolower() call which is forgotten after check
Don't check for OOPS - not really needed
2000-06-06 06:52:03 +00:00
ache
5bc77f44a4
Reflect reality:
...
yellow -> brown
white -> light grey
2000-06-06 00:42:24 +00:00
ache
af7185e20d
Get rid of curses completely - use tgoto instead of tparm
2000-06-05 20:54:46 +00:00
cracauer
4f7cf52071
Do SIGINT cleanup for SIGQUIT as well.
2000-06-05 20:38:47 +00:00
ache
bb8d736bb0
Kill yourself in ^C handler, not exit(1) to allow script to sense signal
2000-06-05 20:08:50 +00:00
ache
f2b2cff75d
Cosmetique of prev. optimization - don't use global variable
2000-06-05 19:56:52 +00:00
ache
5bc31495b7
Don't use curses includes, include termcap.h instead
...
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
2000-06-05 19:39:39 +00:00
ache
5051e56f81
Don't use curses includes, include termcap.h instead
...
Add ^C reaction set
2000-06-05 19:36:06 +00:00
ache
6a455e7b42
Don't use ncurses, use termcap
...
Add DPADD
2000-06-05 19:34:31 +00:00