Commit Graph

2904 Commits

Author SHA1 Message Date
tg
ff0d4b4121 1.17 and correct some typos in the test scripts 2004-12-05 16:16:32 +00:00
tg
f680d29969 * sync strlfun.c
* update licence
* update to mksh 1.17
2004-12-05 16:10:58 +00:00
tg
d3e5bf1ef2 * replace all occurences of old eMail addresses of mine
with their more recent counterparts
* no $Log keyword!
* update licence template to most recent version in files touched
* in some places, don't add our own licence boilerplate, just
  add my name to the others
* make dev/rndvar.h suitable for inclusion in asm code
* include dev/rndvar.h by in_cksum.s instead of
  hardcoding pool size
* ENTRY(a); ENTRY(b) -> NENTRY(a); ENTRY(b)
* RCS IDs belong into .comment not .text
2004-12-05 13:24:34 +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
9fec84ac8e commit jaredy's fix as well as a fix of mine (fed back to jaredy)
now passes 193 tests
2004-11-26 15:43:53 +00:00
tg
5cb41399fe add a regression test which our current mksh does not pass,
but the one fixed by a diff by jaredy@openbsd (which intro-
duces other problems though):
Log message:
Change the behavior of IFS word-splitting:  split words
when the current character is IFS space and the last
character was a word character or it was non-white IFS
space and the current character is non-white IFS space.
This deviates from the previous behavior because the
latter splits words when the last character is any IFS
space and the current is non-white IFS, resulting in
more fields most of the time.

This new behavior follows what the man page describes;
i.e., that a field is delimited by one or more IFS
whitespace characters followed by zero or one non-white
IFS characters.
2004-11-26 15:30:15 +00:00
tg
6b85a22986 leave stripping to the user 2004-11-13 17:16:22 +00:00
tg
6612f83855 did. anybody. ever. say. this. is. ok. in. HEAD? 2004-11-13 01:55:35 +00:00
tg
95bc91bffb nicen error msg (post-1.16!) 2004-11-10 20:08:21 +00:00
tg
c53499b45e * Build.sh: bail out early if build failure
* Build.sh: fix manpage name
* chvt.c: Solaris:
   chvt.c:57: `TIOCSCTTY' undeclared (first use in this function)
* chvt.c: GNU/Linux:
   /tmp/ccrAeq0h.o(.text+0x5e): In function `chvt':
   : warning: warning: revoke is not implemented and will always fail
* sh.h: let it only change to .section .comment ifdef __ELF__
2004-11-10 19:58:06 +00:00
tg
53f8234d04 sync with ksh's idea of __attribute__(()) 2004-11-10 17:31:38 +00:00
tg
d3e9042073 sync with my idea of __RCSID() 2004-11-10 17:29:55 +00:00
tg
7037f90d4d sync and bump to 1.16 2004-11-10 17:22:14 +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
cff4fe1b0c restore text of original licence clause, even if it's got bad chars in it 2004-11-01 12:30:09 +00:00
tg
ecaaa15aa7 whitespace fix in comment 2004-11-01 12:27:22 +00:00
tg
517090d4b2 no cksum builtins, I dream of 64 bit mksh rather 2004-11-01 12:17:47 +00:00
tg
06f6a128a8 unify usage of spaces vs tabs 2004-10-31 23:02:05 +00:00
tg
8581802651 apparently fix coredumps 2004-10-31 23:01:18 +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
8d8e1fe56d you wouldn't expect RCS to play games with my hea^H^H^Hkeywords, would you? 2004-10-28 16:57:47 +00:00
tg
95a80834c9 regen, sync 2004-10-28 16:49:49 +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
f69ea9226a mirbsdksh (portable) now installs as mksh(1) 2004-10-28 16:08:32 +00:00
tg
2fe18b5334 use .An and .Aq for author names and eMail addresses 2004-10-28 15:07:35 +00:00
tg
b2de14e57c run GNU protoize
protect header files
nuke some dead code
regenerate configure script
let silly code die
2004-10-28 11:53:44 +00:00
tg
dc7da8ddbf 2004-10-28 11:46:54 +00:00
tg
75e25d6e50 de-register, de-inline, de-__P 2004-10-28 11:11:19 +00:00
tg
7ad780aa98 -Wall -Werror -W -pedantic clean 2004-10-28 11:03:24 +00:00
tg
06411e2978 fix PATH
add 1023/2047 array elts mentioning to manpage
2004-09-21 14:03:58 +00:00
tg
ecdd4d5568 unify spacing of RCS IDs 2004-09-21 11:57:17 +00:00
tg
b2d9d27384 unify LINE/CMDLEN 2004-09-21 11:42:29 +00:00
tg
60cde7c92e another PATH_MAX 2004-09-21 11:37:29 +00:00
tg
9d91c29d45 use PATH_MAX instead of hardcoding 2004-09-21 11:33:41 +00:00
tg
6c341ba97b advice to use mksh, not mirbsdksh, as the executable name
as per shell naming convention
2004-09-11 18:32:26 +00:00
tg
d78fc404ff since some Debian GNU/Something people don't get it, add another
explicit notice to the already existing notice to set $SHELL in
the build environment to a compatible shell

argumenting with POSIX doesn't count: it doesn't count leap seconds.
2004-09-03 20:02:49 +00:00
tg
6b5d33de78 * I got tricked by <gecko2> to add install documentation!
(Well, he's a Mac user, so let's help these poor children
   if they don't know how to do it themselfes ;-)
* fix stripping (now that I know elf.sc by heart...)
* fix catmanpage generation
* detect if catmanpage or stripped binary are generated
2004-08-27 20:05:42 +00:00
tg
44d697ade6 * Build.sh: fix a bug preventing build on MirOS #7-stable (sparc)
* rnd.c, sh.h: style
2004-08-27 14:55:45 +00:00
tg
1a71943d5a mirbsdksh 1.12 2004-08-27 14:29:55 +00:00
tg
d222647516 sync 2004-08-27 14:26:39 +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