nosh version 1.21

From: Jonathan de Boyne Pollard <>
Date: Mon, 5 Oct 2015 06:39:29 +0100

The nosh package is now up to version 1.21 .


console-terminal-emulator now has a mouse input event protocol, and
speaks both the DEC VT Locator protocol and the xterm Private Mode 1006
protocol over the terminal interface to applications. These are the
protocols that you get with ttymouse=dec and ttymouse=sgr in vim. Since
support for the 1006 protocol is fairly widespread in the relevant
places nowadays, it seemed not worthwhile implementing the inferior
Private Mode 1005 and Private Mode 1015 protocols. Moreover,
console-terminal-emulator is UTF-8 and the Private Mode 1005 protocol
has ambiguities once one introduces UTF-8.

console-fb-realizer as yet only talks to real mouse input devices on
Linux, but handling FreeBSD/PC-BSD mouse input devices is on the
roadmap. This has necessitated a change in the command-line syntax of
console-fb-realizer, and concomitant changes in the pre-supplied
realizer service bundle, which will need to be updated in tandem if you
are using user-space virtual terminals. This change allows the mouse
input device to be specified in addition to the keyboard input event
device. It also slightly regularizes display-only mode, which is
signified now by the simple lack of any mouse or keyboard device
specifications, rather than by an explicit option. Yes, I am aware that
there's no mouse cursor sprite drawn yet. Acutely so.

FreeBSD improvements include the completion of geli and gbde import that
the sharp-eyed might have noticed quietly part-done in version 1.20.
/etc/fstab entries for volumes using these should now be translated into
appropriate interdependent mount_at_*, gbde@*, and geli@* service bundles.
This is rather difficult for me to test, though, as noted on the roadmap.

The big PC-BSD improvement is jails support, which has lurked at the
bottom of the roadmap page for a while. Both PC-BSD Warden and FreeBSD
9 jails are now recognized by the external configuration import
subsystem, and converted into appropriate service bundles. The mechanism
here is fairly straightforward: The jails themselves are one service
bundle, and the programs that run in the jails are another. The latter
service is after/ and wants/ the former service. The jexec command is a
chain loading tool that modifies process state in the same vein as
setuidgid, softlimit, and envdir, and one can simply employ it as such.
The jail command can be used analogously, with jail -c and jail -r, to
how the mount and umount commands in mount_at_* service bundles are used.
Those are what the import subsystem does.

Importing Warden Linux jails isn't available yet; and some of the more
esoteric FreeBSD 9 rc.conf and PC-BSD Warden METADIR/* jail options are
not yet imported. Enabling jails to be autostarted at bootstrap is via
the "jails" and "warden" targets, by the way.

The rc.d conversion project has progressed, with a few more things wiped
off. As mentioned in the version 1.20 message, all assistance in wiping
the final 40-odd FreeBSD rc.d scripts off the list, to be found on the
roadmap page, is welcome. And if any PC-BSD people have ideas on how to
turn things like /usr/local/etc/rc.d/pc-samba into service bundles,
those are welcome too. (Note that pre-supplied service bundles already
exist for the Linux flavours of some of these, which may or may not be a
starting point.)
Received on Mon Oct 05 2015 - 05:39:29 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC