From owner-freebsd-bugs@FreeBSD.ORG Tue Nov 30 07:30:17 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B472F106566B for ; Tue, 30 Nov 2010 07:30:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 770398FC1F for ; Tue, 30 Nov 2010 07:30:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAU7UHOv052284 for ; Tue, 30 Nov 2010 07:30:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAU7UH2q052282; Tue, 30 Nov 2010 07:30:17 GMT (envelope-from gnats) Resent-Date: Tue, 30 Nov 2010 07:30:17 GMT Resent-Message-Id: <201011300730.oAU7UH2q052282@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Verbod Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5FC1065675 for ; Tue, 30 Nov 2010 07:26:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (unknown [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4BFF88FC15 for ; Tue, 30 Nov 2010 07:26:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id oAU7QmLv041315 for ; Tue, 30 Nov 2010 07:26:48 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id oAU7Qm4j041314; Tue, 30 Nov 2010 07:26:48 GMT (envelope-from nobody) Message-Id: <201011300726.oAU7Qm4j041314@red.freebsd.org> Date: Tue, 30 Nov 2010 07:26:48 GMT From: Alexander Verbod To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/152699: termcap needs an entry for screen-256color X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Nov 2010 07:30:17 -0000 >Number: 152699 >Category: conf >Synopsis: termcap needs an entry for screen-256color >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 07:30:16 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Alexander Verbod >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD test.private.local 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Terminfo include a definition for screen-256color, but termcap does not. Latest revision of termcap 1.160 in the HEAD already fixed to support xterm-256color and rxvt-256color, but screen-256color does not exist there. To allow support for 256 color under 'tmux' or 'GNU screen' apply attached patch: >How-To-Repeat: cat termcap | grep screen-256color >Fix: Patch against termcap.src revision 1.160 attached Patch attached with submission follows: *** termcap.src.orig.rev.1.160 2010-08-08 09:40:09.000000000 -0500 --- termcap.src 2010-11-30 01:22:56.000000000 -0500 *************** *** 2782,2791 **** --- 2782,2793 ---- :ut:tc=screen: SH|screen-s|VT 100/ANSI X3.64 virtual terminal with hardstatus line:\ :ts=\E_:fs=\E\\:ds=\E_\E\\:tc=screen: SW|screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols:\ :co#132:tc=screen: + screen-256color|tmux GNU/screen:\ + :Co#256:AF=\E[38;5;%dm:AB=\E[48;5;%dm:tc=screen: # $XTermId: termcap,v 1.78 2009/11/09 00:24:26 tom Exp $ # # Note: # termcap format is limited to 1023 characters. This set of descriptions # is a subset of the terminfo, since not all features can be fit into >Release-Note: >Audit-Trail: >Unformatted: