Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Mar 2019 21:53:13 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
Cc:        Warner Losh <imp@bsdimp.com>, freebsd-arm@freebsd.org, Konstantin Belousov <kib@freebsd.org>, bob prohaska <fbsd@www.zefox.net>
Subject:   Re: Editing on the serial console
Message-ID:  <20190308055313.GB49607@www.zefox.net>
In-Reply-To: <201903071913.x27JDbZR091956@gndrsh.dnsmgr.net>
References:  <CANCZdfo8BnVdCSmqWvC=auD_5t8_p06kQwx2bhDSTiyDVd%2B_qA@mail.gmail.com> <201903071913.x27JDbZR091956@gndrsh.dnsmgr.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 07, 2019 at 11:13:37AM -0800, Rodney W. Grimes wrote:
> 
> It is where it is because it is not
> 	/etc/      system configuration files and scripts
> and is
> 	/usr/share/     architecture-independent files
>             misc/       miscellaneous system-wide ASCII text files
> 
> The /etc/termcap link is for backwards compatibility.
> 

The logic is impeccable, but the utility leaves something to be
desired. On entering single user, the RPI console reports

Enter full pathname of shell or RETURN for /bin/sh:
Cannot read termcap database;
using dumb terminal settings.

It was necessary to mount /usr so as to get at vi, which one might
expect to make the termcap database accessible. Even so, the display
was garbled. Maybe this was the result of using lxterminal to ssh to
the host holding the usb-serial adapter to the target's serial console.

Using putty to connect to the usb-serial host produced a clean display.

The serial console is rather indespensible on an RPI, is there a way
to configure it to be well-behaved with whatever terminal emulator
is readily available? 

Thanks for reading!

bob prohaska






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190308055313.GB49607>