> 1) leave G0 alone;
> 2) set G1 to the VT100 graphics mapping: "\x1b)0";
> 3) to start box-drawing mode, switch to G1: "\x0e";
> 3) to end box-drawing mode, switch to G0: "\x0f".
Nice catch, I always run it on screen, so didn't notice. Checked that
your solution also works well on OpenBSD console, so good enough for
me.
/mz