Re: malloc cleanup and small optimizations

2017-12-26 Thread Lari Rasku
Been running a base linked against this on amd64 since the 24th. No new problems observed. If there's anything specific I can test do tell.

Re: Properly sync filesystems during {suspend,hibernate}/resume

2017-12-18 Thread Lari Rasku
Theo de Raadt kirjoitti 12/17/17 klo 08:44: > This should settle filesystems "clean" onto disk. If one does a > suspend and then runs out of battery.. or experiences a crash or out > of battery during a hibernate, the filesystems will now be in a clean > state and not require an fsck. > I'd appre

mg: have Insert key toggle overwrite mode by default

2017-12-16 Thread Lari Rasku
There's a fairly strong convention among text editors that the Insert key should toggle overwrite mode. This is admittedly far more common among GUI editors, but could mg adopt it as a default anyway? diff --git usr.bin/mg/ttykbd.c usr.bin/mg/ttykbd.c index 67bc8e4bd..485291a77 100644 --- usr.bin

ksh: make home & end keys work out-of-the-box in the console

2017-12-16 Thread Lari Rasku
Tested with vt220 and wsvt25. Hopefully we're close to exhausting all the different ways to encode these keys by now. diff --git bin/ksh/emacs.c bin/ksh/emacs.c index 07bfbd914..4291ce656 100644 --- bin/ksh/emacs.c +++ bin/ksh/emacs.c @@ -1536,6 +1536,8 @@ x_init_emacs(void) kb_add(x_mv_e