From owner-freebsd-current@FreeBSD.ORG Mon Aug 16 16:47:43 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00C301065672 for ; Mon, 16 Aug 2010 16:47:43 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 868258FC19 for ; Mon, 16 Aug 2010 16:47:42 +0000 (UTC) Received: by wwb24 with SMTP id 24so3584003wwb.31 for ; Mon, 16 Aug 2010 09:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=DotwafOn+wmfUO7w/j6yQUv7TBC72dDq6/uXYCZGLzc=; b=P37pGlNzKFLRghogqDYoLLFcmqMg8C+QdhiikubPVZuM7+lxwHaYn5WThEXVZTMdzP w5n+hI5yl/3pizj5guBsnOFvmaAwHYu96mpbhCXu603Nt5fqOy9wrN/IACacDecNPg3t jsvEpD8zgrvPVF7GIZLByvRP+I72Jb5w079H4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=lQjgpwvC6AwzMazwbA1JICJZuUzmBmNNSTPn9DmPLC+022POmfez+MUECntdWp4/WJ YrFy2Am48KmmI5Hg7utwhbc80/b1AtIOPCopj7CAR0gbHsgtPEMn4RcIJzvHr/GHLXMy U9r3pUrEzyz+LXo6vTdvUcPwBMWjvLu9cn7iQ= Received: by 10.227.145.5 with SMTP id b5mr4607460wbv.189.1281977261373; Mon, 16 Aug 2010 09:47:41 -0700 (PDT) Received: from localhost (server51262.uk2net.com [83.170.92.9]) by mx.google.com with ESMTPS id w32sm4763516wbd.19.2010.08.16.09.47.37 (version=SSLv3 cipher=RC4-MD5); Mon, 16 Aug 2010 09:47:39 -0700 (PDT) From: Anonymous To: Randy Bush References: Date: Mon, 16 Aug 2010 20:47:25 +0400 In-Reply-To: (Randy Bush's message of "Mon, 16 Aug 2010 17:50:22 +0900") Message-ID: <86aaomec82.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD current mailing list Subject: Re: better way than hacking termcap to be ca_mode free X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2010 16:47:43 -0000 Randy Bush writes: > is there a better way to achieve this? Not sure about ~/.termcap but you can just override ti/te via TERMCAP in environment. $ export TERM=${TERM:-xterm} $ export TERMCAP=${TERM}:ti@:te@:tc=${TERM}: > > *** termcap.FCS Tue Jun 17 15:10:46 2003 > --- termcap Tue Jun 17 15:14:15 2003 > *************** > *** 299,305 **** > adm3|3|lsi adm3:\ > :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80: > xterm|xterm-color|X11 terminal emulator:\ > ! :ti@:te@:tc=xterm-xfree86: > # > # DESCRIPTION: > # This file describes capabilities of various terminals, as needed by > --- 299,305 ---- > adm3|3|lsi adm3:\ > :do=^J:am:le=^H:bs:cl=^Z:li#24:ma=^K^P:co#80: > xterm|xterm-color|X11 terminal emulator:\ > ! :tc=xterm-xfree86: > # > # DESCRIPTION: > # This file describes capabilities of various terminals, as needed by I guess the diff is not for termcap file from /head.