55 Commits

Author SHA1 Message Date
tg
f6e24ec417 Our times(3) just calls getrusage(2) and gettimeofday(2), converting seconds
to ticks.  Since ksh needs things in seconds it then converted them back.
Avoid the silliness and use the getrusage(2) and gettimeofday(2) directly.
With man page help from jmc@
From: Todd C. Miller <millert@cvs.openbsd.org>
2004-12-31 18:41:47 +00:00
tg
3cba14dc9d - document IFS behavior changes
- grammar, punctuation, xref, mdoc tweaks
- sort keywords
- indent example displays
- minimize against diffing between sh.1tbl
- document set -o sh
- tweak the displays of some editing and builtin commands
- rework some operator descriptions
From: Jared J. Yanovich <jaredy@cvs.openbsd.org>

These man pages are not derived from UCB and are actually public domain.
Verified with aaron@ who did the conversion from man -> mdoc.
From: Todd C. Miller <millert@cvs.openbsd.org>

- cleanup
- ", and" and ", or" lose the comma where superfluous
2004-12-31 18:22:54 +00:00
tg
245d3ed291 optimise away 2004-12-18 19:02:29 +00:00
tg
6d8b225141 make array_index_calc static and don't limit
array indices (well, to 2^31-1, but that's
for integer reasons only)
2004-12-18 18:39:10 +00:00
tg
51053f03f5 evaluate more on [ X"$foo" = X"bar" ]
use ksh features [[ $foo = bar ]] and print instead of echo
2004-12-13 19:36:27 +00:00
tg
955d52cb21 shrink a bit 2004-12-13 19:18:01 +00:00
tg
27aff60a34 finish un-OS/2-ing and un-pdksh a bit 2004-12-13 19:09:06 +00:00
tg
f4b8bc819c some manpage improvements, mostly from OpenBSD 2004-12-13 18:24:34 +00:00
tg
97d9512149 bump to mksh R19 2004-12-10 18:12:32 +00:00
tg
7920708324 Initial revision 2004-12-10 18:12:29 +00:00
tg
e2c4bce569 behaviour change: jaredy@openbsd informs me they strip
trailing IFS non-whitespace "because many sh-derived
shells have this behavious", and me checking for ksh88
on Solaris confirms it.

So, for the sake of compatibility to AT&T ksh, change
it and document the change.
2004-12-10 16:01:38 +00:00
tg
f668eac7b1 do it better 2004-12-07 18:01:50 +00:00
tg
6f06893fe2 docs updates 2004-12-07 17:57:58 +00:00
tg
bd9e0e49d3 manpage clarification
XXX 1) someone please clarify what of this, if at all,
XXX    applies to sh.1 (compiled with -DKSH) too
XXX 2) what about sh (compiled without -DKSH)?
2004-11-26 15:46:29 +00:00
tg
856e71aa7f hm, we removed the date from $KSH_VERSION a short while ago for size 2004-11-10 17:18:29 +00:00
tg
ff8192c9b9 remove mail check functionality (everybody SANE uses uw, imaps and mbx now)
update notes
fix Build.sh
2004-11-10 17:13:11 +00:00
tg
84ac6fced0 some more 2004-11-10 17:01:11 +00:00
tg
e8f4d97168 merge OpenBSD improvements
reword in parts
link to sh(C)
etc.
2004-11-10 16:52:08 +00:00
tg
7254095046 merge 2004-11-03 21:15:41 +00:00
tg
c8e06d8245 merge 2004-11-03 15:33:01 +00:00
tg
582bb62b81 add to mksh the unique ability to spawn on a different VT 2004-10-31 22:28:43 +00:00
tg
ee2d2797a4 an array shalt have 4096 entries max. 2004-10-28 16:49:13 +00:00
tg
78a5e1d662 fixes for stuff, better display of mksh version, etc. 2004-10-28 16:35:03 +00:00
tg
e0474a6042 some fixups for mksh 2004-10-28 16:19:01 +00:00
tg
2fe18b5334 use .An and .Aq for author names and eMail addresses 2004-10-28 15:07:35 +00:00
tg
06411e2978 fix PATH
add 1023/2047 array elts mentioning to manpage
2004-09-21 14:03:58 +00:00
tg
3d790d63d0 * improvements from openbsd or sh.1tbl
* remove , before or in most cases
* wrapping, whitespace, wording improvement
2004-08-27 14:21:42 +00:00
tg
3bdb721a73 merge 2004-08-27 14:08:36 +00:00
tg
26f132bfc3 finding bugs in the manpage, me, while playing with catman 2 HTML 2004-08-10 20:43:20 +00:00
tg
712a3cc064 overhaul the random stuff ;-) 2004-05-24 19:06:55 +00:00
tg
ffe14a1de4 further minor manpage fixes 2004-05-23 13:01:35 +00:00
tg
b051c6e857 * merge OpenBSD 3.5-current
* retain local changes to ls and md5 (md4, hint hint)
* fix up ksh (limits - we still have 4096 bytes input buffer;
  random usage)
