tg
1ffa722d73
optic sugar
2006-11-09 00:13:27 +00:00
tg
0307ecb492
* instead of including <sys/cdefs.h> (not in Solaris), we hope <sys/types.h>
...
includes it for us
* autoconf-test for <sys/param.h> (not in SUSv3) existence
2006-11-09 00:11:39 +00:00
tg
9b0dbaddbf
oops, missed syntactic change
2006-11-09 00:08:25 +00:00
tg
1c7e58a9d9
use \u0060...\u0060 instead of $(...)
...
demanded by solaris /bin/sh
2006-11-09 00:06:33 +00:00
tg
84088b91d0
there is no compat.c any more
2006-11-09 00:03:37 +00:00
tg
dc9f457f24
don't use __predict_false() here either
2006-11-09 00:01:36 +00:00
tg
e97ddf1eef
some build issues
2006-11-09 00:01:04 +00:00
tg
d8de18df87
can use short form here
2006-11-08 23:50:47 +00:00
tg
1edc9c071a
fix description of setlocale stuff a little
2006-11-08 23:49:01 +00:00
tg
11fbdb4378
implement autoconf tests for langstuff; sync date
2006-11-08 23:45:47 +00:00
tg
d5c0de53e3
use shell macros instead of dupe code
2006-11-08 23:38:28 +00:00
tg
adbd7f4b74
fix native build
2006-11-08 23:24:49 +00:00
tg
0e0782c856
first attempts at more autoconf'isation
2006-11-08 23:23:41 +00:00
tg
3b29b8be87
sync
2006-11-08 23:02:30 +00:00
tg
ddeb1948b8
sync with lib/libc/string/strlfun.c
2006-11-08 22:54:55 +00:00
tg
d98866057c
* set -o utf8-hack implies set +o emacs-usemeta (the default)
...
* we're R29 (-beta)
2006-11-08 20:32:44 +00:00
tg
9e6936ac5c
irc is fun. I registered channel #!/bin/mksh in freenode.
2006-11-08 20:27:26 +00:00
tg
3d61efea7d
fix backward deletion off-by-one in non-border case
...
take #if 0'd back debugging code for a while, until
the next release comes out… you never know…
2006-11-06 19:57:19 +00:00
tg
230d52135d
remove debugging, simplify
2006-11-05 21:11:17 +00:00
tg
1b55015772
fix that inherited pdksh buglet as well... the xlp wasn't invalidated once…
2006-11-05 21:00:08 +00:00
tg
45f1602850
nuke some of the dbg
2006-11-05 19:56:20 +00:00
tg
a3331fd8e9
fix another cursor positioning glitch (cause for \b at x_col == 0)
2006-11-05 19:48:58 +00:00
tg
b03ed7b315
* catch limit off in x_redraw (bytes vs chars vs curpos)
...
XXX should probably be screenpos, might need to use x_size* here
XXX this seems to be the tab bug I noticed which we inherited from obsd
* catch backspace if x_col == 0 (XXX better)
2006-11-05 19:35:52 +00:00
tg
47daa0eadc
fix issue with line splits inmidst of multibyte characters
2006-11-05 19:15:15 +00:00
tg
6b02a01833
track down an off-by-one and a segfault
2006-11-05 19:12:41 +00:00
tg
33ac6cb0d9
multibyte search-character-{for,back}ward
2006-11-05 17:54:46 +00:00
tg
72f958edea
fix deleting AND moving left
2006-11-05 17:34:39 +00:00
tg
15fd277841
delete and move word fore- and backwards by the right amount, too
2006-11-05 17:24:00 +00:00
tg
260eaa9d51
eliminate segfault
2006-11-05 17:11:25 +00:00
tg
5e2e209d51
make this R29(beta), mksh -U turn on (or setlocale), and document.
2006-11-05 17:01:47 +00:00
tg
abe860d486
fix deleting forward with count
2006-11-05 16:53:34 +00:00
tg
aa867d19bb
if we can't delete, keep position, as before
2006-11-05 16:48:17 +00:00
tg
dba2dec094
backspace counting
...
rest'll follow
2006-11-05 16:43:57 +00:00
tg
cc261c7968
make backspacing (and moving forward and backward) work perfectly
...
(in Emacs mode, of course) - for count=1 only though (yet)
2006-11-05 16:41:02 +00:00
tg
4787566fb6
multibyte insertion, the Plan 9 way
2006-11-05 16:10:10 +00:00
tg
08d3457cff
utf hack depends on emacs-usemeta off (the default)
2006-11-05 15:36:09 +00:00
tg
a373d2e7ab
first part of utf-8 ability in mksh, already works pretty well
2006-11-05 15:31:37 +00:00
tg
1547b04e66
add new "set -o utf8-hack", currently no effect
...
set automatically on startup if we have locale functions (on MirOS)
2006-11-05 12:11:14 +00:00
tg
02c14f2a62
use the same idstring stuff everywhere, makes sense
2006-10-03 19:46:14 +00:00
tg
fe3ada7780
sync with src/sys/sys/cdefs.h,v 1.11
2006-09-30 02:23:22 +00:00
tg
7ae68e335c
* avoid unaligned memory access causing SIGBUS on IA-64 (Itanic)
...
(incidentally, the information xor'd now is more random)
only affects non-arc4random targets
* bump version
2006-09-30 02:13:21 +00:00
tg
367186ecbc
something about the strength-reduce bug being fixed
2006-09-29 19:33:48 +00:00
tg
c65efd6fd4
of course, I had to screw up
...
tested on Debian stale:
| Total failed: 1 (as expected)
| Total passed: 213
| tg@flyingfish:~/mk b $ uname -a
| Linux flyingfish 2.6.13.1-grsec-aurisp #1 Wed Sep 28 15:13:07 CEST 2005 i686 GNU/Linux
2006-09-21 22:12:05 +00:00
tg
582aebf1c4
shebang, she don't work with spaces
2006-09-21 22:09:41 +00:00
tg
bd6d364c22
fix posix-mode-1 test on GNU/Linux:
...
grep: write error: Bad file descriptor
2006-09-21 22:08:26 +00:00
tg
851e2d1bdb
pasto: forgot these
2006-09-21 22:05:46 +00:00
tg
3dd0c521d0
use the easier __RCSID() etc. stuff from current <sys/cdefs.h>
2006-09-21 22:03:23 +00:00
tg
74efecaff0
no _POSIX_C_SOURCE=200112L for now, it works without on Solaris 8
...
and only without on "opensolaris build47 x86 32-bit"
reported in irc #ksh by <IvanR_> ivan@babylon-5.seppuku.net (Ivan Richwalski)
thanks
2006-09-13 23:07:10 +00:00
tg
f2eafb3044
fix description of $RANDOM, which is not limited to 15 bit any more
...
as a device to determine whether arc4random(3) is in effect or not.
2006-09-13 16:14:29 +00:00
tg
aeb7922065
fgrep on some slowlarisen doesn't know -q
2006-09-07 13:25:14 +00:00