From owner-freebsd-arm@freebsd.org Fri Mar 8 05:53:18 2019 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C335C1533748 for ; Fri, 8 Mar 2019 05:53:18 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "www.zefox.org", Issuer "www.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E45378CAB5; Fri, 8 Mar 2019 05:53:17 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.15.2/8.15.2) with ESMTPS id x285rEZa049751 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 7 Mar 2019 21:53:15 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.15.2/8.15.2/Submit) id x285rD5S049750; Thu, 7 Mar 2019 21:53:13 -0800 (PST) (envelope-from fbsd) Date: Thu, 7 Mar 2019 21:53:13 -0800 From: bob prohaska To: "Rodney W. Grimes" Cc: Warner Losh , freebsd-arm@freebsd.org, Konstantin Belousov , bob prohaska Subject: Re: Editing on the serial console Message-ID: <20190308055313.GB49607@www.zefox.net> References: <201903071913.x27JDbZR091956@gndrsh.dnsmgr.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201903071913.x27JDbZR091956@gndrsh.dnsmgr.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-Rspamd-Queue-Id: E45378CAB5 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.46 / 15.00]; ARC_NA(0.00)[]; WWW_DOT_DOMAIN(0.50)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.90)[0.897,0]; IP_SCORE(0.17)[ip: (0.63), ipnet: 50.1.16.0/20(0.32), asn: 7065(-0.02), country: US(-0.07)]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zefox.net]; AUTH_NA(1.00)[]; RCPT_COUNT_FIVE(0.00)[5]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: www.zefox.net]; NEURAL_SPAM_LONG(0.67)[0.666,0]; NEURAL_SPAM_MEDIUM(0.84)[0.838,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MID_RHS_WWW(0.50)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Mar 2019 05:53:18 -0000 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