Date: Fri, 8 Mar 2019 12:11:24 +0800 From: "tina@cnsmachine.com"<cnsoilseal@126.com> To: "freebsd-arm"<freebsd-arm@freebsd.org> Subject: To manager Message-ID: <21e37470.7145c2.1695b7f9fe2.Coremail.cnsoilseal@126.com>
next in thread | raw e-mail | index | archive | help
SGksIHB1cmNoYXNpbmcgbWFuYWdlci4gDQoNCkdvb2QgZGF5IQ0KDQpXZSBhcmUgdG93ZXIgY3Jh bmUgc3BhcmUgcGFydHMgc3VwcGxpZXIsIGFuZCB3ZSBoYXZlIHJlc2VhcmNoZWQgJiBkZXNpZ25l ZCBzb21lIG5ldyBwcm9kdWN0Lg0KDQpJZiB5b3UgYXJlIGludGVyZXN0ZWQgaW4sIEkgJ2xsIHNl bmQgeW91IG91ciBjYXRhbG9ndWUuIE9yIHlvdSBjYW4gdmlzaXQgb3VyIHdlYnNpdGU6IHd3dy5j bnNtYWNoaW5lLmNvbQ0KDQpUaGFua3MgZm9yIHlvdXIgdmFsdWFibGUgdGltZS4NCg0KUmVnYXJk cy4NCg0KWW91cnMsDQoNCjIwMTktMDMtMDgNCg0KDQoNClRpbmEgRmFuZw0KT3ZlcnNlYXMgU2Fs ZXMgTWFuYWdlcg0KQ05TIE1hY2hpbmUgSW50ZXJuYXRpb25hbCBUcmFkZSBDby4sIEx0ZC4NClJv b20gMzEwMiwgVW5pdCAxLCBOby4gMy0yIFNoZW56aG9uZyBTdHJlZXQsIEh1bm5hbiBEaXN0cmlj dCwgU2hlbnlhbmcsIExpYW9uaW5nLCBDaGluYQ0KVGVsLi9XaGF0c0FwcC9Ta3lwZTogKzg2MTgw NDEzNjgwOO+7vzANCkVtYWlsOiB0aW5hQGNuc21hY2hpbmUuY29tIA0KV2ViOiB3d3cuY25zbWFj aGluZS5jb20= From owner-freebsd-arm@freebsd.org Fri Mar 8 14:59:14 2019 Return-Path: <owner-freebsd-arm@freebsd.org> 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 D474A1507861 for <freebsd-arm@mailman.ysv.freebsd.org>; Fri, 8 Mar 2019 14:59:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DBE2576A30 for <freebsd-arm@freebsd.org>; Fri, 8 Mar 2019 14:59:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x833.google.com with SMTP id p48so21484756qtk.2 for <freebsd-arm@freebsd.org>; Fri, 08 Mar 2019 06:59:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=aFQoNwSGcpNUnK2G2yl5FH8l5jb9Gd1ZSYuMtH+QKxM=; b=Cw4sTG7C6+XKFM9zEveIlpDO2Fff80F8h33ZQOuvMz4LAmm6Setil711sNQFljagLw i13dqz6YNqW9fgEI9wyArM1PKWYZNuDBn7v/NjhRC3jbjUIYkzbBuO3vgPsz1ePUuSR3 1CenMI6ZpLCcfChxbCjpo0/jLVTGG08SVA9vVPgRjMeZBqW6UWpMs8RWb9/kgxwaJYaF H5H4UWojS4d80grqggIBi62AkioNxbaZCfGewdddEgZK5v0hgJULknCyZzqF/10F7SY0 qCJQ/srUFkgEi1LeWnpiuV87d91vtXv4O1IpSP7pNBxICZq2NEGHofRnKz9Jnq1OBmXa 9OZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=aFQoNwSGcpNUnK2G2yl5FH8l5jb9Gd1ZSYuMtH+QKxM=; b=KHwbZtnD3v4+QyP4h4T/SKIp6O0PghRYgT3HCOuctCD08/rGmJkMUYM4kvAanufVCY hq5VucoD4LT0XMw3OVFHXpNl4LjrUIHAlALpIa4NWoKp4DZnK1F1vCTe0amz/bhguFQ+ 1svcr7hibGA9AOg8Jr3XTXx0IpfPNwuSsgEMKczH9SvlNJlyY4TyySoCgh31DBXSi6Bc Qf4w1EdD1a1ocOaFmRsBOXc4Uh6a0s4sFUGa8HxUf07ig00IymhTqfm2X4oucX2TUMZG zlGX3iQh2HJguzk7kgdE/BOhO7EdlaKXAK7Q/FhpzDbNfnoyr12b/90vyh6YINV1/ErX 0bpA== X-Gm-Message-State: APjAAAWpPcgBtyFHQvAWlWepf0d0AdZL/rn8Mq4+2Tsl9CAtxd06t4Fp okzGHizyYE76ODKgw8ucvAvsszlyDo74HUrjZBgVfQ== X-Google-Smtp-Source: APXvYqzNNOy4gU0fawclFnlW1koZVFv8LwPp9IE0YJjuaKnY7PmlUTQIvRo3CI2hXnO36Z/MEq8nMuHCnkIuthZW3Ik= X-Received: by 2002:ac8:3616:: with SMTP id m22mr3309591qtb.15.1552057151986; Fri, 08 Mar 2019 06:59:11 -0800 (PST) MIME-Version: 1.0 References: <CANCZdfo8BnVdCSmqWvC=auD_5t8_p06kQwx2bhDSTiyDVd+_qA@mail.gmail.com> <201903071913.x27JDbZR091956@gndrsh.dnsmgr.net> <20190308055313.GB49607@www.zefox.net> In-Reply-To: <20190308055313.GB49607@www.zefox.net> From: Warner Losh <imp@bsdimp.com> Date: Fri, 8 Mar 2019 06:59:00 -0800 Message-ID: <CANCZdfob61=ay+rX9Da4PbtOSMkj7tdmVjLzHGx2iCVgsUCaZA@mail.gmail.com> Subject: Re: Editing on the serial console To: bob prohaska <fbsd@www.zefox.net> Cc: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, freebsd-arm@freebsd.org, Konstantin Belousov <kib@freebsd.org> X-Rspamd-Queue-Id: DBE2576A30 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Cw4sTG7C X-Spamd-Result: default: False [-5.56 / 15.00]; TO_DN_SOME(0.00)[]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.83)[-0.832,0]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[3.3.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-2.72)[ip: (-8.75), ipnet: 2607:f8b0::/32(-2.71), asn: 15169(-2.05), country: US(-0.07)] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Porting FreeBSD to ARM processors." <freebsd-arm.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>, <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/> List-Post: <mailto:freebsd-arm@freebsd.org> List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>, <mailto:freebsd-arm-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 08 Mar 2019 14:59:14 -0000 On Thu, Mar 7, 2019, 10:53 PM bob prohaska <fbsd@www.zefox.net> wrote: > 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? > No. Termcap must match the terminal emulator. If it doesn't, then there will be problems. At best, we could expand termcap with a special entry for lxterminal if it can't cope with xterm entry. Warner Warner >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21e37470.7145c2.1695b7f9fe2.Coremail.cnsoilseal>