Debian Codegraph @

ChangeLog

raw
1 Author: Mark Moraes <[email protected]>
2 Date: Fri Aug 7 02:43:53 2026 -0400
3
4 5.0.0: SEMVER from now on
5 [vixie] moved to c89, rely on posix headers declaring standard functions
6 will not compile with classic C compilers -- if you still use an ancient
7 machine without c89+posix, stay with 4.17.*. gcc15 and clang19 no
8 longer complain or error, so c2x now works.
9
10 avoid testdeb on debian older than 10 (debian 8 needs
11 --force-yes because of some expired keys, and debian 9
12 cannot find /usr/share/dpkg/buildtools.mk)
13
14 get rid of warning for environ on MinGW
15
16 pkg/deb/testdeb.sh no longer needs/uses pbuilder, uses standard crossbuild
17 testbuild.sh runs it to produce .deb on ubuntu or debian platforms
18 seems to work for x86_64, i386 and arm64 on github (tested by hand for
19 armhf too)
20
21 Makefile tgz can override name with JOVETAR variable for convenience,
22 used by pkg/deb/testdeb.sh. get some common fields from debian/control
23 for dsc in pkg/deb/testdeb.sh.
24
25 newer gcc apparently do some sort of overloaded function
26 declaration so strchr and strrchr return type is the same as
27 the first arg, fix that in io.c:backup_name, util.c:jbasename and
28 c.c:m_paren.
29
30 testbuild.yml: updated platforms, put OS names on .github/workflows DIST artifacts
31 run testdeb.sh from testbuild.sh (no need for pbuilder) for ubuntu or debian
32
33 pkg/dos/ to automate the build with OpenWatcom under doxbox
34 tune.h fix so this compiles with OpenWatcom/dosbox again
35 tweak to testbuild so mingw crosscompiles for Windows work
36 (linker needs -lssp_nonshared)
37
38 fixed the main jove doc to reflect new abbreviation codes
39 that match the abbreviation commands consistently (change
40 made in 4.17.5.5)
41
42 fix jspec.in to also specify groff-base
43 try groff-base for yum, hope that works on rocky8
44
45 fix: a function declaration without a prototype is deprecated in all versions of C (clang19)
46
47 remove ttyname declaration (systems that want biff
48 support had either better have fstat+fchmod or declare
49 ttyname in unistd.h) nuked ancient biff/comsatd support.
50 if you remember what that is, congratulations.
51
52 delete popen declaration, who has OSF/1 and I very much
53 doubt c2x Jove compiles/works on it anyway, old systems need
54 to stay with 4.17.
55
56 remove more ancient/pre-POSIX/untested stuff: TERMIO, SGTTY,
57 USE_GETWD/USE_PWD, WAIT3 or BSD_WAIT.
58
59 updated sysdep.txt to delete obsolete config options
60
61 removed one more unnecessary extern for _exit()
62
63 removed all declarations that would appear in C89 or POSIX.1 standard headers
64 (I think POSIX.1 1988 ought to be fine, though hard to say since all machines
65 I can test are far more modern and conform to 2001)
66
67 restored JSSIZE_T so Windows builds again.
68
69 Tweaks to testbuild.sh to test mingw and pipeprocs.
70
71 no longer use -u on jmake since it causes a spurious failure in some situations
72
73 [vixie] remove spurious abort()
74
75 [vixie] stop calling strdup, make some Bufpos "const"
76
77 [cord] Update jove.nr. replaced .UX Macro,
78 rewrapped to max 80 chars, removed trailing whitespace
79
80 ensure that testbuild PIPEPROCS installs portsrv via PORTSRVINST=1
81
82 fix windows cross-compile issues from Fill redefinition,
83 new brew location for MacOS
84
85 nix will need more experimenting (probably some nix-channel stuff) because
86 otherwise, testbuild cannot run, there is no uname, so will need to install
87 coreutils (perhaps if /nix exists or suchlike, tbd)
88
89 add Darwin to jmake.sh
90
91 newer macos need to get groff from brew. try nixos container as well
92
93
94 Author: Mark Moraes <[email protected]>
95 Date: Thu Feb 27 08:50:25 2025 -0500
96
97 4.17.5.5: restore mode-line indicator for show-match-mode, rename
98 all strings to provide clue to the command to turn them off.
99 update to debian Brazilian translation
100 https://github.com/jonmacs/jove/issues/25
101 NOARGS macro for functions with no arguments
102 replace bool with jbool for c23 (bool is a keyword)
103 jmake.sh: ask for c89 (hopefully avoids complaints re:
104 old-style protos). Search for gcc on SunOS to address
105 https://github.com/jonmacs/jove/issues/23
106 add tmux terminal to builtin jtc
107 fix some github actions bitrot
108
109 Author: Mark Moraes <[email protected]>
110 Date: Thu Nov 30 02:48:10 2023 -0500
111
112 4.17.5.4 continued: get rid of ubuntu containers since docker pull fails,
113 not sure why. fix workflows typos and skip ctags for Rocky
114 even more elaborate hackery to fixup apt sources.list
115 for archived debians like 8 and 9. add rockylinux:9
116 removal of sys/stat inclusion in recover.c broke mingw (and probably DOS)
117 fixed it (in scandir.c) to work in both (probably also now works
118 for the not-tested-in-years classic Mac port)
119 testbuild: debian 9 regression no longer gets all the security repos,
120 so continue if apt update fails
121
122 Author: Mark Moraes <[email protected]>
123 Date: Tue Nov 28 22:52:00 2023 -0500
124
125 4.17.5.4 made jove compile and run on a BSD4.3 image
126 running under simh. A few modernisms had crept in,
127 but one bug (trying to use sg[].t_susp instead of ls[].t_susp
128 in kbd_sig, send_oxc in iproc.c) seems to date back to 4.16beta!
129 Fun things I had forgotten:
130 * mkdir -p, test -d did not exist
131 * ! and type did not exist in the shell
132 * UL suffix did not exist for constants
133 * ternary cannot have two different pointer types (void * vs char *)
134 * include files are not protected against double inclusion
135 * did not have S_ISDIR(x), use (x * S_IFMT) == S_IFDIR)
136 * recover.c used strerror
137
138 Author: Mark Moraes <[email protected]>
139 Date: Sun Mar 19 16:58:00 2023 -0500
140
141 4.17.5.3 put qref and example.rc in DDOCDIR (e.g
142 /usr/share/doc/jove), update README to mention docs.
143
144 Author: Mark Moraes <[email protected]>
145 Date: Sun Feb 26 17:31:00 2023 -0500
146
147 4.17.5.2 fix https://github.com/jonmacs/jove/issues/15
148 macros in joverc run immediately after the execute-macro
149 command is processed (disallow macros from sourcing joverc
150 to avoid a corner case that seems of low value), added
151 doc/test*.rc to test rc handling.
152
153 fix https://github.com/jonmacs/jove/issues/20 trims
154 trailing whitespace off empty lines between paragraphs
155 in comments
156
157 per @C0RD for Debian conventions (probably other Linux too),
158 Makefile now installs jove.man.pdf and jove.man.txt to
159 DOCDIR, defined as $JOVEHOME/share/doc/jove by default
160 (instead of SHAREDIR), fixed pkg/deb/debian/jove.docs to
161 match.
162
163 Added a few NOTREACHED after complain() and finish().
164
165 Author: Mark Moraes <[email protected]>
166 Date: Thu Feb 23 16:56:50 2023 -0500
167
168 4.17.5.1 remove doc/jem.rc, add doc/test.rc (some
169 regression tests for joverc processing)
170
171 fix https://github.com/jonmacs/jove/issues/17 and
172 https://github.com/jonmacs/jove/issues/18 (often fails
173 to fill last word in para) by reverting one change from 4.16.0.74.
174
175 remove keychart. (causes trouble on Windows/DOS, not needed)
176
177 rename *.doc to *.txt since everything expects .doc to
178 be Microsoft Word files. Delete generated file before copying
179 new one over it. remove cleanall target, added distclean synonym
180 for clobber. install teach-jove and jove.qref with cmds.doc
181 target for simplicity. generate jove.man.pdf rather than jove.man.ps.
182 rename jove.man to jove.man.txt for consistency (redhat pkg did this
183 already)
184
185 Author: Mark Moraes <[email protected]>
186 Date: Mon Feb 20 19:19:35 2023 -0500
187
188 4.17.5.0 continued: forgot to put Beginner_Help call in jove.rc.in,
189 (renamed jem1.txt to jem.text, and removed jem1.hlp, since new teach-jove
190 command can replace about-jove mini-description). No real need for full
191 jem.rc (those function key bindings clash with others, which would be
192 confusing, and don't work in modern window systems anyway, since many of
193 those function keys are intercepted by the desktop!)
194
195 install jove.qref and jem.txt in SHAREDIR
196
197 lower threshold to move objects from near to far in Makefile.wat so we can
198 raise stack DOS build from 11000 to 18000 (since 11000 caused a stack
199 overflow at least once -- 11500 did not, but seems worth some headroom;
200 still handles about 35000 lines in a 200K executable)
201
202 fix jexecpath bugs on NetBSD, FreeBSD (typos, stdbool clash),
203 OpenIndiana (need getCWD before fixrelpath is called)
204
205 Author: Mark Moraes <[email protected]>
206 Date: Mon Feb 20 13:55:43 2023 -0500
207
208 4.17.5.0 continued: WIN64 (x86_64-w64-mingw32) should build and work
209 (JRWSIZE_T definition, avoid couple of ptr->unsigned long casts in
210 debug printf)
211 avoid "Unexpected" or "malformed" complaint when "else"
212 or "endif" is followed by whitespace in joverc
213 remove couple of dups in jove.qref
214 fix typo ('0' should be '\0' in getvar(), fixes ifvar)
215 adopt Debian jem* files if no .joverc or env var JOVENOHELP is not set to 1
216
217 Author: Mark Moraes <[email protected]>
218 Date: Wed Jan 25 00:16:41 2023 -0500
219
220 4.17.5.0 continued: If SHAREDIR or LIBDIR are relative paths, interpret
221 them as relative to the directory from which the jove binary was run
222 (i.e. BINDIR) which makes more sense in most situations, does
223 not get confused if one uses cd or pushd, and allows us to
224 create relocatable/portable Jove installations (particularly
225 useful on Windows or DOS)
226 increase 9 to 15 for MAXBASENAMELEN so that .exe and teach-jove fit.
227 ensure that SyncRec is called after a buffer is unmodified
228 (usually because it was saved) to avoid being asked to recover
229 buffers with contents older than the saved version after a
230 system or jove crash/kill.
231 Use jamstrcat instead of jamstrsub for features, also use
232 jamstr* to check some string ops in PathParse (though they are
233 probably ok)
234 Update teach-jove tutorial somewhat.
235 Remove redundant install and DESTDIR in Debian pkg sample, since
236 dh_auto_install adds those anyway.
237 Some tweaks to sysdep.h and tune.h
238 i686-w64-mingw and alpine static in testbuild use
239 relative SHAREDIR & LIBDIR so those can be copied and run
240 anywhere without installation.
241 JMAKE_RELATIVE=1 env var causes jmake.sh to set DESTDIR, JBINDIR,
242 JSHAREDIR, JLIBDIR appropriately to exploit relative
243 SHAREDIR, LIBDIR
244 Added mingw and musl-static builds to jmake.sh (both use
245 relative) and simplified testbuild.sh
246 Copy ChangeLog to DOS zip as changelg.txt, and doc/teach-jove
247 as teachjov.txt
248 teach-jove and relative features mean slightly smaller stack for DOS
249 Updated README.dos and README.win
250 Tried to make WIN64 (x86_64-w64-mingw32) build work, still does not work.
251 some cleanup reported by pedantic on win32.c, proc.c,
252
253 Author: Mark Moraes <[email protected]>
254 Date: Mon Jan 9 22:34:02 2023 -0500
255
256 4.17.5.0 unnoticed bugfix to joverc, just build and test tweaks
257
258 Makefile tweak so nothing is written to pwd on install
259 target if the all target was already run with the same
260 variables by generating files in tmp before copying if
261 different.
262
263 created pkg/rpm and pkg/deb dirs, moved jspec.in to pkg/rpm
264 added a sample derived from Cord's debian packaging info to
265 pkg/deb along with a testdeb.sh script that runs pbuilder to
266 generate pkgs for amd64, arm64 and armhf as a test of cross-build.
267 Add pkg to tgz, plus some other .filelist cleanup (include jove.spec)
268
269 added some notes to pkg/RELEASE about tagging and building a release
270 on github.
271
272 updated some of the test environments in github actions to
273 more recent ones.
274
275 put old/ back into github automatic release tarballs since
276 it is mentioned in README as a source for info about older sysdep.
277
278 testbuild.sh: try to put human-friendly distro name and ver
279 in output. automate sudo guesswork and provide env var SUDO
280 override, no need for --sudo-preinstall option. add
281 --force-yes in addition to -y to avoid interaction for apt
282 install of prereqs. Invoke pbuilder if available to
283 generate deb pkgs (but we do not add it automatically as a
284 prereq, pretty expensive, plus seems unhappy inside container)
285 use gzip instead of bzip2 since latter is sometimes missing on
286 some platforms.
287
288 joverc handling (commands.*, vars.*, keys.txt) Backed
289 out of bsearch that I tried in 35dc21ae 4.17.3.2 since
290 it does not provide the first-unambiguous-match
291 behaviour. But now generate cmdidx and varidx in
292 setmaps for a little less code in Jove.
293
294 added teach-jove command and -T option to Jove to invoke it,
295 removed standalone teachjove executable which was a nuisance
296 (relied on cp so did not work on Windows/DOS). replaced
297 teachjove.c with teachjove shell script for compatibility,
298 but wonder if we can just get rid of those, less namespace
299 pollution.
300
301 removed duplicate/obsolete config from
302 pkg/deb/debian/jove.rc (which goes in /etc/jove/jove.rc
303 on Debian)
304
305 Author: Mark Moraes <[email protected]>
306 Date: Sun Dec 18 02:52:09 2022 -0500
307
308 4.17.4.9 screen.c remove vestigial unused variable 'col'
309 (causes complaints on FreeBSD 13.1)
310
311 Author: Mark Moraes <[email protected]>
312 Date: Sun Dec 11 16:27:21 2022 -0500
313
314 4.17.4.8 jmake.sh: pass CC through, accept JMAKE_UNAME
315 as override for uname. only use CC=gcc for Linux
316 reverted a bit of da9018786dcb2e4a30f3f63ecd5081fc710d50e1
317 to use SYSDEFS instead of CPPFLAGS, because FreeBSD does not have the
318 latter as part of .c.o, sigh. So we're back to SYSDEFS for -D or -I
319 and OPTFLAGS for -O or other oddball compiler flags.
320 default to gcc-style optflags, only change that for SunOS or unknown.
321
322 testbuild.sh --preinstallonly or --sudo-preinstallonly
323 exits after prereq package install without building, useful for
324 updating containers. make rpm more robust for old containers
325 that may have an previously installed jove, use TB_MACH instead
326 of hardwired x86_64
327
328 Author: Mark Moraes <[email protected]>
329 Date: Fri Dec 4 20:20:45 2022 -0500
330
331 4.17.4.7 recover.c: changed copystr to copystrs in to
332 avoid sprintf to fixed size buffer that generated
333 many complaints.
334 setbuf on pipe seems unnecessary on modern machines/libc.
335 missing space in error message
336
337 testbuild.sh: for apt case, use OPTFLAGS from Cord debian hardening
338
339 Author: Mark Moraes <[email protected]>
340 Date: Fri Jul 8 03:39:05 2022 -0400
341
342 4.17.4.6 ifdef jove-{compiled,linked}-with variables for
343 UNIX or MINGW in vars.tab, to match jove.h (the variables
344 get defined by lines appended by the Unix Makefile to keys.c)
345
346 fix missing case where long line did not set the
347 error flag and therefore did not rename the buffer to a
348 temporary name (same issue noted by Adam Sjøgren,
349 partly fixed in commit
350 2a256983c9d4026c5745f4ea333d9140f9a6c24a, Mar 14, 2020)
351
352 clean removes */*.tmp files
353
354 jmake.sh looks for pkgconf before pkg-config since it's the
355 new cool thing...
356
357 some /etc/*-release are symlinks, testbuild.sh was skipping those.
358
359 Author: Mark Moraes <[email protected]>
360 Date: Tue Jul 8 00:38:41 2022 -0400
361
362 4.17.4.5 apt case in testbuild installs bzip2 and dpkg-dev
363 Replace buildflags.sh complexity with jmake.sh
364 Makefile uses modern CPPFLAGS, CFLAGS,
365 LDLIBS convention instead of SYSDEFS, OPTFLAGS and
366 TERMCAPLIB, EXTRALIBS (though the latter should still
367 work if the former aren't used).
368 Changed from repeated invocation of buildflags.sh
369 to a single jmake.sh wrapper (also easier to bypass
370 completely), jmake.sh will invoke
371 dpkg-buildflags if it exists, per
372 https://github.com/jonmacs/jove/issues/11 and
373 https://wiki.debian.org/HardeningWalkthrough
374 Added jove-compiled-with and
375 jove-linked-with variables to make it a bit
376 easier to find out post-facto what the flags
377 and libraries and compiler/linker options were.
378 Fix spurious uninitialized-variable complaint in io.c
379 Ensure initial modeline update on Windows
380
381 Author: Mark Moraes <[email protected]>
382 Date: Sun Jun 5 20:19:02 2022 -0400
383
384 4.17.4.4 incorrect regexp in doc/jove.rc
385 add documentation for insert-variable
386 remove the -ms docs from the all: target since
387 many Linux do not install -ms macros with groff,
388 and those are only needed for formatted manuals,
389 not the online help. fdocs target will build them.
390
391 commit 6482cdc0d5cb7ee6e50fb18b8cf0369be769c33d
392 Author: Mark Moraes <[email protected]>
393 Date: Sun Jun 5 20:19:02 2022 -0400
394
395 4.17.4.3 fix testbuild.sh to run on Debian Hurd.
396
397 commit 71fe53cf1a864ce0a60120a7a3d06f583ce4fc81
398 Author: Mark Moraes <[email protected]>
399 Date: Sun Jun 5 19:33:42 2022 -0400
400
401 4.17.4.2 move preinstall from testbuild.yml to testbuild.sh
402 to reduce duplicate code
403
404 generate binaries and docs in DIST artifacts from github actions
405 as part of all test builds
406
407 move more old platform comments (Xenix, OSF/1 etc) for
408 other compiler and link flags from Makefile to README for consistency.
409
410 use only spaces in version.h to make it simpler for BSD
411 sed (no \t, did not want to put literal TAB in Makefile,
412 something might eat or munge it)
413
414 update buildflags for Debian Hurd
415
416 commit b36f587cf4990a266812d48a38ae73bbdb3ef12a
417 Author: Mark Moraes <[email protected]>
418 Date: Mon May 30 01:51:27 2022 -0400
419
420 4.17.4.1 fixed sysdep.h, buildflags.h and jspec.in so Linux
421 now uses GLIBCPTY (aka OPENPTY, BSDPOSIX_STDC rather than
422 SYSVR4) since modern Linux (Debian 10 on, Alpine 3.13) seem
423 to hit the issue reported in
424 https://github.com/jonmacs/jove/issues/6 where the exit of
425 interactive shells (when they see an EOF) confuses Jove.
426
427 Added CentOS, Fedora, Alpine to the github actions build matrix.
428
429 commit bba72938670cc350c45adc47222827382a5ea4a2
430 Author: Mark Moraes <[email protected]>
431 Date: Sat May 28 17:05:45 2022 -0400
432
433 4.17.4.0 fix nasty bug I introduced to recover in 4.17.2.8,
434 forgot to pass buflist to erealloc, resulted in uniitalized
435 memory references, would mess up badly on recovery files
436 after the first set. Now passes valgrind cleanly. Also
437 simplified option parsing a bit, added -r to also override
438 the RecDir from cmdline, accept double-dash options as well,
439 produce Usage for any unknown option, heuristic to detect
440 missing argument. Use emalloc in place of malloc in a few places.
441
442 commit 716ee39f1503f162aa2add7b387da0cfb7596867
443 Author: Mark Moraes <[email protected]>
444 Date: Mon Dec 6 00:00:59 2021 -0500
445
446 4.17.3.9 ignore switch "--" on command-line so that visudo works
447 https://github.com/jonmacs/jove/issues/7
448
449 commit 89aa22d940cbc72386b59599ce403e96a64830ee
450 Author: Mark Moraes <[email protected]>
451 Date: Tue Jul 6 22:51:29 2021 -0400
452
453 fix build on precise
454
455 commit a155b00139e1c6ca7da676a2dccf8548b93ae3a8
456 Author: Mark Moraes <[email protected]>
457 Date: Fri Mar 19 23:51:37 2021 -0400
458
459 4.17.3.8
460
461 Added ChangeLog and LICENSE to MISC so 'make tgz' gets them
462 Skip old/* for github autogeneration
463 Mark *.ico binary
464
465 commit 1417da64acb0ba9c8a0232d854f6d9b467c688cd
466 Author: Mark Moraes <[email protected]>
467 Date: Mon Mar 15 00:50:16 2021 -0400
468
469 4.17.3.8
470
471 Do not fail build if ctags is missing.
472
473 Improve error message from MakeTemp failure to show what
474 caused it.
475
476 MINGW needs NO_MKSTEMP because Windows mkstemp unlinks the
477 filename, which is needed for filter-*.
478
479 Fix two long-standing bug in Windows: shell-command used to
480 crash on Win10 with code c0000005 because close(0) seemed to
481 mess up input events, and filter-region did not work because
482 InFName was not being being honored in the WIN32 ifdef.
483
484 Tried to fix problem where Win10 waits for first event
485 to update mode line. Helped sometimes, but still does
486 not work consistently.
487
488 commit b969d8967ebefb678131dcfc4f70cfe054b31bb2
489 Author: Mark Moraes <[email protected]>
490 Date: Mon Feb 22 20:05:50 2021 -0500
491
492 4.17.3.8 in-progress
493
494 remove update flag for travis homebrew to see if that's fixed,
495 should speed up Mac builds a lot.
496
497 commit 043aaab5c8d4e71d4f40449a062dc870cf360e1c
498 Author: Mark Moraes <[email protected]>
499 Date: Fri Feb 12 19:10:59 2021 -0500
500
501 4.17.3.8 in-progress
502
503 Fix buildflags.sh for SunOS aka OpenIndiana.
504
505 Add +e to end of script so internal travis errors do not cause
506 regression to fail.
507
508 commit 71b074fdf0dbfeede6b4b79323ef9d40f65a3b2f
509 Author: Mark Moraes <[email protected]>
510 Date: Fri Feb 12 18:52:49 2021 -0500
511
512 4.17.3.8 in-progress
513
514 Updated Makefile to support 7z or other zip/archiver commands for 'make zip'
515
516 Improved buildflags pkg-config test slightly
517
518 Updated README to describe package prereqs on many distros,
519 clarify that buildflags defaults to/fallsback to JTC in many cases.
520
521 commit 4b549fd67ba113afc14a89217b21dc483b377ce8
522 Author: Mark Moraes <[email protected]>
523 Date: Fri Feb 12 02:03:29 2021 -0500
524
525 4.17.3.8 in-progress
526
527 fix mention of README.w32 -> README.win in README
528
529 remove s390x from test platforms, seems to take a very long
530 time and has never yet exposed a problem that other
531 platforms didn't also expose.
532
533 commit 81f448aab8899b05ca6d8921e344f434ce3a9986
534 Author: Mark Moraes <[email protected]>
535 Date: Thu Feb 11 22:59:07 2021 -0500
536
537 4.17.3.8 in-progress
538
539 travis ubuntu precise seems to fail (though log shows it succeed?!), works
540 on docker of 12.04, so switching to trusty for old ubuntu and add focal
541 for newest.
542
543 commit a9985e2bf0a62eb3c7cbb1a7e95872a954c40f28
544 Author: Mark Moraes <[email protected]>
545 Date: Thu Feb 11 01:52:24 2021 -0500
546
547 4.17.3.8 in-progress
548
549 remove tabs from .travis.yml
550
551 commit 0b927d2ac1158889c02cc904c5095994b80bab25
552 Author: Mark Moraes <[email protected]>
553 Date: Thu Feb 11 01:45:17 2021 -0500
554
555 4.17.3.8 in-progress
556
557 Rename PPchar in setmaps to PPkey to avoid duplicate in tags.
558
559 Add testmailer.sh to test recover -syscrash, also added support
560 for JOVERECDIR to override default recover -syscrash destination
561 (and code to mkdir it if needed). Other recover cleanup
562 for error messages.
563
564 commit ed750ba32e364e2dde0cf889f466a6e216938f86
565 Author: Mark Moraes <[email protected]>
566 Date: Thu Feb 11 01:40:07 2021 -0500
567
568 4.17.3.8 in-progress
569
570 Added buildflags.sh utility script to intuit typical SYSDEFS
571 (via --cflags) and TERMCAPLIB (via --libs) for most modern
572 systems (*BSD, Linux, Solaris, MacOS X). The small overhead
573 on each compile line seems well worth the ability for most
574 people to not have to read the build docs. Updated .travis.yml
575
576 Renamed README.w32 to README.win (clearer), moved README.cyg
577 to old (normal README is fine for modern Cygwin)
578
579 Removed EXPERIMENTAL comment on JTC, I've been happy with it
580 for a year on a few systems (mainly Linux).
581
582 Other documentation touch-ups.
583
584 commit a6b7300941c02d75da4df3ed12aa81e58bfb0e20
585 Author: Mark Moraes <[email protected]>
586 Date: Thu Feb 11 01:35:34 2021 -0500
587
588 4.17.3.8 in-progress
589
590 updated comment to indicate mac.c historical status
591
592 moved README.mac to old to avoid confusing modern Mac users.
593
594 commit 9eee27ae206ff8fc0960fc923d85e4d02f795455
595 Author: Mark Moraes <[email protected]>
596 Date: Fri Jan 29 11:30:14 2021 -0500
597
598 4.17.3.8 in-progress
599
600 fixed branch name for travis
601
602 commit ffaffa2acfd837a985aa2a1f5bed538d5d8fa551
603 Author: Mark Moraes <[email protected]>
604 Date: Fri Jan 29 00:59:47 2021 -0500
605
606 4.17.3.8
607
608 Jove now cross-compiles with MinGW (mingw-w64 4.0.4-2 on
609 Ubuntu 16.04) for WIN32. Native WIN32 still seems to work.
610
611 Fixed a bug in setmaps build that probably messed up most
612 cross-compiles (setmaps must have exactly the same feature
613 defines enabled when it includes commands.tab for local
614 compile as will be used for the cross-compilation target platform)
615
616 commit dcc4ffd4578e0a1513a1f9e287720bd307d6e0c9
617 Author: Mark Moraes <[email protected]>
618 Date: Fri Jan 29 00:12:27 2021 -0500
619
620 4.17.3.8 in-progress
621
622 switched order of EXTRALIBS so that can link with -lasan -lubsan for
623 address sanitizers which must be the first libraries.
624
625 renamed SSIZE_T to JSSIZE_T to avoid MSVC clash, removes some ugliness
626 from sysdep.h and removes problem building with mingw (work in progress)
627
628 win32/mingw: add len arg to win32.c getcwd call
629 fix signature for scandir jscandir in WIN32 branch
630 remove couple of complaints when building with MSVC vcvars64
631 (in MSVC read/write 3rd arg remains unsigned int, not size_t for
632 both vcvars32 and vcvars64). fprintf format complaint in recover.c,
633 spawnve complaint in proc.c
634 lowercase jjove.ico works for both native and mingw cross.
635
636 commit 0ff14839ed1d4550d8441afa09e5e73820328fd2
637 Author: Mark Moraes <[email protected]>
638 Date: Sun Apr 5 14:17:37 2020 -0400
639
640 4.17.3.7 added left-right scroll to the minibuf. this is
641 somewhat different logic than normal lines (does not use the
642 Scroll* variables) because, well, so much about the minibuf
643 is already so different from regular lines. Once it needs
644 to scroll, tries to give the prompt no more than half the
645 width (things like query-replace-search can have big
646 prompts) and keeps the curchar at approx 3/4 of the width.
647 Seems to look reasonable on both tiny and large screens.
648 Also fixed a couple of code indentation weirdnesses I
649 noticed in disp and reapp.
650
651 commit 796bdcc55214740db5fc77becf744b1bff45f074
652 Author: Mark Moraes <[email protected]>
653 Date: Tue Mar 31 00:54:19 2020 -0400
654
655 4.17.3.6 put a '*' after the 6 digits of line number (if
656 number-lines-in-window is on) if buffer has more than a
657 million lines. Avoid recursion when formatting numbers.
658 calculate percentage without risk of overflow. Add note
659 that we avoid unsigned long because of ancient C compiler,
660 be nice if we could format it since we can then use it for
661 byte count, dot, etc (currently, io_chars e.g. as displayed
662 in the message after writing a file goes negative on 32bit
663 machines once one crosses 2GB of text, which can happen on
664 modern machines, though unlikely in files one normally edits)
665
666 commit b69684e31644db2c092337e5c233d5e0f37ff490
667 Author: Mark Moraes <[email protected]>
668 Date: Wed Mar 18 00:14:15 2020 -0400
669
670 4.17.3.5 fix type promotion bug in my bno_to_seek_off macro,
671 results in bogus recovery and also some tmp file corruption
672 above 32K lines for short daddr (i.e. only on DOS or pdp11)
673
674 move DOS/WIN process.h inclusions to sysprocs.h and io.h to
675 externs.h for simplification (removes a warning)
676
677 Use EXIT macro everywhere that matters, defined as exit
678 or _exit based on USE_EXIT.
679
680 Updated README.{dos,w32} to proposed binary distributions
681 joveNNN{s,w,m,l}.zip
682
683 commit 8f16e4ec6ee90b36cda27815aab5db5b2dc6305c
684 Author: Mark Moraes <[email protected]>
685 Date: Tue Mar 17 23:21:28 2020 -0400
686
687 deleted tbsearch.c, was a one-time test.
688
689 commit d9b7034bb91bc5a52ef3f2c6a52d6f468c3c3424
690 Author: Mark Moraes <[email protected]>
691 Date: Tue Mar 17 23:20:55 2020 -0400
692
693 added test program for jbsearch for historical record
694
695 commit 0e3d0f56f35f47deafc1316157c22427eb87db97
696 Author: Mark Moraes <[email protected]>
697 Date: Sun Mar 15 00:58:48 2020 -0400
698
699 Make jove -r work on Windows (better to exec/spawn it before we
700 mess with the terminal; plus windows wants P_WAIT, for some reason
701 P_OVERLAY does not work)
702
703 Added jamstrcat (strcat with size check, and safe for overlap)
704 utility function.
705
706 commit 4012090145ad5778fdf4c42927c6292cd7daf582
707 Author: Mark Moraes <[email protected]>
708 Date: Sun Mar 15 00:56:40 2020 -0400
709
710 Fix to earlier 2a256983c9d4026c5745f4ea333d9140f9a6c24a
711 commit, to leave buffers with null file names (e.g. Main)
712 alone during read.
713
714 Added proto decls for callbacks that MSVC seems to need
715 (and fix one from ptrproto to proto)
716
717 commit 3423a19158769f6fa5b167b45e101469a953e0c7
718 Author: Mark Moraes <[email protected]>
719 Date: Sat Mar 14 16:46:13 2020 -0400
720
721 Cord has been using LG_JBUFSIZ of 14 for Debian for a while
722 anyway, seems a good time to bump this default to 15 (i.e.
723 32K, so max linesize is now that). It's 2020, VM on
724 machines with >1GB of DRAM is the norm, I think a 2MB
725 b_cache footprint for Jove is now quite acceptable. (Non-VM
726 machines almost certainly need to use JSMALL anyway, or can
727 override this).
728
729 commit ba7736ce73911589c541f85afd067ac5876646f9
730 Author: Mark Moraes <[email protected]>
731 Date: Sat Mar 14 16:44:39 2020 -0400
732
733 removed the S_ISREG(m) macro hack and replaced with the
734 underlying (m&S_IFMT) == S_IFREG idiom since that is in
735 other jove code already.
736
737 commit 2a256983c9d4026c5745f4ea333d9140f9a6c24a
738 Author: Mark Moraes <[email protected]>
739 Date: Sat Mar 14 15:55:13 2020 -0400
740
741 4.17.3.4 Fixed issue noted by Adam Sjøgren, that a
742 buffer with truncated lines can still be saved to the
743 original file, which seems bad (fairly sure I've made that
744 mistake at least once, accidentally starting a compile-it
745 and saving files with truncated long lines that I had not
746 noticed, or hadn't yet fixed). This change puts a temporary
747 filename #FILENAME+~ on the buffer and marks it as SCRATCH
748 (if new) till the read successfully finishes, switches the
749 read to bail out on a Long line. insert-file changes the
750 name but but does not mark the buffer scratch. shell
751 processes stop at the long line as they used to (arguably
752 also a bug that should be fixed, but that would require
753 folding or truncating the lines -- I vaguely remember a fix
754 that did that, anyone recall?)
755
756 commit b09a9a05b0aa49d187cc0a7e993e7b6734755acb
757 Author: Mark Moraes <[email protected]>
758 Date: Sat Mar 14 15:48:43 2020 -0400
759
760 may be gratuitous, but seemed pretty low-cost to protect
761 truncstrsub from overlapping copies, for safety/consistency
762 with jamstrsub. (One day, I'd really like to change all
763 strcpy to jamstrsub, maybe rename it to jstrcpy, since
764 copying to fixed-size buffers without size checks just
765 creeps me out, I don't feel at all confident we can always
766 get them just right by reasoning about them)
767
768 commit 35dc21ae366f128e54a610af38e6d4af110b1c3b
769 Author: Mark Moraes <[email protected]>
770 Date: Sat Mar 14 01:53:30 2020 -0400
771
772 4.17.3.2 Build recover on Win32, couple of tweaks to make it work.
773
774 Fix Makefile.wat setmaps target that I broke in previous commit
775
776 Use bsearch for commands instead of the single character
777 hash, should be fewer steps for most common commands, since
778 distribution is not even by character. Also use it for vars
779 (has jbsearch for older systems)
780
781 Added jove-features (read-only) variable with a
782 colon-separated list of feature tokens, and an ifvar
783 directive for joverc to use that, so can keep the same
784 jove.rc file and not get errors on different platforms.
785 probably useful for bug reports too.
786
787 commit 222bda4921ded2795124ea9c2f4e74aa51a27e2a
788 Author: Mark Moraes <[email protected]>
789 Date: Sun Mar 8 00:27:02 2020 -0500
790
791 removed negative line number bug from README
792
793 commit ec656ce154f0994296368499687fa33b6511c2b3
794 Author: Mark Moraes <[email protected]>
795 Date: Sun Mar 8 00:06:47 2020 -0500
796
797 4.17.3.1 annotated error and len_error as NEVER_RETURNS too
798
799 added /* NOTREACHED */ comment after those and a bunch of complain calls
800
801 commit fa51970657fd31496f7c9f934d410da49c38478c
802 Author: Mark Moraes <[email protected]>
803 Date: Sat Mar 7 23:15:45 2020 -0500
804
805 4.17.3.0 better version of NULLPROC/cmdproc_t initialization from Hugh
806
807 Found and fixed couple more such complaints (from resetsighandler)
808
809 Fixed couple of innocuous gcc complaints about uninitialized value
810 (only if chr_to_* complains)
811
812 commit 0966d6f4c750e618f7baf31759b5e560951125eb
813 Author: Mark Moraes <[email protected]>
814 Date: Wed Mar 4 16:23:34 2020 -0500
815
816 recover.c: some machines off_t is long long, so cast correctly for debug printf
817
818 wind.c: downcast long arg_val to int for grow/shrink, should be safe (int can
819 hold the increment we plan to grow/shrink a window by)
820
821 commit 8b93a409a987e553d584e53cc85bad8b44f08780
822 Merge: 3f0c245 d76b939
823 Author: Mark Moraes <[email protected]>
824 Date: Tue Mar 3 22:32:43 2020 -0500
825
826 Merge branch 'long-line-num' into moraes
827
828 commit d76b9390c0f790b417ebbe81ebcd85150cb92b44
829 Author: Mark Moraes <[email protected]>
830 Date: Fri Feb 21 00:49:31 2020 -0500
831
832 4.17.2.9 try to use long for line numbers, so we do not see negative
833 line numbers on platforms where int is 16bit, and can use
834 arg > 32K to move forward, backward lines/chars/words, or goto
835 line numbers.
836
837 JLGBUFSIZ is now LG_JBUFSIZ to match other LG* constant names.
838
839 Simplified blkio indirection and check lseek in tmp file for error.
840 Improve tmp file too large message to show some numbers to
841 help with understanding.
842
843 Move a few constants from sysdep.h to jove.h to be with similar
844 things, and vice-versa (so most JSMALL settings are in one block
845 in sysdep.h). Rename CHAR_BITS to CHAR_BIT so we use the standard
846 manifest if avail.
847
848 commit 8601ea19036fd3dc8b54589c4cc4fb71eca7907e
849 Author: Mark Moraes <[email protected]>
850 Date: Sun Mar 1 19:16:23 2020 -0500
851
852 4.17.2.8 DOS + recover cleanup
853
854 rename SMALL manifest to JSMALL to reduce confusion with DOS
855 memory mode. make MAXCOLS small (132) if JSMALL is defined
856
857 recover cleanup: record JLGBUFSIZ and LG_CHUNK_SIZES to in
858 header. compiles on DOS with OWC, some int -> long and
859 other related fixes to make it work. tmpfile names now 8 chars.
860 handle short reads of tmpfile more gracefully because
861 there are some bogus daddrs in recfile when we reach out
862 of memory (bug in rec or insert.c code, perhaps?)
863
864 make recover header a bit more portable/robust across
865 different configs of jove by storing more info in RECMAGIC
866 and using only long rather than a mix of types. In
867 principle, this opens the door to restoring rec files from
868 any config of jove with the same program.
869
870 move -D earlier in jove main so we can emit debug in
871 functions called earlier. Add -D to recover so we can debug
872 it more easily.
873
874 define FULL_UNISTD for OWCDOS, it seems well-prototyped
875
876 mention jove-users at freelists
877
878 commit 3f0c24580ceda849cf2607f7a281c7cf76884681
879 Author: Mark Moraes <[email protected]>
880 Date: Sun Mar 1 19:16:23 2020 -0500
881
882 4.17.1.8 DOS + recover cleanup
883
884 rename SMALL manifest to JSMALL to reduce confusion with DOS
885 memory mode. make MAXCOLS small (132) if JSMALL is defined
886
887 recover cleanup: record JLGBUFSIZ and LG_CHUNK_SIZES to in
888 header. compiles on DOS with OWC, some int -> long and
889 other related fixes to make it work. tmpfile names now 8 chars.
890 handle short reads of tmpfile more gracefully because
891 there are some bogus daddrs in recfile when we reach out
892 of memory (bug in rec or insert.c code, perhaps?)
893
894 make recover header a bit more portable/robust across
895 different configs of jove by storing more info in RECMAGIC
896 and using only long rather than a mix of types. In
897 principle, this opens the door to restoring rec files from
898 any config of jove with the same program.
899
900 move -D earlier in jove main so we can emit debug in
901 functions called earlier. Add -D to recover so we can debug
902 it more easily.
903
904 define FULL_UNISTD for OWCDOS, it seems well-prototyped
905
906 mention jove-users at freelists
907
908 commit 0a5e0ff4649c5fa9bcbea54873bcdcfbc90c6206
909 Author: Mark Moraes <[email protected]>
910 Date: Thu Feb 27 16:57:52 2020 -0500
911
912 distrib target becomes tgz, jovedos.zip becomes zip and
913 makes joveVVVs.zip, distrib now makes both tgz and zip,
914 clean does not remove tgz, clobber removes tgz and zip
915
916 commit 3be5eb0f05f1caf2276a85e5b37bedde163f3e08
917 Author: Mark Moraes <[email protected]>
918 Date: Tue Feb 25 00:59:14 2020 -0500
919
920 4.17.2.7 Since -DLinux is default in Makefile, make TERMCAPLIB be -lncurses
921 to match. That's a better default for most modern systems.
922
923 Fix Makefile.wat to have bigger stacksize, needed for -ml. Added -os
924 for default (which shrinks code slightly, but still not enough for -ms to
925 work, sorry)
926
927 Tried to skip failures for jove.rc on commands that might not exist.
928
929 Use -D command-line option rather than JOVEDEBUG env var for debug filename,
930 avoids security hazard. Hugh cleanup of jdprintf. Add some missing newlines.
931 Put F_LOCKED on debug file so it doesn't get trashed. Print pid as long.
932
933 Some cleanup of portsrv (takes --kbd as arg 1 to make it easier to run
934 from shell for testing, fix signal handling for linux so kbd restarts
935 correctly) Add RETRY_ERRNO macro to simplify (and not miss) all the places the
936 retry-after-syscall is needed.
937
938 jtc needs select, just make it non-conditional to help me
939 build it under travis on more architectures.
940
941 commit b1d6aac94aefba38b07460161ac3a45ab270e7de
942 Author: Mark Moraes <[email protected]>
943 Date: Sun Feb 23 12:42:46 2020 -0500
944
945 per Hugh, missing space before opening paren
946
947 commit f89cde8132df58dbbe61947cd5a658568cb0b33a
948 Author: Mark Moraes <[email protected]>
949 Date: Sat Feb 22 01:27:08 2020 -0500
950
951 looks like all homebrew invocations need the update first, till
952 https://github.com/travis-ci/packer-templates-mac/pull/13
953 makes it to production.
954
955 simplified getconf logic to reduce chance it gets forgotten or copy/pasted.
956
957 commit 67b24b81c5dc6dd83064d174e8f9b79e6dd6c258
958 Author: Mark Moraes <[email protected]>
959 Date: Sat Feb 22 01:13:59 2020 -0500
960
961 travis (well, yaml) does not like tabs, sigh
962
963 commit d95f12d65ea36386199c4322c8f842602fe24b3d
964 Author: Mark Moraes <[email protected]>
965 Date: Sat Feb 22 01:08:55 2020 -0500
966
967 fix travis indentation for homebrew, added flag that Darwin needs
968
969 commit c27bb4b3b1055926376a1b63bfc5db21f3a7b21f
970 Author: Mark Moraes <[email protected]>
971 Date: Sat Feb 22 00:52:52 2020 -0500
972
973 4.17.2.6 doc cleanup, removed email addresses in favor of github
974
975 more travis cleanup, re-tested on alpine, fedora, gentoo, openindiana, *BSD
976 rearranged test builds a bit
977
978 Makefile quiet zip chatter
979
980 OpenIndiana/Solaris compiler does not like promotion from
981 void* to pointer-to-function, so added some typedefs and
982 *NULLPROC definitions to quiet it down in commands.tab,
983 disp.*, screen.*, setmaps
984
985 ttystate.h simplified an ancient SUNOS4* ifdef
986
987 commit 93b835ea412fd100c98e82765aa728a1dd6bb73b
988 Author: Mark Moraes <[email protected]>
989 Date: Fri Feb 21 19:31:05 2020 -0500
990
991 odd "Error: Unknown command: bundle" error from homebrew,
992 trying workaround proposed in
993 https://travis-ci.community/t/macos-build-fails-because-of-homebrew-bundle-unknown-command/7296/13
994
995 commit 9524fec978b38167b252c2dd7973a56ac422431f
996 Author: Mark Moraes <[email protected]>
997 Date: Fri Feb 21 17:30:55 2020 -0500
998
999 still fixing .travis.yml!
1000
1001 commit 335f3e2e02efcfb778752e0b3c12c108a78f069d
1002 Author: Mark Moraes <[email protected]>
1003 Date: Fri Feb 21 17:12:35 2020 -0500
1004
1005 .travis.yml fix mktemp portability quirk for old xcode, specify apts for jobs.include linuxes
1006
1007 commit d5df0cf29d58f17cfa65290444077c74ff3b0792
1008 Author: Mark Moraes <[email protected]>
1009 Date: Fri Feb 21 16:44:46 2020 -0500
1010
1011 forgot to change one Makefile name
1012
1013 commit 502392783dcde9f9ade4c87d8722eb9516515956
1014 Author: Mark Moraes <[email protected]>
1015 Date: Fri Feb 21 16:40:20 2020 -0500
1016
1017 Makefile: fix install dependencies so that -j works correctly.
1018
1019 .travis.yml: try real gcc on osx, plus newer and older linux/osx images.
1020
1021 Makefile.wat, sysdep.h and README.dos: describe medium vs large
1022 executables
1023
1024 commit 00f751a50ab23c565a860d56e0702fcc4a2b6b4d
1025 Author: Mark Moraes <[email protected]>
1026 Date: Fri Feb 21 00:53:06 2020 -0500
1027
1028 4.17.2.5: Use long for buffer-position line calculation, so
1029 can show more than 32K lines correctly on OWCDOS. This is a
1030 small localized change, and does not resolve the bigger
1031 issue that Jove uses int for line number calculations, which
1032 goes wrong in OWCDOS, which uses 16bit ints, so after 32K
1033 lines, number-lines-in-window starts showing negative line
1034 numbers. Fixing that, and goto-line (or arg-count) is a
1035 more extensive patch, debatable whether it is worth the
1036 change (large files are rare anyway, particularly on DOS,
1037 and does JOVE have enough usage on DOS to make this worth
1038 it?). With medium model, Jove can handle about 48K lines
1039 (around a 2.1MB file), and is pretty slow at that point.
1040 With large model, it handles only 31K lines (about a 1.4MB
1041 file), because we give more data space to the Jove buffer
1042 cache for increased speed.
1043
1044 default UNIX to USE_GETWD if nothing else defined.
1045
1046 commit 7ec53195363f98499340502a1b8a94add264a293
1047 Author: Mark Moraes <[email protected]>
1048 Date: Fri Feb 21 00:51:38 2020 -0500
1049
1050 per Hugh comment, Changed WATCOMC define OWCDOS so it is
1051 clearer that it is our symbol and only for DOS, not a
1052 compiler pre-def.
1053
1054 commit 7a73b8d45fe6836ef0e273bf3e8979f848fc1cff
1055 Author: Mark Moraes <[email protected]>
1056 Date: Fri Feb 21 00:13:00 2020 -0500
1057
1058 added note about memory models to Makefile.wat
1059
1060 use FAR_LINES for all models in sysdep.h even if SMALL is not defined.
1061
1062 commit f6a63db7f0dc1bfacb8cd593082afd17c0f2dd3f
1063 Author: Mark Moraes <[email protected]>
1064 Date: Fri Feb 21 00:06:17 2020 -0500
1065
1066 fix Hugh comment re: SunOS, so this will complain on SunOS4
1067 (who runs it now?!), and automatically add -DGRANTPT_BUG on
1068 SunOS5.0 (who ran it for more than a few minutes after
1069 SunOS5.1 came out?! Yes, I remember both SunOS4.0 nd 5.0
1070 quite well, I still get nightmares about them...!)
1071
1072 Add comment re: /usr/gnu/bin/install for modern Solaris/OpenIndiana
1073
1074 commit 8769d7664ae167645ba0dd6a666924879cd79b00
1075 Author: Mark Moraes <[email protected]>
1076 Date: Wed Feb 19 20:58:34 2020 -0500
1077
1078 body on next line of if, per Hugh
1079
1080 commit 6791a128dbc329b7f00b92890c445d4fa6f32593
1081 Author: Mark Moraes <[email protected]>
1082 Date: Tue Feb 18 23:16:57 2020 -0500
1083
1084 4.17.2.4 removed tags from all target, only needed for distrib and
1085 jovedoss.zip
1086
1087 commit 02ca8173d987be68fababc748a33b721e35bcf60
1088 Author: Mark Moraes <[email protected]>
1089 Date: Tue Feb 18 00:35:17 2020 -0500
1090
1091 make travis now works on OpenIndiana (which really needs REALSTDC to work)
1092
1093 commit f3c70d3c43dc91d5f1558473b72c53f8cfd087ba
1094 Author: Mark Moraes <[email protected]>
1095 Date: Tue Feb 18 00:16:04 2020 -0500
1096
1097 further travis script fix (trying to see if 'make travis' works on
1098 platforms other than those available on travis-ci to make my
1099 virtualbox/docker testing easier
1100
1101 commit 7058d46080e60cfcacd8ae4f3d53f1e4d0b9dd33
1102 Author: Mark Moraes <[email protected]>
1103 Date: Tue Feb 18 00:13:13 2020 -0500
1104
1105 further travis tweaks
1106
1107 commit 9ffbacd3e03e95e4850ab8fa0237ab24c830d593
1108 Author: Mark Moraes <[email protected]>
1109 Date: Mon Feb 17 22:28:17 2020 -0500
1110
1111 another travis tweak
1112
1113 commit 8f2d6dc0d2d3af17d7b5498e661564a670fa55be
1114 Author: Mark Moraes <[email protected]>
1115 Date: Mon Feb 17 22:06:36 2020 -0500
1116
1117 have to turn set -u back on, since travis post-script functions break, sigh
1118
1119 commit 6a45834003d06f9a7e30f5f196ea4733028ef011
1120 Author: Mark Moraes <[email protected]>
1121 Date: Mon Feb 17 21:44:48 2020 -0500
1122
1123 4.17.2.3 fix -DSMALL daddr/s_id ugliness, plus minor tweaks
1124 exposed by some of the new travis variants.
1125
1126 travis: no need to use gcc+clang (they are the same thing on
1127 OS X by default, so rely on OSX for clang coverage, and
1128 Linux for gcc coverage, reduces build matrix)
1129
1130 test some variants only on Linux for coverage (GLIBCPTY
1131 which mimics CYGWIN, and BSDPOSIX)
1132
1133 Added 'make travis' target to try the travis script on local machine.
1134
1135 commit 5b998c89d148fe1282dd7372eaeb78310b03702b
1136 Author: Mark Moraes <[email protected]>
1137 Date: Mon Feb 17 12:56:51 2020 -0500
1138
1139 added .version, *.zip and some patterns for typical debris to .gitignore
1140
1141 updated Makefile with 'make depend'
1142
1143 updated .travis.yml to build a couple more variants, made it multiline so
1144 easier to read
1145
1146 check Makefile works right without cmp
1147
1148 commit f57a5d8da644abe1fab04a9a08a29268f257a435
1149 Author: Mark Moraes <[email protected]>
1150 Date: Mon Feb 17 02:07:00 2020 -0500
1151
1152 added ctags dependency to .travis.yml
1153
1154 commit 18366d49bada3cc242928eef22267188df78ffc0
1155 Author: Mark Moraes <[email protected]>
1156 Date: Mon Feb 17 02:00:59 2020 -0500
1157
1158 4.17.2.2 builds on dosbox with Open Watcom 1.9.0
1159
1160 OW is fussy about char declarations for old-style function params,
1161 switched those to DAPchar (only a handful, gcc seems ok with this)
1162
1163 ifdef out environ declaration (conflict with type) and exec*
1164 (usual confusion with consts not matching our interpretation of POSIX)
1165
1166 Much fiddling with Makefile and Makefile.wat and Makefile.msc.
1167
1168 Moved sysdepo.h to old/sysdep.h and Makefile.{bcc,zor} to old/
1169 renamed paragraph.[ch] to para.[ch] to get rid of 8.3 hackery
1170
1171 Made WIN32=1 default for Makefile.msc (it does not build for DOS,
1172 and I don't have the energy to figure out if that's even possible,
1173 it blows a type size assertion in the Windows headers.
1174
1175 Updated README.dos to reflect current state.
1176
1177 Cleaner X_OK hackery (define J_X_OK rather than redefining X_OK)
1178
1179 Keep tags for PC jovedoss.zip, helpful when looking at src there
1180 (reduces need for distribs to have ctags). tags cleanup moved
1181 to clobber target.
1182
1183 commit 72a05b6423a59651635e4b9e1669a29af457bc52
1184 Author: Mark Moraes <[email protected]>
1185 Date: Sun Feb 16 18:10:47 2020 -0500
1186
1187 4.17.2.1 addition: switched default Makefile OPTFLAGS back
1188 to -O so this does not blow up on non-gcc/clang platforms
1189
1190 avoid fc31 gcc complaint re: ambiguous else.
1191
1192 update jove.rc.in to avoid colors in i-shell busybox (e.g. alpine)
1193
1194 commit 7eb35f8dda8af2dd0fafccfde7f8dded9fe767d1
1195 Author: Mark Moraes <[email protected]>
1196 Date: Sun Feb 16 18:01:16 2020 -0500
1197
1198 4.17.2.1 now works on openindiana (solaris) hipster x86_64
1199 2019.11 (tested on the console in virtualbox)
1200
1201 define NULL to 0 to avoid OpenIndiana (and likely other
1202 Solaris) complaints from initializing with their own
1203 NULL which is defined to (void *)0.
1204
1205 cleanup of child iproc debug
1206
1207 improve the logic for dup and close of slvptyfd
1208
1209 I was clearly over-enthusiastic about CLOEXECs, since
1210 dup2 (on Solaris) copies the flag (Linux seems not to?)
1211 so I undid some that seem wrong in hindsight.
1212
1213 important for OpenIndiana (likely many Solaris or SunOS5
1214 or SYSVR4): ioctl TIOCSCTTY fails with ENOTTY, so cannot
1215 exit the child on that error, have to ignore it (this
1216 check was added 4.16.0.31, used to 'correctly' ignore
1217 that error return before .31, sigh! It's 2020 and ptys
1218 are still a portability nightmare)
1219
1220 commit ff064e0dbad9a00c59e3e83c01747234b9423752
1221 Author: Mark Moraes <[email protected]>
1222 Date: Thu Feb 13 14:46:33 2020 -0500
1223
1224 4.17.2.0: found and fixed the causes of shell-command
1225 crashes on WIN32; one is that access(file, X_OK) with X_OK
1226 == 1 (the traditional/historical value) crashes. Set X_OK
1227 to F_OK for MS platforms. After that, the close/dup
1228 sequence to restore fds crashes (no idea why, just switched
1229 them to dup2 and it worked), switched spawnv to spawnve
1230 while I was at it so proc-env vars get passed through.
1231
1232 commit cc795b7c76b01b4fc7759c87eb050f00a9151af2
1233 Author: Mark Moraes <[email protected]>
1234 Date: Thu Feb 13 14:42:13 2020 -0500
1235
1236 remove old files before redirecting onto them so that CYGWIN
1237 bug on vbox shared folders does not bite.
1238
1239 commit cbcb072c900e7efd22e52fd2ed88130ac75ec679
1240 Author: Mark Moraes <[email protected]>
1241 Date: Wed Feb 12 23:25:11 2020 -0500
1242
1243 4.17.1.11: to catch .gitattributes (deleted pre-release 4.17.1.10)
1244
1245 commit 6d3d348a53bad852c81acb7458b5cdf5c7652a08
1246 Author: Mark Moraes <[email protected]>
1247 Date: Wed Feb 12 23:21:32 2020 -0500
1248
1249 added .gitattibutes to exclude stuff from the github tarball
1250
1251 commit 60a9cff1fb98c460fae513fdca96dbcd42e34eb7
1252 Author: Mark Moraes <[email protected]>
1253 Date: Wed Feb 12 22:42:19 2020 -0500
1254
1255 4.17.1.10 Removed afxres.h and resource.h and references to
1256 them from jjove.rc, they do not seem to be needed by Visual
1257 Studio 2019. MSVC also complains about exec* prototypes,
1258 like the comment said for Zortech and Borland, added
1259 _MSC_VER to that ifdef. Now builds cleanly on WIN32, but
1260 still crashes on subshell (push-shell works)
1261
1262 Fixed weird and severe problem with Cygwin and VirtualBox
1263 saving files: open(...O_TRUNC) does *not* truncate a file
1264 that is on a VirtualBox shared folder (which is where I
1265 build jove src), so saving a file after deleting a few
1266 chars/lines results in old debris since it still stays the
1267 original size. open(O_TRUNC) works as expected on local
1268 disk. Windows open(O_TRUNC) works fine on both local disk
1269 and file in vbox shared folder. ftruncate works on both
1270 too, so added a redundant ftruncate after open(O_TRUNC) with
1271 an O_TRUNC_BROKEN manifest. (I have a test program to
1272 reproduce, will file a Cygwin bug report, not clear if this
1273 affects all network folders or just vbox, I suspect the
1274 latter else others would have noticed)
1275
1276 Hit an infinite busy wait on pty a couple of times (EIO on
1277 IO_NEW pty ad nauseum in jdbg output), seems bad to have
1278 that risk (which the comment points out), added the pty
1279 creation time to the struct process, and eof after a few seconds.
1280
1281 commit 301d3978f6b62de2c4f3885ba6763fc4d5b7f47b
1282 Author: Mark Moraes <[email protected]>
1283 Date: Tue Feb 11 09:31:16 2020 -0500
1284
1285 added check that my new spell-command-format only contains
1286 one %s and no other % specifiers, so user error will not
1287 trash memory or crash jove.
1288
1289 commit 9bef4a1b44ea03f286b276cb9f87355d128822cd
1290 Author: Mark Moraes <[email protected]>
1291 Date: Mon Feb 10 22:03:18 2020 -0500
1292
1293 4.17.1.9 move aspell to FreeBSD, since NetBSD and OpenBSD have spell.
1294 Also enable aspell for CYGWIN.
1295
1296 commit 8aa57e59b52ac5705dd96205b46537801b3db534
1297 Author: Mark Moraes <[email protected]>
1298 Date: Mon Feb 10 21:44:42 2020 -0500
1299
1300 *BSD also has aspell, added to XBSD definition
1301
1302 commit 6ed0fbdb7b2da2680ab0b8e41c14798373bf3b8e
1303 Author: Mark Moraes <[email protected]>
1304 Date: Mon Feb 10 21:32:58 2020 -0500
1305
1306 4.17.1.8: move various doc/jove.rc defauls (process-prompt,
1307 allow-^S-and-^Q, mode-line, disable-biff, pause-jove binding
1308 to ^[s ) to the code, they've been in doc/jove.rc for so
1309 long they can now be considered official, it reduces the
1310 number of weird differences when one just starts up the
1311 binary without SHAREDIR installed or for test.
1312
1313 also leave allow-^S-and-^Q on for vt100. I refuse to
1314 believe any such real terminals are operational and used for
1315 Jove, but far more terminal emulators (e.g. NetBSD console!)
1316 claim to be vt100.
1317
1318 update ModeFmt and MAX_TYPEOUT to new MAXCOLS to support the
1319 sort of wide-terminal that I suspect most of us now use. I
1320 think jove can afford the couple of hundred extra bytes
1321 (and when ported back to the PDP-11, MAXCOLS can be set lower,
1322 we can accept that fix when it is tested)
1323
1324 commit 3bd5eafa75b6407a8930116b705392919d2c9a96
1325 Author: Mark Moraes <[email protected]>
1326 Date: Mon Feb 10 21:12:54 2020 -0500
1327
1328 Created spell-command-format variable, define it as aspell
1329 on Linux and *BSD, switch the SPELL manifest to the default
1330 value, documented. Seems to work. AFAIK, the old spell
1331 compatibility wrapper hasn't been shipped on most modern
1332 platforms. (Admittedly, it's been a very long time since I
1333 used spell to check my thesis, but felt bad it wasn't
1334 working when I tried it)
1335
1336 commit e8d6b5690ff603d1c0b2efa6a7b88019ede38f2f
1337 Author: Mark Moraes <[email protected]>
1338 Date: Mon Feb 10 21:09:05 2020 -0500
1339
1340 address-sanitize reported another overlapping strcpy, seems
1341 safest to make jamstrsub work for overlapping copies
1342 by calling memmove (it already has the string size),
1343 used byte_move() macro for portability and got rid of
1344 the ifdef around memmove in disp.c by making that a
1345 byte_move as well. Left mac.c alone, that already has
1346 memcpy and probably isn't going to ever be compiled
1347 again (please feel free to prove me wrong)
1348
1349 #1 0x42cc7d in strcpy /usr/include/x86_64-linux-gnu/bits/string3.h:110
1350 #2 0x42cc7d in jamstrsub /home/moraes/src/jove/github-jonmacs/jove/util.c:698
1351 #3 0x44ca1f in setsearch /home/moraes/src/jove/github-jonmacs/jove/reapp.c:45
1352 #4 0x44ca7d in search /home/moraes/src/jove/github-jonmacs/jove/reapp.c:64
1353 #5 0x44ea6b in ForSearch /home/moraes/src/jove/github-jonmacs/jove/reapp.c:82
1354
1355 commit 314dc659b3db18d1ae8a332d576e1bb96010b3e1
1356 Author: Mark Moraes <[email protected]>
1357 Date: Mon Feb 10 21:02:43 2020 -0500
1358
1359 Fix memory leak in recover.c reported by leak-sanitizer
1360
1361 commit db8e23cdcafa29f022f035f61008a0ce3030f110
1362 Author: Mark Moraes <[email protected]>
1363 Date: Mon Feb 10 20:56:50 2020 -0500
1364
1365 Only remove formatted docs, generated jove.spec and jove.rc
1366 to on clobber, not clean. That ensures that a tree sent via
1367 distrib to a PC/Windows won't result in missing docs when
1368 one does 'make clean'. Fixed mis-documentation re: PORTSRVINST.
1369
1370 commit 4624e456a187afe169824704ec34e4d20bb70ac8
1371 Author: Mark Moraes <[email protected]>
1372 Date: Mon Feb 10 20:54:22 2020 -0500
1373
1374 setting DEBUGCRASH had the unfortunate side-effect of
1375 causing ^] to exit jove immediately (SIGINT), and I hit that
1376 sometimes when going for ^\ (since I grew up on a terminal
1377 where ^S was XON!) Since the main reason for DEBUGCRASH is
1378 to catch SEGV, BUS, etc, seems like HUP, INT, TERM should
1379 always be honored, moved those outside the ifdef.
1380
1381 commit 045b93977330a93513dd483d2b56f63ed8e9b257
1382 Author: Mark Moraes <[email protected]>
1383 Date: Sun Feb 9 12:50:30 2020 -0500
1384
1385 4.17.1.7: removed redundant ifdef in proc.c since no real in
1386 the signal handling code for vfork and fork anymore (who
1387 knows if it's correct anyway), moved comment to vfork invocation.
1388 Ensure that environ is not changed in child (which might/will affect
1389 parent in the vfork case). Tested USE_VFORK briefly with Linux,
1390 seems to work for minimal testing.
1391
1392 Added define for FreeBSD and OpenBSD in sysdep.h to save
1393 typing build flags, juse use
1394 make SYSDEFS=$(uname)
1395
1396 Moved all historical definitions that are not currently
1397 tested to sysdepo.h (not included or used anywhere)
1398
1399 Updated notes in Makefile, sysdep.doc, sysdep.h
1400
1401 commit 8ed270b1e3125ab87bc0dc63f660d3e73bef1a1e
1402 Author: Mark Moraes <[email protected]>
1403 Date: Fri Feb 7 19:33:59 2020 -0500
1404
1405 4.17.1.6 add TIOCGPTPEER for newer Linux (e.g. Alpine 3.9.4) which does
1406 not correctly set up pty (or ends up with wrong/bogus slvptyfd) without it!
1407
1408 commit 8f28956f7eb6f4041471f215d0967a90d0d0e3ea
1409 Author: Mark Moraes <[email protected]>
1410 Date: Thu Feb 6 09:12:04 2020 -0500
1411
1412 4.17.1.5: cleanup of portsrv so that
1413 echo ls | ./portsrv.exe /bin/sh sh -is
1414 and
1415 echo ls | ./portsrv.exe kbd
1416 seem to work rather than hang. pipeprocs still does not fully work on
1417 cygwin (neither does ptyprocs, TBD)
1418
1419 tweaks to test pipeprocs on linux and *bsd as well, as a fallback option
1420 if (when?!) ptys fail, or just to keep an eye on portability to ancient
1421 systems.
1422
1423 added a long-needed (IMHO) optional debug trace to jove in fmt.h,
1424 the jdprintf function and jdbg macro. JOVEDEBUG environment variable
1425 as a filename activates the debug logging -- at the moment, produces
1426 a trace of twisty little maze of ifdefs for pty/iproc handling
1427 (a mind-boggling portability horror show), which finally uncovered
1428 for me that NetBSD (7.2, 8.1 at least) TIOCREMOTE does not work as Jove
1429 expects (can I just say broken!), unlike other BSD siblings.
1430 Added NETBSD define to sysdep.h with the helpful NO_TIOCREMOTE, thanks
1431 to whichever kind soul (Hugh?) documented the breakage so clearly in
1432 iproc.c.
1433
1434 Added CLOEXEC (attempt at robustness for modern systems after fork),
1435 has portabiity #define that should work on ancient ones.
1436
1437 Use slvptyfd returned by openpty, seems better than relying on opening
1438 the ttyname, though the latter did seem to work fine in *BSD. Maybe this
1439 will help cygwin or netbsd, not sure.
1440
1441 Clarify 'Out of ptys' message so it will be easier to tell which branch
1442 of code is failing.
1443
1444 separated currently tested SYSDEFS from uh, historical artifacts in Makefile
1445
1446 update .gitignore with generated formatted docs
1447
1448 commit 98e7cba8e312fc7f40a3edcb0342e8d58b56e745
1449 Author: Mark Moraes <[email protected]>
1450 Date: Sun Feb 2 01:25:44 2020 -0500
1451
1452 4.17.1.4 Makefile.msc clean works, WIN32 has own getcwd. builds on
1453 MSVC 2019 Community Edition, but shell-command still crashes.
1454
1455 PIPEPROCS compiles on Cygwin but crashes jove on startup.
1456 PTYPROCS compiles on Cygwin but hangs in openpty, sigh.
1457
1458 commit 35905957a4d1763037ff014e32a014dee2017926
1459 Author: Mark Moraes <[email protected]>
1460 Date: Sat Feb 1 23:59:37 2020 -0500
1461
1462 4.17.1.3 fix typo in sysdep.h XBSD for Darwin Mac OS X
1463 move popd ahead in doc/jove.rc.in
1464 build doc/jove.rc for all
1465
1466 commit 0b9729e6bdbd9983c16e04fd1782f84f05084041
1467 Author: Mark Moraes <[email protected]>
1468 Date: Sat Feb 1 23:17:36 2020 -0500
1469
1470 4.17.1.2: rename README.c32 to README.cyg and update for latest Cygwin
1471 (generally works on both CYGWIN64 and CYGWIN32), update README*.
1472
1473 Move DispDefFs outside F_COMPLETION ifdef to match vars.tab, -DBAREBONES
1474 now compiles
1475
1476 make extern declaration of getcwd unconditional, should be safe, and
1477 removes a complaint when building -DBAREBONES
1478
1479 fix portsrv to detach from controlling terminal, so it works
1480 on Linux (for testing PIPEPROCS; the machines that one
1481 needed portsrv for presumably never had job control or
1482 controlling terminals?)
1483
1484 added a matching RECOVER ifdef in jove.c to get rid of another
1485 complaint when -DBAREBONES
1486
1487 ifdef to protect WIFSTOPPED in sysprocs.h, avoids complaints when
1488 -DBAREBONES
1489
1490 remove jjoveico.uue and check in jjove.ico since git can handle binary
1491 files, unlike RCS, simplified Makefile to not need uudecode.
1492
1493 Save formatted docs in distrib
1494
1495 commit c404593b9eb6c1323e3f11296483e29310c524ab
1496 Author: Mark Moraes <[email protected]>
1497 Date: Thu Jan 30 15:08:54 2020 -0500
1498
1499 4.7.1.1 tested on Cygwin 3.1.2, updated docs.
1500
1501 commit 42a4eb3489e4c99b32d1cc97883243a3e97c6b86
1502 Author: Mark Moraes <[email protected]>
1503 Date: Thu Jan 30 14:38:27 2020 -0500
1504
1505 4.7.1.0 changes to build on Windows with MSVC 10.x. builds and mostly works (attempt to run shell command crashes)
1506
1507 rename min, max to jmin, jmax, ReadOnly to BReadOnly, and
1508 undef CR before including windows.h to avoid clashes with MS
1509 macros or field names, sigh!
1510
1511 move back to putting jversion in version.h (simpler for DOS/Windows)
1512 remove attempt at using git describe
1513
1514 remove all targets and doc mentions of zoo format since zip
1515 is now ubiquitous
1516
1517 use wsprintf instead of sprintf in win32 (MSVC libc
1518 apparently no longer provides sprintf by default)
1519
1520 commit e409235d03eb1da27b9e93635d76338425c5a165
1521 Author: Mark Moraes <[email protected]>
1522 Date: Tue Jan 28 09:28:10 2020 -0500
1523
1524 4.17.0.9: fix stropts for latest Fedora/Arch, /etc/jove/jove.rc
1525
1526 Cord requested a per-host jove.rc (jove already had a jove.local
1527 in sharedir, but that could be system-wide). Moved doc/jove.rc to
1528 doc/jove.rc.in, substituted ETCDIR (which defaults to /etc/jove),
1529 updated rpm package.
1530
1531 Tested rpm on latest Fedora Docker image I could find (FC31),
1532 and discovered that it (and latest ArchLinux docker image) don't have
1533 stropts.h and do not define _XOPEN_STREAMS so added an if defined()
1534 check, now builds clean.
1535
1536 Makefile fix to handle the situation of building in a brand new
1537 docker (i.e. no ~/rpmbuild directory to copy src into until one
1538 runs rpmbuild, chicken-v-egg) While at it, prefixed the
1539 DESTDIR variants of (SHARE|LIB|BIN|...)DIR with D to detect
1540 avoid mistakes from using old command lines.
1541
1542 rpm built and installed and worked in Fedora FC31 smoothly.
1543 I'll see if I have the energy/patience to produce a PKGBUILD
1544 for Arch pacman...
1545
1546 commit 8d22ba1d8e1b0d8a7b915b8de271f71512af9e99
1547 Author: Mark Moraes <[email protected]>
1548 Date: Mon Jan 27 13:19:26 2020 -0500
1549
1550 4.17.0.8 fix a small irritation - if one runs (with
1551 compile-it or shell-command) a script that one is editing,
1552 jove wants to overwrite the scrpt source (it prompts, but
1553 only offers the option to overwrite the src buffer). So put
1554 asterisks around names of process-output buffers, to match
1555 *minibuf* and *shell* to reduce the chance of a collision
1556
1557 commit 440b451af0b71cce78dcd7e6090749199b647229
1558 Author: Mark Moraes <[email protected]>
1559 Date: Mon Jan 27 13:18:09 2020 -0500
1560
1561 4.17.0.7 typo in TMPDIR when renaming, so empty string in paths.h, fixed.
1562
1563 commit 88aacef72465a2ea78282336f9a4a87505ee0829
1564 Author: Mark Moraes <[email protected]>
1565 Date: Sat Jan 25 22:04:02 2020 -0500
1566
1567 travis homebrew update seems to take a long time, try without it
1568
1569 commit b5b09391d96b50afe227ab72602126c82bb61569
1570 Author: Mark Moraes <[email protected]>
1571 Date: Sat Jan 25 22:00:23 2020 -0500
1572
1573 need groff for some travis environments
1574
1575 commit 586ead6202ef045ebcf00cf18e6505b7ae700dd1
1576 Author: Mark Moraes <[email protected]>
1577 Date: Sat Jan 25 21:57:47 2020 -0500
1578
1579 fixing travis script
1580
1581 commit a24407f72cb94e8d1aa317927d645b0ce80517f9
1582 Author: Mark Moraes <[email protected]>
1583 Date: Sat Jan 25 21:39:59 2020 -0500
1584
1585 added .travis.yml to try some continuous-integration test builds.
1586
1587 commit 99665b8e7fbdaded198efb5fbb40258a6eb670c1
1588 Author: Mark Moraes <[email protected]>
1589 Date: Sat Jan 25 18:57:41 2020 -0500
1590
1591 4.17.0.6: can now use
1592 make rpm
1593 to build an rpm package, tested on CentOS7.4 (other Fedora or
1594 RedHat testing needed)
1595
1596 commit 33f1658f55419833bd56a49d44cea30a8a4fa8cb
1597 Author: Mark Moraes <[email protected]>
1598 Date: Sat Jan 25 16:34:45 2020 -0500
1599
1600 4.17.0.5 fix version code to not duplicate version if that is the git tag
1601
1602 commit b55bde96f77fc95a976fd9f7c00cbe2f4d31a374
1603 Author: Mark Moraes <[email protected]>
1604 Date: Sat Jan 25 15:53:44 2020 -0500
1605
1606 added jtc.c to C_SRC in Makefile
1607
1608 commit e194676383e3e9fde8b2c457643239caa710833f
1609 Author: Mark Moraes <[email protected]>
1610 Date: Fri Jan 24 22:34:06 2020 -0500
1611
1612 4.17.0.4: fixed -Wformat-overflow in teachjove.c, made exit
1613 status positive numbers, errors to stderr.
1614
1615 commit de380c334a3348f72427d874af12d7a844ddcf30
1616 Author: Mark Moraes <[email protected]>
1617 Date: Fri Jan 24 21:53:05 2020 -0500
1618
1619 4.17.0.3: use -Wall -pedantic in default OPTFLAGS (clang and
1620 gcc support it; time to recognize that those are the
1621 dominant two compilers)
1622
1623 Added LOCALEXTRALIBS variable and use it for setmaps
1624 (so I could specify EXTRALIBS=-lasan -lubsan and test with
1625 -fsanitize=address -fsanitize=memory)
1626
1627 Added XEXT to setmaps for consistency (how did this ever work
1628 on DOS -- did we just ship keys.c?)
1629
1630 typo in sysdep.h. (Note that -DXBSD probably covers all
1631 modern *BSD and Darwin, and -DXLINUX should probably cover
1632 all modern Linux, no need for the longer -DSYSVR...)
1633
1634 fix sprintf buffer sizes so gcc 8.3 -Wall -pedantic
1635 (actually -Wformat-overflow) stops complaining (now builds
1636 on alpine with musl with clang 5 and gcc 8.3; also tested
1637 with clang 8 on CentOS7, and gcc 5 on Ubuntu 16.04)
1638
1639 include errno.h (and optionally, stdio.h) in jove.h, to
1640 solve an include ordering fiasco in recover and setmaps,
1641 need tune.h to come first, so sysdep.h can specify _XOPEN_*
1642 or other features, before including any system includes.
1643
1644 Adopt many of Cord's proposed changes from Debian package:
1645 DESTDIR prefix for all paths
1646 xjove/jovetool manuals not installed by default
1647 create and set permissions on missing *DIR install dirs
1648 switch to /var/tmp, it is not removed on reboot by FHS convention
1649 so recover -syscrash is not really needed.
1650 switch to groff options by default, who remembers ditroff!
1651 typo in doc/jove.nr
1652
1653 commit 06e2a1d91a60d7cb7fcaa5889f7fe04d3545a486
1654 Author: Mark Moraes <[email protected]>
1655 Date: Fri Jan 24 10:51:40 2020 -0500
1656
1657 4.17.0.2 Back out of the reset-tabs sequence in jtc, does not work well
1658 on xterm and st (and konsole, per Paul Vixie)
1659
1660 Fix all -Wall -pedantic complaints from gcc 5.5.0 (Ubuntu 16.04)
1661 declare dummy var in jtc so no complaints re: empty translation unit
1662
1663 remove unused env_malloced variable from util.c
1664 (probably leftover, the real flag is in the Env struct)
1665
1666 check setuid return in recover.c
1667
1668 avoid sprintf in setmaps.c for trivial character formatting
1669 (still need to avoid sprintf in recover.c and teachjove.c,
1670 per clang complaints reported by Paul Vixie)
1671
1672 Author: Mark Moraes <[email protected]>
1673 Date: Thu Jan 23 23:01:00 2020 -0500
1674
1675 4.17.0.1: Cursory update for README, tweaked XBSD and XLINUX in sysdep.h
1676
1677 commit aecc4dc618e68a39d9e53da0e68cb1dd15a3170a
1678 Author: Mark Moraes <[email protected]>
1679 Date: Wed Jan 22 21:16:34 2020 -0500
1680
1681 4.17.0.0 candidate
1682
1683 Some automatic version generation machinery in Makefile,
1684 uses git --describe. Remove version.h, only place version
1685 is specified is now Makefile, which generates jove.spec from
1686 jspec.in, and puts jversion and jversion_lnum in paths.h,
1687 which was already auto-generated, and can be used by
1688 jjove.rc instead of version.h
1689
1690 Added LICENSE for general conformance/convenience (same as
1691 boilerplate header for src) and moved version.h history
1692 to ChangeLog, also more conventional
1693
1694 Updated jove.spec to github
1695
1696 make clean removes the xjove/.filelist and distrib created by make distrib
1697
1698 Removed bogus reference and docs for non-existent IPROC_TERM
1699
1700 jtc.c resets tabs on VTALT, avoids nastiness of some kinds if terminal
1701 gets borked (Jove really likes using phystab of 8)
1702
1703 Updated .gitignore
1704
1705 5Acommit 41c658c11eedfbf2fc09f6559c03215f1e60aa98
1706 Author: Mark Moraes <[email protected]>
1707 Date: Thu Jan 23 22:25:51 2020 -0500
1708
1709 Updated jove.spec to github
1710 Clean removes the xjove/.filelist and distrib created by make distrib
1711 Removed bogus reference and docs for non-existent IPROC_TERM
1712 jtc.c resets tabs on VTALT, avoids nastiness of some kinds if terminal
1713 gets borked (Jove really likes using phystab of 8)
1714
1715 commit 6d62c645b543bf2b7aebd85c62d001fa3dfba077
1716 Author: Mark Moraes <[email protected]>
1717 Date: Wed Jan 22 21:16:34 2020 -0500
1718
1719 Some automatic version generation machinery in Makefile,
1720 uses git --describe. Remove version.h, only place version
1721 is specified is now Makefile, which generates jove.spec from
1722 jspec.in, and puts jversion and jversion_lnum in paths.h,
1723 which was already auto-generated, and can be used by
1724 jjove.rc instead of version.h
1725
1726 Added LICENSE for general conformance/convenience (same as
1727 boilerplate header for src) and moved version.h history
1728 to ChangeLog, also more conventional
1729
1730 commit 586003424679800d75e78b534ef2bbcb61a705bd
1731 Author: Mark Moraes <[email protected]>
1732 Date: Wed Jan 22 08:32:26 2020 -0500
1733
1734 ensure tune.h is first (move setjmp.h later) in jove.h
1735 (which is first everywhere else) so that system header
1736 features don't get defined, so we can now set
1737 _XOPEN_SOURCE or other features in sysdep.h or tune.h
1738
1739 add XBSD and XLINUX to sysdep.h, for convenience on the two
1740 most common platforms around today (Darwin and Linux)
1741
1742 commit 1c6e9a713069e190701307e661d464eb67d1d983
1743 Author: Mark Moraes <[email protected]>
1744 Date: Thu Jan 16 17:38:22 2020 -0500
1745
1746 tparm argument order seems wrong, needs to be l, c,
1747 since the definition for cm is %p1%d;%p2%d. tgoto is
1748 opposite and is c, l, presumably historical weirdness.
1749
1750 commit 1de95ea776dd242f5d3acab8a0395388b609350c
1751 Author: Mark Moraes <[email protected]>
1752 Date: Thu Jan 16 17:36:28 2020 -0500
1753
1754 UNIX may as well have MALLOC_CACHE set to 1, reduces
1755 apparent bss size.
1756
1757 commit 5fbadda38f3b85ce71fb1acbc0c877d27e90d2a6
1758 Author: Mark Moraes <[email protected]>
1759 Date: Thu Jan 16 17:16:50 2020 -0500
1760
1761 fix delay code and add flushscreen for vb to avoid
1762 calling SitFor
1763
1764 commit 996592ed7947c985538a187bdba75ab6c19d443e
1765 Author: Mark Moraes <[email protected]>
1766 Date: Mon Jan 13 14:46:12 2020 -0500
1767
1768 switch from putpad to putstr since it is putting
1769 explicit escape sequences with no use of tputs syntax.
1770
1771 commit 91eec94450bcb591ec88de8b4d1d857386debd6b
1772 Author: Mark Moraes <[email protected]>
1773 Date: Sun Jan 12 12:45:08 2020 -0500
1774
1775 vb contains padding delays like $<100/> on most modern
1776 terminals (vt220, xterm) between the switch to reverse
1777 video and back, so it needs to be output by putpad (i.e.
1778 tputs), not putstr. On gnome-terminal (Ubuntu 16.04),
1779 set visible-bell on and hit ^G, and jove will produce
1780 $<100/> on the screen rather than a visual bell flash.
1781
1782 commit 972f056a2ddc0d523c12fa2f3b9b585046476ac9
1783 Author: Mark Moraes <[email protected]>
1784 Date: Sun Jan 12 12:41:30 2020 -0500
1785
1786 Increase MAXCOLS from 256 to 512 (I get 300+ column
1787 maximized xterms on my new 4K monitor)
1788
1789 commit 0ed38a00d06e4fb643bdfbcda9b963b291ac4f92
1790 Author: Mark Moraes <[email protected]>
1791 Date: Sat Jan 11 00:21:24 2020 -0500
1792
1793 added jtc, which provides all the termcap/terminfo
1794 functionality that Jove needs but is limited to ANSI
1795 X.3/VT[1-5]xx/xterm/rxvt/... (does anyone run anything
1796 else now) This avoids the small annoyance of the
1797 termcap/terminfo/curses/ncurses/ncursesw external dependency.
1798
1799 commit 2fa2236ea50b22abc63e64b7532e0cc7e82db8a1
1800 Author: Mark Moraes <[email protected]>
1801 Date: Sat Jan 4 22:55:04 2020 -0500
1802
1803 increase size of tspace, xterm pretty close to edge, and
1804 some terms are over.
1805
1806 commit e8390bd82e0305174c53e924a3de99193ff2e04f
1807 Author: Mark Moraes <[email protected]>
1808 Date: Sat Jan 4 14:11:52 2020 -0500
1809
1810 correct TERM from emacs to dumb in README and mention
1811 {,i}proc-env* mention ncursesw and Alpine/docker note
1812 Changed jovehacks to jovedev email
1813
1814 commit 3934215398c6cead35d23bc181adf13934bd0886
1815 Author: Mark Moraes <[email protected]>
1816 Date: Wed Nov 18 14:31:30 2015 -0500
1817
1818 added proc-env-{export,show,unset} to match iproc.
1819 changed jenvinit to more meaningful jenvdata. Fixed
1820 Makefile to use LANG=C for nroff etc so that it does not
1821 try smart hyphens (which break jove search)
1822
1823 commit 88fb4b035946c6c3f141b532181801378e17baa9
1824 Author: Mark Moraes <[email protected]>
1825 Date: Wed Nov 18 02:37:28 2015 -0500
1826
1827 added iproc-env-{export,show,unset} commands to allow
1828 setting or unsetting env vars before interactive
1829 processes are started. Moved most code from
1830 set_process_env() to doc/jove.rc and added a few from
1831 jovedev email thread.
1832
1833 commit f5a5f9122946e9bddd803a7178bfba6b0883e9f4
1834 Author: Mark Moraes <[email protected]>
1835 Date: Wed Nov 18 00:08:47 2015 -0500
1836
1837 Moved j{put,unsetenv}env from iproc.c to util.c, made
1838 them externally visible, declared in util.h, generalized
1839 them to take a ptr to an Env struct instead of modifying
1840 global state, keep one of those Env structs as iproc_env
1841 in iproc.c (preparatory to maintaining a separate one
1842 for proc.c)
1843
1844 commit dbd3fe96fad7f3e3b77f763949b725e6930cdd5b
1845 Author: Paul Vixie <[email protected]>
1846 Date: Sat Mar 2 06:38:36 2019 +0000
1847
1848 patch from github jonmacs/jove strcpy branch
1849 commit 2a6b24db99aa78351335583e133d1a970eeff583
1850 very light strcpy audit, mostly to fix casey leedom report
1851 [the strcpy in proc.c:344 is also reported by valgrind
1852 ==27906== Source and destination overlap in strcpy(0x63e540, 0x63e540)
1853 MakeName (proc.c:344)
1854 ShellCom (proc.c:490)
1855 ExecCmd (commands.c:164)
1856 dispatch (keymaps.c:926)
1857 DoKeys (jove.c:1465)
1858 main (jove.c:1777) - moraes]
1859
1860 commit 7f9e5d2b59ebfff8e4bfd5bb9b187c53465ba6c6
1861 Author: paul vixie <[email protected]>
1862 Date: Sat Mar 9 12:48:51 2019 -0800
1863
1864 use "do {}" rather than "do ;", for -pedantic (#5)
1865
1866 commit e2d5e98fbf0b2d303f1f1cb7383e25ccc3ca990b
1867 Author: Mark Moraes <[email protected]>
1868 Date: Sun Mar 10 23:25:45 2019 -0400
1869
1870 4.16.0.74:
1871 experimental release by Hugh on 2015-10-21 16:38
1872 ftp.cs.toronto.edu:/pub/hugh/jove-dev/experimental/jove4.16.0.74.tgz
1873 tarball sha256sum 168084a021c38058d01e2de30d22b198836b12077647bd1e98dc8a9be416dbbf
1874
1875 unfortunately same version in version.h
1876 further cleanup on fill (new_kill function for common code)
1877 Note about OpenSuSE TERMCAPLIB
1878
1879 commit b8cb69213ee0c4f3200a203eda7aec39cfa4004f
1880 Author: Mark Moraes <[email protected]>
1881 Date: Sun Mar 10 23:25:08 2019 -0400
1882
1883 4.16.0.74-old1:
1884 experimental release by Hugh on 2015-10-15 14:30 (email Oct 15, 2015 at 7:19 PM)
1885 ftp.cs.toronto.edu:/pub/hugh/jove-dev/experimental/jove4.16.0.74-old1.tgz
1886 tarball sha256sum ca679b63c38b424eed3e16d3a2ab40e4463c70bbc16e83164ae4ad692de26da3
1887
1888 Changes:
1889 - minor portability improvements
1890 - new jove.spec for Fedora and EPEL
1891 - fill-comment now handles paragraphs
1892 - fill-region can be undone via yank-pop
1893 - support for xterm-256color (same as xterm
1894
1895 Revision 1.423 2010/07/11 15:29:31 hugh
1896 4.16.0.73:
1897 - added NROFF="nroff -Tascii" to Makefile and jove.spec to force groff to use ASCII
1898 - spelling corrections [Cord Beermann]
1899 - remove -lolgx from xjove link [Cord Beermann]
1900 - improve recover's email Subject [Cord Beermann]
1901
1902 Revision 1.422 2010/05/25 03:39:54 hugh
1903 4.16.0.72:
1904 - eliminate strcpy and byte_copy calls with overlapping source and destination
1905 - fix setmaps.c misuse of fprintf
1906
1907 Revision 1.421 2010/05/17 02:38:38 hugh
1908 - add new variable display-default-filenames (Casey Leedom)
1909 - eliminate most GCC warnings; improve handling of some errors
1910 - allow for Linux/glibc elimination of I_PUSH (pseudo TTY STREAMS)
1911 - improve jove.spec for Red Hat packaging
1912 - delete obsolete command process-dbx-output
1913 - delete obsolete variables allow-bad-filenames, display-bad-filenames, internal-tabstop
1914 - add bindings for more xterm function key variants
1915
1916 Revision 1.420 2006/04/30 21:51:40 hugh
1917 don't crash when filename completion list is wider than screen
1918
1919 Revision 1.419 2005/10/01 00:34:41 hugh
1920 4.16.0.69: fix minor errors introduced in 4.16.0.67
1921
1922 Revision 1.418 2005/09/28 18:41:49 hugh
1923 Work around an xterm / termcap / terminfo bug involving SR.
1924
1925 Revision 1.417 2005/05/14 20:29:03 hugh
1926 Generalize tags code to handle bizarre the mutations of tagfile format.
1927 Contributed by Mark Moraes; "improved" by DHR.
1928
1929 Revision 1.416 2005/05/14 17:46:43 hugh
1930 rpmbuild now requires "License" tag in place of "Copyright" tag in .spec
1931
1932 Revision 1.415 2004/07/11 20:04:32 hugh
1933 - dodge yet another xterm bug in hilite mode
1934 - set default buffer size to 4kB (ups line length limit to same)
1935 - tweak documentation
1936
1937 Revision 1.414 2004/02/01 19:27:03 hugh
1938 - introduce sysdef BSDPOSIX_STDC
1939 - update README
1940
1941 Revision 1.413 2003/05/05 01:37:05 hugh
1942 refine modified flag in list-buffers output
1943
1944 Revision 1.412 2003/03/09 23:49:55 hugh
1945 4.16.0.62: fix for WIN32; note tested environments [Jim Patterson]
1946
1947 Revision 1.411 2003/02/01 02:02:08 hugh
1948 4.16.0.61: increase MESG_SIZE to support wider terminals
1949
1950 Revision 1.410 2003/01/31 22:15:33 hugh
1951 4.16.0.60: fix screen update bug involving scrolling region
1952 Surprise: cursor location undefined after setting scrolling region
1953
1954 Revision 1.409 2003/01/31 22:01:40 hugh
1955 4.16.0.59: add "distrib" and "signeddistrib" Makefile targets
1956 tar file will now unpack into jove<version> directory
1957
1958 Revision 1.408 2003/01/09 02:07:15 hugh
1959 adjust jove.spec for yet another new rpmbuild requirement
1960
1961 Revision 1.407 2002/12/13 01:52:47 hugh
1962 - allow $TERM for iprocs to be configured
1963 - adjust types of parameters of truncstrsub and jamstrsub (lint)
1964 - refine jove.spec (for RPM building); iproc TERM=vanilla
1965
1966 Revision 1.406 2002/03/21 07:06:04 hugh
1967 update Copyright to satisfy Debian
1968
1969 Revision 1.405 2002/02/12 20:14:08 hugh
1970 - add style.doc to describe some coding conventions
1971 - add a Makefile target to support Exuberant Ctags more conveniently
1972 - add a note about overflow in calculating percentage in buffer-position
1973 - change TERM and TERMCAP environment variables in iproc
1974
1975 Revision 1.404 2001/12/20 21:07:25 hugh
1976 - fix Makefile problems with openpty configuration
1977 - factor LIBS into TERMCAPLIB and EXTRALIBS
1978
1979 Revision 1.403 2001/12/17 22:24:14 hugh
1980 - fix a few buffer overruns
1981 - add "Quick summary" to README
1982 - use "jmode_t" where mode_t is appropriate (old systems must define as int)
1983 - use uid_t; hope this is portable
1984 - added GCC_LINT to make it more pleasant to use gcc warning options
1985
1986 Revision 1.402 2001/07/15 19:14:23 hugh
1987 improve jove.spec (for Redhat Package Manager)
1988
1989 Revision 1.401 2001/03/22 07:17:26 hugh
1990 4.16.0.51: improve portability; use openpty on *BSD
1991
1992 Revision 1.400 2001/02/04 21:01:50 hugh
1993 4.16.0.50 support groff; fix jove.spec for RPM creation
1994
1995 Revision 1.399 2000/11/10 07:58:22 hugh
1996 [BET+DHR] support installation into a playpen; exploit when building RPM
1997
1998 Revision 1.398 2000/07/12 16:13:01 hugh
1999 4.16.0.48: use SVR4_PTYS (AKA UNIX98 PTYS) for LINUX
2000
2001 Revision 1.397 1999/10/22 14:16:39 hugh
2002 4.16.0.47: get file creation mode right; predelete backup file
2003 Thanks to Rob McMahon <[email protected]>
2004
2005 Revision 1.396 1999/08/29 18:44:49 hugh
2006 4.16.0.46: add save-on-exit [[email protected]]
2007
2008 Revision 1.395 1999/08/25 19:47:30 hugh
2009 4.16.0.45: detect and report file close errors [[email protected]]
2010
2011 Revision 1.394 1999/08/19 02:14:13 hugh
2012 4.16.0.44: add .spec for RPM creation
2013
2014 Revision 1.393 1999/08/18 23:17:20 hugh
2015 4.16.0.43: make mkstemp code less brittle (Moraes)
2016
2017 Revision 1.392 1999/08/18 21:56:21 hugh
2018 make USE_CTYPE implicit in BSDPOSIX (except for __convex__!)
2019
2020 Revision 1.391 1999/08/15 02:24:48 hugh
2021 Support for Cygwin32 environment on MS Win32
2022 (from Arlindo da Silva and Dave Curry)
2023
2024 Revision 1.390 1999/08/15 00:50:48 hugh
2025 4.16.0.40: fix horrible umask security hole
2026
2027 Revision 1.389 1999/08/13 14:43:05 hugh
2028 4.16.0.39: reflect Jim's ([email protected]) work on Win32 and HPUX
2029
2030 Revision 1.388 1999/08/12 21:21:38 hugh
2031 4.16.0.37: update Makefile and README to reflect modern systems
2032
2033 Revision 1.387 1999/08/12 19:14:11 hugh
2034 4.16.0.37: scatter "const"; update copyright; tidy comments
2035
2036 Revision 1.386 1999/08/10 15:08:03 hugh
2037 4.16.0.36: switch to safe creation of tempfiles.
2038 Note: mode_t isn't used because argument promotion rules mess things up.
2039 Some additional tidying.
2040 Tested on MSDOS, SunOS 4.0, Solaris 2.6, RedHat5.2.
2041
2042 Revision 1.385 1999/08/09 05:50:51 hugh
2043 4.16.0.35: fix nits in documentation
2044
2045 Revision 1.384 1999/08/06 19:02:27 hugh
2046 4.16.0.34: fixed a bug that caused justification of the following line
2047 to hang JOVE. set right-margin 70. Note whitespace at end.
2048
2049 Revision 1.383 1999/08/06 16:47:20 hugh
2050 make xterm mouse code dodge metakey kludge (needed for xterms wider than 95)
2051
2052 Revision 1.382 1999/02/11 18:41:51 hugh
2053 fix indented #ifdef: would confuse old compilers
2054
2055 Revision 1.381 1998/09/22 21:10:44 hugh
2056 Rename SCO to SCO_ODT3 to be more specific.
2057 Fix typo in SCO_ODT3 settings (cannot test!).
2058 Thanks, Mark Moraes <[email protected]>
2059
2060 Revision 1.380 1998/09/22 03:47:03 hugh
2061 glibc-2 (the GNU C library, used in some LINUX systems) has a
2062 a unique (but probably not wrong) feature: stat, when it fails,
2063 scribbles over the stat buffer. This change lets JOVE deal
2064 with this feature.
2065 Thanks to Steve Thompson <[email protected]>.
2066
2067 Revision 1.379 1998/09/21 21:19:05 hugh
2068 Verify that other end of PTY can be opened before accepting it.
2069 This is needed apparently needed under LINUX. The test doesn't
2070 work on old versions of BSDI/386, so BSDI_PTY_BUG will suppress.
2071
2072 Revision 1.378 1998/09/21 17:57:12 hugh
2073 fix error message construction
2074 [originally done 1998 March 29]
2075
2076 Revision 1.377 1998/09/21 17:52:15 hugh
2077 avoid freeing already freed name list
2078 [originally done 1998 January 25]
2079
2080 Revision 1.376 1998/09/21 17:48:10 hugh
2081 Change xterm-bug-workaround to avoid changes made for XFree 3.2.
2082 Without this change, mouse usage under the xterm of XFree 3.2
2083 will leave mysterious blanks on the screen.
2084
2085 The relevant change to XFree 3.2's xterm is that the sequence ESC X is
2086 now meaningful. We had counted on this to be ignored. Now we will
2087 count on ESC DEL being ignored.
2088 [originally done 1997 Sept 21]
2089
2090 Revision 1.375 1997/07/10 06:06:30 hugh
2091 Add support for different meaning if im and ic with ncurses' termcap
2092 (used with LINUX and other free systems).
2093
2094 Revision 1.374 1997/01/17 01:59:28 hugh
2095 4.16.0.24: little touches
2096 - allow var internal-tabstop to be set to 0 (tab-width already could)
2097 - notes for porting to Digital UNIX
2098 - spelling improvement
2099
2100 Revision 1.373 1997/01/16 22:08:26 hugh
2101 4.16.0.23: handle symlinks in path canonicalization (PathParse)
2102
2103 Revision 1.372 1996/10/10 06:59:26 hugh
2104 4.16.0.22: more pr_name static buffer bugs
2105
2106 Revision 1.371 1996/10/06 20:57:51 hugh
2107 4.16.0.21: port to Digital UNIX V4.0 -- one JOVE bug, one OS bug
2108
2109 Revision 1.370 1996/09/19 02:09:39 hugh
2110 4.16.0.20: fix bug in window resizing by mouse
2111 To demonstrate bug:
2112 - split a window that is viewing a non-empty buffer
2113 - make upper window have a different dot.
2114 - enlarge the upper window by dragging its mode line down (button 2)
2115 The upper window's dot will be a copy of the lower window's.
2116
2117 Revision 1.369 1996/09/09 06:29:43 hugh
2118 4.16.0.19: eliminate tricky aliasing bug in Source/ask_ford/PathParse
2119
2120 The bug to be fixed is the interaction of the following:
2121 - PathParse must not have aliased args
2122 - if ask_ford is called with def and buf aliased
2123 AND pr_name(def, YES) yields a pointer into def
2124 AND the user defaults the file name
2125 THEN PathParse will be called with aliased args
2126 - Source calls ask_ford with def and buf aliased
2127
2128 To demonstrate:
2129 - set environment variable HOME to "" or "/"
2130 - run jove in some other directory
2131 - issue "source" command and hit return to default the file name
2132 - jove will attempt to source the file named ""
2133
2134 The fix: since pr_name sometimes returns a pointer to its static buffer,
2135 the simplest change is to make it always return a pointer to its static
2136 buffer. At the same time, sprinkle a few comments about aliasing in the
2137 relevant routines.
2138
2139 Incidental improvements:
2140 - pr_name now complains about too-long file names
2141 - pr_name will now choose to use ~ over cwd-relative naming if the
2142 resulting name is shorter
2143
2144 The apology: static buffers are evil (wasteful and error-prone) and
2145 should be eliminated. Unfortunately, this would require changes to
2146 every use of pr_name.
2147
2148 Revision 1.368 1996/08/19 21:05:09 hugh
2149 4.16.0.18: make dbx a minor mode (simplify, generalize)
2150
2151 Revision 1.367 1996/07/11 05:09:06 hugh
2152 4.16.0.17: make jjove.rc use version.h
2153
2154 Revision 1.366 1996/07/07 22:18:22 hugh
2155 4.16.0.16: fix bugs in commandline arg processing
2156 There were several odd cases where the current buffer
2157 would not be tied to the current window.
2158 >> As a minor enhancement, the alternat buffer will now
2159 be set to the last file not assigned a window.
2160
2161 Revision 1.365 1996/07/02 00:15:13 hugh
2162 4.16.0.15: fix subtle screen maintenance bug
2163 Without this, filename/command/etc completion would get
2164 truncated when process windows were updated.
2165
2166 Revision 1.364 1996/06/16 15:56:45 hugh
2167 4.16.0.14: fix MatchDir usage
2168
2169 Revision 1.363 1996/06/13 06:19:29 hugh
2170 4.16.0.13: rename basename => jbasename (name taken by SVR4)
2171
2172 Revision 1.362 1996/05/23 03:08:41 hugh
2173 4.16.0.12: fix nits in teach-jove
2174
2175 Revision 1.361 1996/05/20 01:57:36 hugh
2176 4.16.0.11: in Makefile: use LDCC in appropriate places
2177
2178 Revision 1.360 1996/05/09 02:40:21 hugh
2179 4.16.0.10: improve READMEs for DOS and WIN32
2180
2181 Revision 1.359 1996/05/08 18:15:13 hugh
2182 4.16.0.9: support ConvexOS, istrip problems and all
2183
2184 Revision 1.358 1996/05/08 03:44:25 hugh
2185 4.16.0.8: restore Zortech compatibility
2186 Zortech 3.0 doesn't define EINTR; I don't think any MSDOS runtime
2187 would generate it for a write(). (The code already reflects this
2188 understanding for read().)
2189
2190 Revision 1.357 1996/05/07 04:28:18 hugh
2191 4.16.0.7: fix backup-files code for MSFILESYSTEM
2192
2193 Revision 1.356 1996/04/22 06:49:45 hugh
2194 4.16.0.6: remove unwarranted bug warning
2195 The bug was caused by a virus on the test system.
2196
2197 Revision 1.355 1996/03/30 00:59:29 hugh
2198 4.16.0.5: fix justification nits
2199
2200 Revision 1.354 1996/03/21 19:14:48 hugh
2201 4.16.0.4: improve concatenation of pathname components
2202 This change is needed to avoid accidental references to network files
2203 under some Microsoft systems.
2204 Took this oportunity to delete some obliquely related nonsense code
2205 in scandir.c.
2206
2207 Revision 1.353 1996/03/21 17:02:10 hugh
2208 4.16.0.3: correct case of OS in Makefile.msc
2209
2210 Revision 1.352 1996/03/20 08:00:59 hugh
2211 4.16.0.2: Fix strange font usages in xjove (Charles)
2212
2213 Revision 1.351 1996/03/20 07:40:19 hugh
2214 4.16.0.1: fix and use lint Makefile target
2215
2216 commit 702706df4025029f580bc2962b9fc407bd2ddc58
2217
2218 version 4.16 released on ftp.cs.toronto.edu on 1996/03/30
2219
2220 PC, Win32 and Un*x-specific code factored into ibmpcdos.c,
2221 win32.c and unix.c respectively.
2222
2223 Retested on lots of platforms, this was the last major Jove
2224 release formally tested by all jove developers. The release
2225 announcement/README was:
2226
2227 4.16 has been widely ported, it features LOTS of changes, fixes,
2228 improvements. Among other things, it should compile and work out of
2229 the box on most widely used Un*x and Posix variants, including AIX,
2230 BSDI, DGUX, HP-UX, Irix, Linux, OSF/1, QNX, SCO, Solaris, SunOS, SVR4,
2231 Ultrix. Considerable work has gone into making it easier to port
2232 (functional ifdefs rather than system specific ones). It now has
2233 simple mouse support under xterms, the documentation has been
2234 re-worked.
2235
2236 This version of Jove also works under DOS, Win32 and the Mac with
2237 almost the same functionality as the Un*x version.
2238
2239 commit 6cf695fea5f3980fe41a2ce423122ef376446709
2240
2241 version 4.16beta released on ftp.cs.toronto.edu on 1994/11/23
2242
2243 many fixes, more portability, xjove, xterm mouse handling and
2244 jovetool appear courtesy Charles Lindsey.
2245
2246 doc/jove.[123] become doc/intro.nr
2247 doc/jove.[45] become doc/cmds.nr
2248 doc/system.rc becomes doc/jove.rc*
2249 Readme.* become README.*
2250 Makefile.dos becomes Makefile.{bcc,msc,wat,zor} for various PC compilers
2251 tune.template is gone, those defines are set in Makefile
2252
2253 commit aab347b0f618ecd19dce73efbe2ea44101cae20f
2254
2255 version 4.14.10 released on ftp.cs.toronto.edu on 1993/06/19
2256
2257 Many bugfixes from Hugh Redelmeier who took on primary
2258 maintenance and Mark Moraes who did much of the portability
2259 revamp and testing on a wide range of Un*x variants
2260 available at UToronto at the time (MIPS, SGI Irix,
2261 SUNOS[34], BSD, Ultrix). sysdep.h makes an appearance and
2262 the ifdef maze is now feature-based rather than ad-hoc.
2263 Much de-lintingh as a side-effect of testing with
2264 full-warnings on as many nit-picky compilers as possible.
2265
2266 a few files renames appear as delete+new because of
2267 conversion: in particular, version.c now becomes version.h
2268
2269 commit 44a942827c9c2766d161668389d3edaea1a9dd8a
2270
2271 revision 4.14
2272 date: 1989/10/17 10:20:31; author: jpayne; state: Exp; lines: +1 -1
2273 Quick check-in for hugh and mark.
2274
2275 commit ba38dd8858356ade98ff351f46bdc0d7690ea5d4
2276
2277 revision 4.12
2278 date: 1989/02/13 09:46:15; author: jpayne; state: Exp; lines: +3 -1
2279 Ansi C-ified. Also minor addition to scroll-region-{left,right}
2280 now uses numeric argument if one is supplied to figure out how
2281 far to indent.
2282
2283 commit 1028d6ba06536d582d289ab009748309853cfc59
2284
2285 revision 4.11
2286 date: 1989/01/18 15:11:10; author: jpayne; state: Exp; lines: +1 -1
2287 new c-mode, shift-region-{left,right}, dbx-mode,
2288 deleted find-files-read-only variable, uses getpwent
2289 to look up home directories.
2290
2291 commit ad842c38e45fbd09ba81e8cda51f73f92e8283c7
2292
2293 revision 4.10
2294 date: 1988/10/21 14:22:54; author: jpayne; state: Exp; lines: +1 -1
2295 added function proto-typing
2296 {f,s,}printf => {f,s,}writef
2297 numeric argument functions are macros now
2298 real keymaps now
2299 added RE_block structure for RE's.
2300 new mail checking algorithm
2301 better handling of modeline with SG's
2302 changed meaning of %e in modeline
2303 deleted ansi-codes
2304 read-only mode
2305 new pipeprocs mechanism
2306 cleaned up white space
2307 added C-X 4 C-T
2308
2309 commit a392c927e39e298e5298fccac90b752ac30dea4f
2310
2311 revision 4.9
2312 date: 1988/03/14 19:13:38; author: jpayne; state: Exp; lines: +7 -7
2313 -runs on the macintosh!
2314 -new variables display-bad-filenames, scroll-all-lines,
2315 error-format-string
2316 -new commands scroll-left, scroll-right, shell-command-no-buffer
2317 shell-command-with-typeout
2318 -deleted parse-special-errors (see error-format-string)
2319 -disable redisplay during screen Typeout
2320 -%w in modeline displays '>' if window is scrolled
2321 -unbind-key really works
2322 -tabs are inserted if at end of line in lisp mode
2323 -jove -tTagname works
2324 -jove windows are resized in proportion to the system window
2325 resize
2326
2327 commit 08e9e8903b0862b8f0c353fdb1fa6e0c62361a98
2328
2329 revision 4.8.1.1
2330 date: 1988/01/18 13:12:48; author: jpayne; state: Exp; lines: +1 -1
2331 Version 4.8b of JOVE, to be combined with the changes of Karl and Tim
2332 for PC jove. See 4.9 entry for diff listing.
2333
2334 commit d547430ed201f1a5e614cf1359c55f7616f9a70c
2335
2336 revision 4.8
2337 date: 1987/10/16 15:53:08; author: jpayne; state: Exp; lines: +1 -1
2338 branches: 4.8.1;
2339 New text macros!!!
2340 IBM PC/MSDOS compatible!!!
2341
2342 commit 002e27a0a9fbe902043dd9a2b1bb0c8f4e392283
2343
2344 revision 4.7
2345 date: 1987/07/16 11:11:47; author: jpayne; state: Exp; lines: +7 -9
2346 -Changed arg count.
2347 -Added environment variable support.
2348 -Changed CTL() macro to conform to ansi C.
2349 -Changed file commands to use path relative form to speed
2350 up accesses.
2351 -Reverted to old fill-paragraph.
2352 -Added BL and NL (with stripped padding) termcap support.
2353 -Added %p on modeline (display process status).
2354 -Changed buffer-position.
2355 -Fixed fmt.c for BSD4.3 ctime(); cleaned up code.
2356 -Combinded ^U and ESC correctly.
2357 -find_tag uses binary search.
2358 -Changed rec file format.
2359 -Fixed load average for SUNS.
2360
2361 commit 64dff0fa821665f05019f064b187313f34ea9343
2362
2363 revision 4.6.1.5
2364 date: 1987/04/18 12:22:56; author: jpayne; state: Exp; lines: +1 -1
2365 -kill buffer doesn't delete any windows
2366 -fixed simple recursive keymap displaying bug
2367 -buffer-position doesn't die on 0 length buffers
2368 -added goto-window-with-buffer
2369 -fixed .joverc weirdness with 'P' vs. 'p', etc.
2370 -fixed iproc's dieing - now insert message AT END OF BUFFER
2371 -combined ^U and ESC # at last
2372 -fixed dosub \\\ bug
2373 -find tag works in wrap-search mode
2374 -fixed structure name conflicts
2375 -SysV vs. SysVRel2
2376
2377 commit 669c46e98fe44a691cbfcf58ecb410673c45acbe
2378
2379 revision 4.6.1.4
2380 date: 1987/01/21 19:06:27; author: jpayne; state: Exp; lines: +1 -1
2381 %m is changed on mode-line
2382 changed DoJustify to really use the right-margin
2383
2384 commit b819657159a742fd3f9e6968c27f5ce812a5a7b4
2385
2386 revision 4.6.1.3
2387 date: 1986/12/22 14:29:26; author: jpayne; state: Exp; lines: +1 -1
2388 Few bug fixes.
2389
2390 commit fa64b7627c24a9050cba5c044fb98c75e19c8624
2391
2392 revision 4.6.1.2
2393 date: 1986/09/24 10:50:01; author: jpayne; state: Exp; lines: +7 -9
2394 This is the version sent out to mod.sources. Contains a
2395 few minor differences from the previous version, some of
2396 Hugh's bug fixes, couple new variables, etc.
2397
2398 commit f0263179fc74ce8a8c7f939aa51e204fdb8f9dc5
2399
2400 revision 4.6.1.1
2401 date: 1986/08/26 19:20:49; author: jpayne; state: Exp; lines: +1 -1
2402 -recover is no longer a top level command; use jove -r instead.
2403 -the jove tmp file is created upon demand now.
2404 -new variable type V_FILENAME, and new variable "tmp-file-path."
2405 -fixed typing C-V before initial file read is complete.
2406 -new command "add-lisp-special."
2407 -yes/no questions don't wait for return.
2408 -chk_mtime is called whenever a file is reselected.
2409 -the NORMC char code is followed by a # which is the # of NORMC's.
2410
2411 commit d225bd8f9c48a5ca79ada5cc68aaf4921581e177
2412
2413 revision 4.6
2414 date: 1986/07/24 12:57:08; author: jpayne; state: Exp; lines: +1 -1
2415 branches: 4.6.1;
2416 Fixed serious text munging bug (getblock() in IO.C).
2417 Made case independent search as fast as normal search.
2418 Fixed bug that caused JOVE to keep trying to write files even
2419 after an error.
2420 ESC 1 2 3 and ESC 1 ESC 2 ESC 3 do the same thing now. So meta-key
2421 really works.
2422 Added some lisp commands.
2423
2424 commit f4ae519828d94f99bdb58ab304be6d1bf9e6871c
2425
2426 revision 4.5
2427 date: 1986/03/27 20:40:14; author: payne; state: Exp; lines: +1 -1
2428 This version has the new tmp file format. Lines are don't go over
2429 block bounderies anymore to make things faster. The search code is
2430 lots faster and the paren matching code is more accurate and MUCH
2431 faster.
2432
2433 commit ecfd7acb0074e7efd778999306ad3e27c0ca86ed
2434
2435 revision 4.4.2.1 locked by: payne;
2436 date: 1986/03/18 00:08:32; author: payne; state: Exp; lines: +1 -1
2437 This version has new paren flash code, several bug fixes.
2438
2439 commit 660c8ad206ba229a7988b804fcc8f066e34be601
2440
2441 no longer relies on sprintf returning char*
2442
2443 revision 4.4.2.0
2444 date: 1986/02/28 17:00:49; author: payne; state: Exp; lines: +1 -1
2445 This version has a fix for the sun problem. On suns the C library
2446 version of malloc is used instead of the pdp11 version.
2447
2448 commit ef3be7a4243bd913aeca7614d3a4ab2b45c3997f
2449
2450 tiny change to a complaint
2451
2452 revision 4.4.1.2
2453 date: 1986/02/18 23:06:57; author: payne; state: Exp; lines: +1 -1
2454
2455 commit 194b87c042a1d87e92068292d15f60cc05678984
2456
2457 key bindings and setmaps
2458
2459 revision 4.4.1.2
2460 date: 1986/02/18 23:06:57; author: payne; state: Exp; lines: +1 -1
2461
2462 commit bd817796ebb8d403a2ed4fa54b3157bd2cb3f78d
2463
2464 4.4.1.1 seems the rest of the fixes described in the 4.4 log message
2465
2466 revision 4.4
2467 date: 1986/02/13 02:09:39; author: payne; state: Exp; lines: +1 -1
2468 branches: 4.4.1; 4.4.2;
2469 Has file I/O enhancements. Basically rewritten from scratch. Some
2470 bug fixes. Code to automatically convert macros in the old format
2471 to the new format.
2472 ----------------------------
2473 revision 4.4.1.1
2474 date: 1986/02/14 20:09:52; author: payne; state: Exp; lines: +1 -1
2475 New version 4.4.1.1
2476 ----------------------------
2477
2478 commit 6011c1bbe8dc2472e907bd5b418115acf77d3898
2479
2480 version.c updated to 4.3.1.1 but fixes seem to match branch 4.4
2481
2482 revision 4.4
2483 date: 1986/02/13 02:09:39; author: payne; state: Exp; lines: +1 -1
2484 branches: 4.4.1; 4.4.2;
2485 Has file I/O enhancements. Basically rewritten from scratch. Some
2486 bug fixes. Code to automatically convert macros in the old format
2487 to the new format.
2488
2489 commit 0ae3c568851d6990665f5e1dbdbea67a63374c0c
2490
2491 JOVE is Jonathan's Own Version of EMACS
2492 Written by Jonathan Payne circa 1982, originally at the
2493 Lincoln-Sudbury Regional High School, MA, USA.
2494
2495 This version history (from an RCS archive) starts in
2496 1986 when Jonathan was finishing his CS undergrad
2497 at University of Rochester. Version 4.3 was included in
2498 the BSD 4.3 distribution (the hardcopy manual is part
2499 of the User Software Distribution; USD17) Supposedly,
2500 an earlier version was included in a 1984 USENIX software
2501 tape along with Jay Fenlason's HACK.
2502
2503 A later version 4.6.1.4 was posted to comp.sources.unix
2504 (mod.sources at the time?) in late-1986 or early-1987.
2505
2506 Version 4.8 was ported to the IBM PC.
2507
2508 Version 4.12 was available from cs.rochester.edu for a
2509 while.
2510
2511 Hugh Redelmeier and Mark Moraes took over releases in 1989,
2512 circa jove 4.14, which eventually resulted in a long-lived
2513 4.16 release in 1996. Many subsequent dot releases were
2514 never released formally, though they were available from
2515 ftp.cs.toronto.edu:/pub/hugh/ and some made their way into
2516 various Linux/BSD distributions.
2517
2518 This git history reconstructed by Mark Moraes from an RCS archive
2519 that Jonathan sent and starts with:
2520
2521 revision 4.3
2522 date: 1986/02/13 01:54:59; author: payne; state: Exp;
2523 As distributed with 4.3 BSD.
2524
2525 https://groups.google.com/forum/#!msg/net.unix-wizards/9bPrVuHYlo8/s5Wm4N2-6KQJ
2526 (likely from Henry Spencer's archives, judging by the utzoo path entry)
2527
2528 Message-ID: <bnews.sri-arpa.940>
2529 Newsgroups: net.unix-wizards
2530 Path: utzoo!decvax!decwrl!sun!megatest!fortune!hpda!hplabs!sri-unix!jpayne@BBN-UNIX
2531 From: jpayne@BBN-UNIX
2532 Date: Tue Apr 19 03:33:03 1983
2533 Subject: Weird file names and ...
2534 Posted: Mon Apr 4 07:14:46 1983
2535 Received: Tue Apr 19 03:33:03 1983
2536
2537 At Lincoln-Sudbury High School, here in massachusetts, we are running
2538 2.81bsd UNIX. My friends and I (high school students/graduates),
2539 recently had a lot of fun deleting a file with the character \240 in
2540 it. The file name was so weird that ls couldn't even stat the file.
2541
2542 ...
2543 Jonathan Payne
2544
2545 P.S.
2546
2547 Anyone out there interested in an EMACS style editor for the PDP11.
2548 Unfortunately it doesn't fit on non-split ID machines. Some of its
2549 features include, multiple buffers and windows (as many that can fit
2550 in both cases), key binding (similar to Gosling's), output from
2551 shell commands to buffer, filter-region (so you can sort your files
2552 or beatify your C), parse C/LINT/fgrep type error messages,
2553 spell-buffer (like error parsing), MACRO in the singular (haven't
2554 gotten around to making it more general). I almost forgot to mention
2555 that it has optimized redisplay (NOT as good as Gosling's, but close),
2556 works on any reasonable display terminal (TERMCAP), has
2557 super/hyper/meta optimized cursor motion (I believe it does the best
2558 thing EVERY time with good response time) and aborts redisplay if you
2559 support the right ioctl.
2560
2561 It limitations are 512 characters per line (it stores the file on the
2562 disk in a way similar to that of ed(1) and VI), about a total
2563 of 6500 lines at any time buffers. I believe it hardly ever crashes
2564 i.e. it hasn't happened to anyone yet. There is 10k of I space left and
2565 is, in my opinion, well written and easy to read, so you can modify
2566 it easily.
2567
2568 It's called JOVE which stands for Jonathan's Own Version of Emacs...
2569
2570 If you are interested you can reach me at jpayne@bbng or jpayne@bbn-unix
2571
2572 Be seeing you...
2573
2574 Newsgroups: comp.emacs,comp.sys.mac.programmer.tools,comp.unix.bsd.freebsd.announce
2575 Subject: Announcing JOVE version 4.16 (EMACS-like text editor)
2576 Keywords: EMACS, editor, JOVE
2577 References: <[email protected]>
2578
2579 Jove (Jonathan's Own Version of Emacs) is an Emacs-like editor without
2580 Lisp. It is comfortable to use, small, fast and portable. It has
2581 been available for about a dozen years, and has been included in
2582 several BSD releases.
2583
2584 4.16 (1996 Mar 19) is the latest released version. The previous release was
2585 4.16beta (1994 Nov 23) and before that, 4.14.10.
2586
2587 4.16 has been widely ported, it features LOTS of changes, fixes,
2588 improvements. Among other things, it should compile and work out of
2589 the box on most widely used Un*x and Posix variants, including AIX,
2590 BSDI, DGUX, HP-UX, Irix, Linux, OSF/1, QNX, SCO, Solaris, SunOS, SVR4,
2591 Ultrix. Considerable work has gone into making it easier to port
2592 (functional ifdefs rather than system specific ones). It now has
2593 simple mouse support under xterms, the documentation has been
2594 re-worked.
2595
2596 This version of Jove also works under MSDOS, Win32 (Windows NT and
2597 Windows 95) and the Macintosh with almost the same functionality as
2598 the Un*x version.
2599
2600 The official source location for Jove is
2601 github.com/jonmacs/jove
2602 (newest code in the moraes branch)
2603 The ftp location for Jove is
2604 ftp.cs.toronto.edu:/pub/moraes/jove/
2605 The file jove.README describes the contents of this directory.
2606 Source is provided for all platforms, as are pre-compiled versions
2607 for MSDOS, MSWin32, and the Macintosh.
2608
2609 Jove is supported by a group of users. We can be
2610 reached on the github.com/jonmacs/jove bug tracker. We
2611 welcome bug reports. We also welcome reports on porting
2612 Jove. We are even interested in suggestions for new
2613 features, but we are conservative in adopting them.
2614
2615 Mark Moraes, Hugh Redelmeier (for Jovehacks)
2616