Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jan 2013 03:16:07 GMT
From:      Scott Robison <scott@casaderobison.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/175394: Suggested addition to termcap database
Message-ID:  <201301180316.r0I3G7ug065597@red.freebsd.org>
Resent-Message-ID: <201301180320.r0I3K0LN020815@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         175394
>Category:       misc
>Synopsis:       Suggested addition to termcap database
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 18 03:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Scott Robison
>Release:        9.1
>Organization:
>Environment:
FreeBSD dev.isdr.net 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
I hope I got the class right, and this is not a bug so much as a request for enhancement.

The termcap database includes a definition for PuTTY that looks like this:

putty|vt220-color|vt220-co|vt220 emulator with ANSI colors:\
        :pa#64:Co#8:AF=\E[3%dm:AB=\E[4%dm:op=\E[39;49m\E[m:tc=vt220:

This is good and works nicely, but does not support the full 256 color palette that PuTTY supports.
>How-To-Repeat:
Not really a problem. Just a suggestion for a new termcap entry.
>Fix:
I've added the following two lines to my termcap:

putty-256color:\
        :pa#32767:Co#256:tc=putty:

It seems to work acceptably. Ultimately of course, I don't care if my suggestion is the official definition, I'd just like one that works. :^)

Thanks!

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301180316.r0I3G7ug065597>