Commit Graph

3156 Commits

Author SHA1 Message Date
tg 7cbce8f98e quell a Fink compiler warning; not entirely correct but no harm done either 2017-08-28 23:27:51 +00:00
tg c4acfa38cc unbreak vi mode '0' movement, bug introduced in r1.323
reported by Larry Hynes <larry@larryhynes.com>
2017-08-27 23:33:50 +00:00
tg 3a4eaf6f59 fix documentation bug, thanks panpo and Riviera for spotting 2017-08-16 21:40:14 +00:00
tg 53fbbc9693 we have a FAQ now! (well, two of them, different scope though) 2017-08-10 19:25:12 +00:00
tg bee53eb667 bump 2017-08-08 21:11:20 +00:00
tg b52badd958 oh wait, actually…
• besides the previously-set $EDITOR take [jupp jstar mcedit ed vi]
  as sorted list, first one found wins
• set -eu safe, and in the lksh part
2017-08-08 21:10:21 +00:00
tg b00e5b01b4 promote jupp to default editor if installed, in the customisation section 2017-08-08 20:52:11 +00:00
tg bc1746bccb comment 2017-08-08 20:50:34 +00:00
tg 0af974d905 let hd_mksh take from stdin, great simplification 2017-08-08 20:42:16 +00:00
tg 7f7fb75205 make EBCDIC-safe 2017-08-08 20:40:25 +00:00
tg 252c4b181b perform in chunks, don’t read the entire file into memory ahead 2017-08-08 20:38:08 +00:00
tg ce64148abb always expone mksh’s hexdumper 2017-08-08 20:22:16 +00:00
tg 6327ca02f2 fix Red Hat BZ#1479320 by making interactive shells remember async PIDs too 2017-08-08 14:30:10 +00:00
tg 1fa38c9c2c optimise structure size calculation to take alignment into account 2017-08-08 14:29:23 +00:00
tg d8d8ec4466 go home Coverity, you’re drunk
code refactoring to work around it not recognising the correct code path
2017-08-08 00:03:56 +00:00
tg 23320b7a72 Coverity 1416282 2017-08-07 23:25:09 +00:00
tg a318b33ace Coverity 1416283 2017-08-07 23:23:12 +00:00
tg 144268cf94 Coverity 1416285 2017-08-07 23:15:47 +00:00
tg 5f58b04c54 fix a GCC 7 pointer target signedness warning 2017-08-07 21:56:54 +00:00
tg de7e092ad7 release 2017-08-07 21:39:26 +00:00
tg df8681e880 fixup by regenerating with new eawparse which matches what I submitted to
https://sourceware.org/bugzilla/show_bug.cgi?id=21750 even if only FF00
actually changed due to the algorithms in use
2017-08-07 21:38:55 +00:00
tg 36dcaf624b fuck POSIX 2017-08-07 21:16:32 +00:00
tg 1854fb9b3d turn off UTF-8 mode upon entering POSIX mode, for J�rg 2017-08-07 20:49:42 +00:00
tg c203e7c5b2 part 2: don’t stop using the history if the file has been truncated 2017-08-07 20:43:00 +00:00
tg bfa79a4e4b plug part of the history problems until we can do better:
do not change the underlying file when truncating; rather,
copy everything back from the tmpfile to histfd while the
latter is locked
2017-08-07 20:40:57 +00:00
tg b903a5e66a make readonly idempotent; spotted by selk from Dragora 2017-07-26 23:02:28 +00:00
tg ac262e5395 Unicode 10.0.0 2017-07-08 15:11:52 +00:00
tg ed36b0956d merge commit b0a2ea76327760a7ecf35172fe525f8aa39320b2 from Harvey-OS:
“Until sigsuspend could work propery”[sic]
2017-05-15 13:35:38 +00:00
tg 4acbb48229 exclude nōn-HPFS-safe pathname-using test from OS/2 (thanks komh)
also exclude on cygwin/msys as not FAT/NTFS-safe
2017-05-14 19:05:44 +00:00
tg fa5eb879c4 oops, reverted not enough in commitid 1005909EE7C16B07DC3 2017-05-05 22:59:36 +00:00
tg 868d982efb sprinkle tons more ord() around
this is really not funny… mksh-ng will use even more “unsigned only”
2017-05-05 22:53:32 +00:00
tg 5c72925bf3 add EBCDIC primer and attribution for iSKUNK 2017-05-05 22:45:58 +00:00
tg e2dcf35cf5 catch z/OS not having $Config not filling in the __perlpath env correctly 2017-05-05 21:17:31 +00:00
tg cc725e67ca switch EBCDIC to “nega-UTF8” 2017-05-05 20:36:03 +00:00
tg 6dc1ab0379 some more small EBCDIC fixes 2017-05-05 19:43:52 +00:00
tg 01b0c107b5 we absolutely require unambiguous mapping between EBCDIC and extended ASCII
to be able to provide a global stronly monotonous order for comparisons and
bracket expression ranges
2017-05-03 21:50:33 +00:00
tg efa4d0d2cf ensure NUL in ASCII and EBCDIC both always occurs ordinal 0 2017-05-03 17:51:06 +00:00
tg c03372e8a4 first cut at the new matching code, IT WORKS!!! in the FIRST try!
missing:
- tons of new testcases
- EBCDIC support with ASCII ordering for POSIX ranges
2017-05-03 17:48:08 +00:00
tg 515df6ab7c split and adapt some testcases for EBCDIC 2017-05-03 16:17:08 +00:00
tg 46865d7fc8 move the constants to an EBCDIC-friendly range 2017-05-03 15:36:12 +00:00
tg c4bcfd944e move magic constants into definitions 2017-05-03 15:33:16 +00:00
tg 4c5d033f75 sprinkle a few ord() and add an indicator of why some code fails on EBCDIC 2017-05-03 14:51:25 +00:00
tg 0ee37a982d move more EBCDIC logic into check.pl 2017-05-03 14:51:15 +00:00
tg d8bd19e23e handle EBCDIC in the testsuite runner (error display)
- move categories for that to test.sh, simplifying it
- $ebcdic in Build.sh is now for the target, not the buildhost
2017-05-03 13:00:10 +00:00
tg 60a9292b2f add -U to test.sh as well, oops… 2017-05-01 20:03:25 +00:00
tg 241b072099 commit my WIP for the Beltane Snapshot of the Mainframe Korn Shell, not going to make finishing it tonight ☹ 2017-05-01 19:44:29 +00:00
tg 86f45be109 nuke unused stuff 2017-05-01 19:44:16 +00:00
tg 7a68ad12d2 require Config only if it exists, which it reportedly doesn’t on OS/390 2017-05-01 19:43:23 +00:00
tg 1b3ef94b7d clarify; default to xlc(1) as $CC on z/OS 2017-05-01 19:22:53 +00:00
tg 7c433ba94b add BSDish [[:<:]] and [[:>:]] matching (angle brackets must be escaped) 2017-05-01 15:59:45 +00:00