* fix manpages (mdX, ksh)
2004-05-23 12:47:01 +00:00
tg
daf9f30b2f cope with GNU groff's incapability to properly escape [] chars 2004-04-29 19:06:24 +00:00
tg
ce9d26a8fb * mirbsdksh and mirosksh != rksh
* use arc4random familiy for randomness, if exists
* feed back randomness on reseed and variable assignments
2004-04-27 19:59:57 +00:00
tg
c4fec215ff back out; it slows down (interactive) work on slow machines
quite a bit, and users can seed $RANDOM in their ~/.profile
by using RANDOM=$(dd if=/dev/prandom count=1 2>/dev/null |\
cksum | while read a b; do echo $a; done) instead.
2004-04-26 18:38:20 +00:00
tg
7834ecbe3c document /dev/urandom use (ksh only) 2004-04-26 18:20:45 +00:00
tg
455051d58e another fix round 2004-04-07 16:54:01 +00:00
tg
a8f426cf13 whoops. even better. 2004-04-07 16:48:57 +00:00
tg
22d9964850 man page fixes 2004-04-07 16:38:51 +00:00
tg
1387701f49 * more sections to strip
* manpage fixes

tested on SuSE GNU today.
2004-03-22 19:03:53 +00:00
tg
a1f46dc93a the last sync with OpenBSD seems to have introduced more manpage errors 2004-03-21 00:50:40 +00:00
tg
c24eb7cf37 first part of mergeing OpenBSD and fixing whitespace and RCS IDs 2004-01-27 17:41:30 +00:00
tg
3d85d1dfe5 this should fix the manpages 2004-01-04 19:53:30 +00:00
tg
7633e936be merge OpenBSD 2004-01-03 01:24:54 +00:00
tg
5be773aea6 * merge in OpenBSD
* rename cd34.iso to cdrom8.iso

XXX gzip/compress on ramdisk in MirOS should still
XXX	be able to compress and not only decompress
XXX	files. must be revisited
2003-12-23 13:41:51 +00:00
tg
434b10fb3c Merge OpenBSD-current 2003-09-25 20:59:37 +00:00
tg
d7914be20a merge OpenBSD tree; bump MirBSD minor 2003-07-19 20:22:30 +00:00
tg
7b9892ed15 mop up, sweep clean 2003-07-09 19:02:04 +00:00
tg
f31bf084e3 new non-standard mode: -o emacs-usemeta (on by default)
from naddy@, thanks
2003-06-26 18:26:21 +00:00
tg
b8b2929b02 kludge around a bug in tbl/nroff
- when not tbl'd, it renders fine, except for the table
 - then tbl'd, it displays only 1/4 of the man page
so replace the table by a list. temporarily.
2003-06-14 11:51:40 +00:00