From owner-freebsd-questions@FreeBSD.ORG Fri Jun 2 21:26:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63A1316A447 for ; Fri, 2 Jun 2006 21:26:14 +0000 (UTC) (envelope-from walt@wump.org) Received: from mxsf02.cluster1.charter.net (mxsf02.cluster1.charter.net [209.225.28.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0528243D46 for ; Fri, 2 Jun 2006 21:26:13 +0000 (GMT) (envelope-from walt@wump.org) Received: from mxip28a.cluster1.charter.net (mxip28a.cluster1.charter.net [209.225.28.187]) by mxsf02.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id k52LQCo0008414 for ; Fri, 2 Jun 2006 17:26:12 -0400 Received: from 68-116-98-9.dhcp.rsbg.or.charter.com (HELO [10.0.0.10]) ([68.116.98.9]) by mxip28a.cluster1.charter.net with ESMTP; 02 Jun 2006 17:26:13 -0400 X-IronPort-AV: i="4.05,205,1146456000"; d="scan'208"; a="1204116835:sNHT37098544" Mime-Version: 1.0 X-Sender: wump@sorcom.com@mail.mcsi.net Message-Id: Date: Fri, 2 Jun 2006 14:26:07 -0700 To: freebsd-questions@freebsd.org From: Walt Pawley Content-Type: text/plain; charset="us-ascii" Subject: termcap vs terminfo, less, and Mac OS X X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2006 21:26:19 -0000 I've been messing about with FreeBSD lately, though mostly I use Mac OS X. I've grown accustomed to using "less" as a pager, generally preferring the manner in which it would make all the scrolled through crud vanish when I was done pawing about in it. But "less" didn't behave that way when telnet'd into the the FreeBSD boxes on the LAN - whatever got presented scrolled "up" into the terminal program's capture buffer. After mucking with this for a couple of days, I believe the reason is that the termcap description of "xterm-color" in FreeBSD doesn't match the "xterm-color" terminfo description in either Mac OS X or Linux (which seem to be identical). In particular, the "ti" and "te" capabilities are null. Is this intentional or something that should be generically "fixed"? -- Walter M. Pawley Wump Research & Company 676 River Bend Road, Roseburg, OR 97470 541-672-8975