From owner-freebsd-arm@freebsd.org Thu Mar 7 16:51:15 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 9EFBF1508621 for ; Thu, 7 Mar 2019 16:51:15 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (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 82F7A8E6B5 for ; Thu, 7 Mar 2019 16:51:14 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72f.google.com with SMTP id y15so9422877qki.8 for ; Thu, 07 Mar 2019 08:51:14 -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=VunRFUgsI/FhEcFcJAiw4zEwrTouls12ATQyvOZvFfY=; b=Rw8ML4yLrE8R+cosaCR/iUPdyZHcgnQj8RSXIb5Bu1bF8ag2tF8wCZ5oQkb8nuK5VZ b64PQelua/uKzDuaZ1+bWweEStmEg4uVJJtFmpA0HdOg2wUsWnPTmwz+a8MJFJ28qhV8 pPVgNUKvknF8D+BxXg7rwcEJjNPPKFQDnuqrO/umJEuBiy3d+bzV8z1/IfnkGs2nZhl7 ylvyqrcHWCNLlv1XMdri/JpsxcOKNt4/Ks/Ax1HZtVeR7UlxwTxHpMRVtat6eTMASjSk o+X8xQ/SbvkT1uqqHN9jLQZEFbcn8hCZIbLfYcJC05DcAfV5vypbtFUtAGVTUPkAHaac EEKQ== 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=VunRFUgsI/FhEcFcJAiw4zEwrTouls12ATQyvOZvFfY=; b=NUANqK60i9qDFFfJEhnh+IONejX2yQ4OXNxOONK87ER9eqGkeJzGOypRbBJd705V8N 1TNmPzTWasP9Xog+xTlPSCeebpyw2CzLChSzwpkDMNM7nDaKKOw5CKgwcEie5k0SZDz+ uy1zljqMEKq10wVlHdVBtkY6vvS6ZSebKjcp3Ijk5zajhuh0yoyG6YnCjqGxdTFWLsph N7xkQivgnjZX7DAsQwRvm8Rdb/ebaP2Z2J7LeMrj+uBUTs+FpDICXEfHIzdhRkk8j6RG psa8tS93Kq1n0IcHW2Y8X1oDGfN+O7cxuWRvEJfp1H0AtQ9OVCkLHkaaxOeW/ldPSuwz Ux+w== X-Gm-Message-State: APjAAAVeQwpF82N4rt4MM6cL7UPY2zd31GQP+Ng/J/lAp5Jg29hsvfW5 XF/A4FZsPdN36r1MWCAu6oyZggXkt3KdRWo79PDDujFA X-Google-Smtp-Source: APXvYqxe7qsCOA81FSCLe84/G1bM80yghuVCzeDGwTKd8sMwVS+ZsMyWgwnANFrnNKKAFiauMFFdnP4GjNfDXzKiGMs= X-Received: by 2002:a05:620a:1194:: with SMTP id b20mr10833336qkk.258.1551977473762; Thu, 07 Mar 2019 08:51:13 -0800 (PST) MIME-Version: 1.0 References: <20190307035427.GA42903@www.zefox.net> <30423F14-4038-4656-83FC-14DE0943B26B@dons.net.au> <20190307101011.GH2492@kib.kiev.ua> <20190307164119.GA43724@www.zefox.net> In-Reply-To: <20190307164119.GA43724@www.zefox.net> From: Warner Losh Date: Thu, 7 Mar 2019 08:51:01 -0800 Message-ID: Subject: Re: Editing on the serial console To: bob prohaska Cc: Konstantin Belousov , freebsd-arm@freebsd.org X-Rspamd-Queue-Id: 82F7A8E6B5 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=Rw8ML4yL X-Spamd-Result: default: False [-5.86 / 15.00]; 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)[3]; TO_DN_SOME(0.00)[]; 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)[]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCVD_IN_DNSWL_NONE(0.00)[f.2.7.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]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; R_SPF_NA(0.00)[]; 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]; IP_SCORE(-2.86)[ip: (-9.47), ipnet: 2607:f8b0::/32(-2.72), asn: 15169(-2.05), country: US(-0.07)]; RCVD_COUNT_TWO(0.00)[2] 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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2019 16:51:15 -0000 On Thu, Mar 7, 2019, 8:42 AM bob prohaska wrote: > On Thu, Mar 07, 2019 at 12:10:11PM +0200, Konstantin Belousov wrote: > > On Thu, Mar 07, 2019 at 05:08:07PM +1030, O'Connor, Daniel wrote: > > > > > > > On 7 Mar 2019, at 14:24, bob prohaska wrote: > > > > > > > > Editing files in single-user mode on the serial console > > > > is non-trivial. Both vi and ee have problems displaying > > > > the file, ed doesn't really try so it works but isn't > > > > much fun. Is there a better option? When the machine > > > > boots single-user it reports "can't read /etc/termcap", > > > > is something misconfigured? > > > > > > /etc/termcap is a symlink to /usr/share/misc/termcap - if you mount > /usr (read only is fine) then it should work. > > > > > > ie since you are in single user mode only / has been mounted. > > > > > > If / and /usr are the same FS them something else is wrong :) > > > > There is /etc/termcap.small, and I remember our libcurses uses TERMCAP > > env variable to point to the termcap file. > > It never occurred to me that /etc/termcap might actually live elsewhere. > That's almost certainly the problem. Would there be any drawback to > simply moving the file back to /etc ? > On your system? None at all. I'd copy it, though. In the base system it is where it is so new entries get reflected right after install world w/o needing to run mergemaster. Warner Thanks to everybody, > > bob prohaska > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >