Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 16:03:31 +0100
From:      David Lazaro Saz <dlazaro@mac.com>
To:        Devin Teske <dteske@freebsd.org>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.org>
Subject:   Re: bsdinstall(8) line drawing characters
Message-ID:  <633A6573-BCDA-41CD-A5CA-1749DE36283A@mac.com>
In-Reply-To: <88E25E2A-24EE-491A-B82A-A26E849B1ABF@fisglobal.com>
References:  <1C064C2C-52A4-4A37-AB3D-68049093D7BD@mac.com> <88E25E2A-24EE-491A-B82A-A26E849B1ABF@fisglobal.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jan 20, 2013, at 2:50 PM, Devin Teske <devin.teske@fisglobal.com> wrote:

> Of interest I would think is the output of:
> 
> dialog --version
> echo $TERM
> 
> and whether (if possible) sysinstall produces similar results (what release are you running?)

I'm still running 8.3 in production. I've noticed this while playing with 9.0 and 9.1 both on vmware and older machines.

I think that you are right and it has to do with the TERM variable and how it is set in the system console. In 8.3, the system console is defined as "cons25" while on 9.1 it is defined as "xterm". If I execute the following command:

    # TERM=cons25 bsdinstall

Then the line drawing characters are show correctly on the system console. If I do the opposite on 8.3, defining TERM as xterm, then the results are even worse than on 9.1.

dialog(1) is on version 1.1-20100428 on 9.1 and on version 0.3 on 8.3.

I can't find neither when nor why the system console was changed to xterm looking at the release notes of FreeBSD 9.0, but this seem to be the reason. The TERM variable is defined on /etc/ttys, so I'll try to find the change on the svn repository to shed some light.

Would you recommend opening a PR about this?

Thanks for your help.

David




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?633A6573-BCDA-41CD-A5CA-1749DE36283A>