From owner-freebsd-arch@FreeBSD.ORG Sat Feb 22 07:31:26 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 735D37AA; Sat, 22 Feb 2014 07:31:26 +0000 (UTC) Received: from mail-vc0-x22e.google.com (mail-vc0-x22e.google.com [IPv6:2607:f8b0:400c:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 040681B0C; Sat, 22 Feb 2014 07:31:25 +0000 (UTC) Received: by mail-vc0-f174.google.com with SMTP id im17so4199917vcb.33 for ; Fri, 21 Feb 2014 23:31:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=CkBv4tn5OINcmvk3FwJIzY1r5zDIUPteLL5YWWBsnbw=; b=NI0sIlF434C8ciDa6o7b34mXfIwHHVUqpBQDqTKGP8Gy1OKETNVppYnCnHykWrd6jc sgXt2Xqgjz8JonHDyEhsuXyWvzi393AlW6B0PVqoX1YNShjo5cIt1t3ha9/KDTy4YJP7 ckl2YWS97igwoQlc7abIiSwDGW9pyqPEca36s9u+SayvFO/1labaU/CYHH1w8/ApEIiD 1HIQywj2ZaqbwEdRnptCfOPcHr/W+wkEfPaw30UMJWvQPP1+h5044uXwBr6FuKnfaFh5 RCOFfTQVk+acgRGnKbR5oHgc51xwYTf+MdRjqj/4Q1ky5n2ALR9b+1AUTf4rgFxjU1sY nkrg== MIME-Version: 1.0 X-Received: by 10.52.77.9 with SMTP id o9mr6069554vdw.82.1393054285142; Fri, 21 Feb 2014 23:31:25 -0800 (PST) Sender: edschouten@gmail.com Received: by 10.220.105.140 with HTTP; Fri, 21 Feb 2014 23:31:25 -0800 (PST) In-Reply-To: <1392997589.1145.91.camel@revolution.hippie.lan> References: <5304A0CC.5000505@FreeBSD.org> <1392997589.1145.91.camel@revolution.hippie.lan> Date: Sat, 22 Feb 2014 08:31:25 +0100 X-Google-Sender-Auth: 3KtVgBPzORnZRIJzcVSe4GoJIbc Message-ID: Subject: Re: terminfo From: Ed Schouten To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: arch@freebsd.org, Bryan Drewery 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: Sat, 22 Feb 2014 07:31:26 -0000 On 21 February 2014 16:46, Ian Lepore wrote: > 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. Which, in almost all cases, is problematic due to the fact that the other side is unaware of the window size of your terminal. If you use stty(1) to set that up right on the other side, it typically works pretty good from there on. -- Ed Schouten