From owner-freebsd-questions@freebsd.org Wed Jan 13 18:55:07 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF3ACA80482 for ; Wed, 13 Jan 2016 18:55:07 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2001:7c0:407:1001:217:a4ff:fe3b:e77c]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B9F8D1600 for ; Wed, 13 Jan 2016 18:55:07 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1aJQZU-00024A-SW; Wed, 13 Jan 2016 19:55:04 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id u0DIo41R013435; Wed, 13 Jan 2016 19:50:04 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id u0DIo4Go013434; Wed, 13 Jan 2016 19:50:04 +0100 (CET) (envelope-from naddy) Date: Wed, 13 Jan 2016 19:50:04 +0100 From: Christian Weisgerber To: Sebastian Gniazdowski Cc: freebsd-questions@freebsd.org Subject: Re: TERM=xterm lacking smcup and rmcup (alternate screen) Message-ID: <20160113185004.GA13013@lorvorc.mips.inka.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jan 2016 18:55:08 -0000 Sebastian Gniazdowski: > I want to criticize an approach taken in FreeBSD regarding the > alternate screen. It's not available in newcons. One person wrote > that's because Tekken doesn't have such feature, and newcons > implements Tekken. > > That's maybe fine. However, newcons doesn't have it's own termcap. It > uses TERM=xterm, which normally has rmcup and smcup. Some smart person te/ti in termcap(5) language. rmcup/smcup is the same in terminfo(5). > thus decided to remove those codes from TERM=xterm. You see what this > leads to? No alternate screen on X11. That's not what happened. The ti/te capabilities for switching to the alternate screen were expressly removed from the "xterm" entry in revision 200503, because a vocal group of developers disliked the alternate screen feature and insisted that it should be disabled in xterm. https://svnweb.freebsd.org/base/head/share/termcap/termcap#rev200503 -- Christian "naddy" Weisgerber naddy@mips.inka.de