Commits


src/cmd: print all usage messages to stderr All utilities print their usage message to stderr, cmp(1) and getflags(8) should do the same.


add macedit to moveplan9.files


9l: without arguments, exit instead of failing to link nothing Found in Arch Linux but never reported upstream: https://bugs.archlinux.org/task/55640


Modernise terminology (#573)


troff: support `\~` as an alias for `\ ` (#567) In groff, Heirloom Doctools troff, and neatroff, the `\~` escape sequence produces an adjustable (paddable) but unbreakable space. mandoc, which does not perform adjustment or render to typesetters, supports the escape sequence as a synonym for `\ `, the same as `\0`. This extension is of long pedigree: groff has supported it for at least 30 years, Heirloom for 17, mandoc for 13, and neatroff for 6. Do the same as mandoc to prevent mis-rendering of documents using this escape sequence. Heirloom Doctools troff, a descendant of Documenter's Workbench troff, would be a good place to look for a compatible implementation of the adjustable semantics for this sequence.


Fix fonts (#463) * font/pelm: add cjk punctuation for hku.9.font * troff: added back HX


Fixed a use after free in rio. Screen was being queried from within a client after it had been free'd.


upas: don't hardcode path for rc(1)


sam: use get9root instead of duplicating the logic


lib9: pass $PLAN9_TARGET via CPP for get9root fallback value Allows this function to always return the proper path in situations where the $PLAN9 environment variable is not set, i.e. a rc login shell.


INSTALL: Always set PLAN9_TARGET environment variable That is, not only when -r was given. This allows using this veriable in mkfiles across the code base.


Added a paren to fix a warning in u.h


factotum: plug a memory leak in apop


fontsrv: always compute new height and ascent for the font file


devdraw/x11: fix modifier key handling for some XkbOptions Certain XkbOptions in X11 would change keysyms for modifier keys between the key press and key release. For example, under the XkbOptions "grp:shifts_toggle", though shift keys remain Shift_L/R when pressed, they become ISO_Group_Next/Prev when released. This behavior makes devdraw unable to detect the release event correctly and as a result mouse button 1 click always interpreted as button 3 event after a shift key is used.