From owner-freebsd-arch@FreeBSD.ORG Fri Feb 21 18:35:23 2014 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ABA9BEA0; Fri, 21 Feb 2014 18:35:23 +0000 (UTC) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B2421DE6; Fri, 21 Feb 2014 18:35:23 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id s1LIZC8s044675 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Feb 2014 10:35:12 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id s1LIZCcc044674; Fri, 21 Feb 2014 10:35:12 -0800 (PST) (envelope-from jmg) Date: Fri, 21 Feb 2014 10:35:12 -0800 From: John-Mark Gurney To: Ian Lepore Subject: Re: terminfo Message-ID: <20140221183512.GP34851@funkthat.com> Mail-Followup-To: Ian Lepore , Ed Schouten , arch@freebsd.org, Bryan Drewery References: <5304A0CC.5000505@FreeBSD.org> <1392997589.1145.91.camel@revolution.hippie.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1392997589.1145.91.camel@revolution.hippie.lan> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Fri, 21 Feb 2014 10:35:12 -0800 (PST) Cc: Ed Schouten , Bryan Drewery , arch@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Feb 2014 18:35:23 -0000 Ian Lepore wrote this message on Fri, Feb 21, 2014 at 08:46 -0700: > On Fri, 2014-02-21 at 13:05 +0100, Ed Schouten wrote: > > It's a shame I am so short on time nowadays, but I think it would make > > so much sense to just come up with some kind of document that > > standardizes the intersection of the features supported by most common > > terminal emulators and get it rubber stamped by the maintainers of > > various terminal emulators. If it turns out some kind of terminal > > emulator does something in a non-standard way, we can just slap this > > document in the author's face. That would not only benefit FreeBSD, > > but also most of the other flavours of UNIX. > > > > $TERM should die. > > > > All of that seems to assume that every terminal actually being used in > the world today is either xterm or something that emulates it. Try > using vi on a serial console on an embedded ARM board and you'll get a > quick frustrating lesson in how not-xterm a serial console is. I've yet > to find a combo of serial comms program and TERM setting that actually > works well and lets you edit a file with vi. Have you used screen? screen /dev/ttyXXX 9600 It's pretty much the only serial console program I use because I use screen, and remebering how to use tip/cu w/ a new random USB serial device is anoying... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."