Commit Graph

61 Commits

Author SHA1 Message Date
tg bef8651936 * Build.sh: fix manpage generation defaults under Cygwin
* mksh.1: rework prompt ($PS1) section, simplify example,
  point to packaged dot.mkshrc example
* mksh.1: fix description of 'redraw' regarding redrawal
  of prompts longer than one screen line
* all: bump version/date
2006-08-02 11:50:30 +00:00
tg df54522223 * Build.sh: fix accidental CR-LF catastrophe
(yeah, that's what you get from developing with a
  16-bit MS-DOS(R) executable of your favourite text editor)
* lex.c, mksh.1: do not print the delimiting character for
  not-to-be-counted character sequences (i.e. ANSI escapes)
  in prompts any more, mostly because ASCII 01h is printable
  on both Interix and Cygwin and I'm lazy
  (this also fixes prompt width counting if a printable character
  such as 'x' is used as delimiting character)
* lex.c: through printing the prompt character by character,
  also print the delimited sequences if skipping, fixes some
  prompt redrawal not honouring colours stuff while not totally
  redrawing the entire prompt
2006-08-02 10:41:03 +00:00
tg ce8fd25903 fix build on Cygwin, has been broken for quite some time apparently 2006-08-02 10:02:21 +00:00
tg e65d9edc11 * use strsignal(3) not strerror(3), oops
* on GNU, that needs -D_GNU_SOURCE
* a little style(9) KNF while here
2006-08-01 12:57:07 +00:00
tg f1e8f970c4 * get dot.mkshrc sample from Debian mksh-27.4-2
* sync dot.mkshrc sample with FreeWRT r383
* add some stuff from src/etc/profile and contrib/samples/etc_profile
* sync the latter two with reality and shorten
* teach the user in the mksh installation instructions to install the sample

NB: the sample is also covered by the MirOS licence
2006-07-23 18:44:22 +00:00
tg 8f2400d002 allow Test.sh to be passed arguments 2006-07-03 12:17:08 +00:00
tg c9953f0ace adding -Wno-char-subscripts for Solaris is wrong
- I saw it on NetBSD®/alpha too
- these ought to be fixed

I've got to investigate that later.
2006-07-01 14:39:41 +00:00
tg fc87ecb1dd add a little portability 2006-06-23 15:05:39 +00:00
tg 51d6772800 move -D_FILE_OFFSET_BITS=64 (not on interix tho, sadly) - XXX where else?
and -DNEED_COMPAT
2006-05-27 20:33:01 +00:00
tg ea102ef66e fix build under Solaris 10
From: Tonnerre LOMBARD <tonnerre@bsdprojects.net>

doesn't break Solaris 8 on stinky.trash.net (tested)
2006-05-27 11:30:07 +00:00
tg 576e19b39e need confstr proto on Debian 2006-05-26 22:24:20 +00:00
tg f4ea190e65 why do I suddenly need -D_BSD_SOURCE on GNU where I didn't before? 2006-05-10 20:34:28 +00:00
tg 5726a50ab9 * shuffle around _*_SOURCE definitions (sh.h -> Build.sh), per OS
* Tonnerre Lombard reports that Solaris 10 needs _BSD_SOURCE
2006-03-19 18:06:32 +00:00
tg 8301a9bd51 flesh out regression test into an on-the-fly-generated ./Test.sh
so that the user doesn't have to copy and paste a super-long line

idea by Han Boetes and others
2006-01-27 00:50:12 +00:00
tg a0e618395e only add /bin/mksh to /etc/shells once, hint from Han Boetes 2005-10-26 08:47:19 +00:00
tg dba27d6ef4 this commentary is no longer needed 2005-10-25 21:07:21 +00:00
tg 3e688e426e Solaris and GNU/Linux have fucked up PAM, so no -static there 2005-10-25 20:59:00 +00:00
tg 7d5d3d8440 no LDSTATIC on Darwin 2005-10-25 20:54:29 +00:00
tg 91303fe9d1 if we have some C shell, use /bin/sh instead 2005-10-25 19:46:52 +00:00
tg df22a0fb1b Shuffle some stuff around to the compat functions and add glue 2005-10-25 19:46:11 +00:00
tg 309b8d635f * make 64-bit clean on GNU/Linux by default
* clean up and remove some .Xr from the man page
* bump version
2005-08-21 13:02:17 +00:00
tg ee7992988b * move <sys/param.h> include to sh.h
* fix compilation and invocation of test suite with whitespace in
  the pathnames for real, this time
* clean up (especially whitespace)
2005-07-07 23:27:52 +00:00
tg c4629baed6 adjust "hints" 2005-06-08 23:02:08 +00:00
tg eaed948075 error messages to stderr
from Han Boetes
2005-06-08 22:47:54 +00:00
tg 3b5d75318d fix -r logic 2005-06-08 22:46:06 +00:00
tg d790bd7094 Han Boetes wants a parameter for dynamically linked binaries
so I'll re-code a getopt clone

This _still_ works with Solaris /bin/sh, even if both source
and build (current) directory contain spaces.
2005-06-08 22:42:31 +00:00
tg 521da70fc8 * major revamp of build system
* whitespace cleanup; junk comment removal
* syndicate debian/copyright file from my port (shrinks sh.h)
* bump to R23
2005-06-08 21:51:22 +00:00
tg ba682b02aa adjust comments 2005-06-08 10:19:33 +00:00
tg 0df992276b mksh R22d 2005-06-05 16:38:20 +00:00
tg 0ee7babfdf * allow build without nroff
* /usr/share/man except in some very weird GNU distributions
2005-06-05 16:34:59 +00:00
tg f860e80cbc this commit made my dedicated server reboot spontaneously,
but the Pentium 120 with a Hercules graphics card (anno 1981)
survives it:

allow building and running the testsuite if the source or
build directory contain spaces (not unusual on Windows®)
2005-05-30 07:05:29 +00:00
tg a2d62f743e fix building in separate directory under non-MirOS 2005-05-28 21:30:32 +00:00
tg 7f4297f3d0 add a "quiet mode" to the build script 2005-05-25 23:44:50 +00:00
tg 1dd37a1086 need -D_FILE_OFFSET_BITS=64 on some weird OS
Debian PR 237038
2005-05-25 09:53:02 +00:00
tg 1c0262455c * Mac OSX 10.4 "Tiger"
- has an antiquated ed(1)
	  (I'm lucky it has one, some GNU/Linux don't...)
	- cannot build mksh statically linked
* Solaris (SunOS 5.8)
	- needs libdl when statically linked (NSSwitch problem)
	- /bin/sh is not XPG.4 compatible, don't use test -e
2005-05-23 17:24:23 +00:00
tg 3f7fe0e4dc though shalt not leave in debugging blahblah 2005-05-23 16:56:22 +00:00
tg 452dd16298 add a new, easier, faster build script 2005-05-23 16:48:52 +00:00
tg a90702a5a1 Initial revision 2005-03-06 15:42:55 +00:00
tg e8307f4a45 get rid of manually generated signal lists 2004-12-31 19:24:20 +00:00
tg 4c4a9323f8 unifdef: KSH
no binary change
2004-12-18 18:58:32 +00:00
tg 978a1d53a1 * reduce amount of empty lines
* replace some spaces by tabs
* shuffle code around (shrink)
2004-12-13 18:53:25 +00:00
tg 85a62c2ea2 shrink a bit 2004-12-13 17:33:35 +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 2aaea3d8d2 regenerate and auto-build h2ph test stuff,
to cope with broken OSes which don't h2ph.
2004-12-10 15:32: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 6b85a22986 leave stripping to the user 2004-11-13 17:16:22 +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 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 78a5e1d662 fixes for stuff, better display of mksh version, etc. 2004-10-28 16:35:03 +00:00