From csg@physics.purdue.edu Tue Apr 13 18:15:56 1999
Return-Path: <csg@physics.purdue.edu>
Received: from london.physics.purdue.edu (london.physics.purdue.edu [128.210.67.35])
	by hub.freebsd.org (Postfix) with ESMTP id B2EDC14E5F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Apr 1999 18:15:54 -0700 (PDT)
	(envelope-from csg@physics.purdue.edu)
Received: from ohm.physics.purdue.edu (ohm.physics.purdue.edu [128.210.146.32])
	by london.physics.purdue.edu (8.8.8/8.8.8) with ESMTP id UAA24020
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 13 Apr 1999 20:13:34 -0500 (EST)
Received: (from csg@localhost)
	by ohm.physics.purdue.edu (8.9.2/8.9.2) id TAA14555;
	Tue, 13 Apr 1999 19:47:36 -0500 (EST)
	(envelope-from csg@physics.purdue.edu)
Message-Id: <199904140047.TAA14555@ohm.physics.purdue.edu>
Date: Tue, 13 Apr 1999 19:47:36 -0500 (EST)
From: "C. Stephen Gunn" <csg@physics.purdue.edu>
Reply-To: csgphysics.purdue.edu@physics.purdue.edu
To: FreeBSD-gnats-submit@freebsd.org
Subject: FreeBSD-3.1S & NeXT/MacOS-X termcap problems
X-Send-Pr-Version: 3.2

>Number:         11126
>Category:       misc
>Synopsis:       vt100 termcap entry appears broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 18:20:01 PDT 1999
>Closed-Date:    Sun Jan 20 10:09:48 PST 2002
>Last-Modified:  Sun Jan 20 10:10:06 PST 2002
>Originator:     C. Stephen Gunn
>Release:        FreeBSD 3.1-RELEASE(PCN) i386
>Organization:
Physics Computer Network, Purdue University
>Environment:

NeXTStep, OpenStep, or MacOS-X VT100 Terminal -> FreeBSD Box via 
telnet, rlogin, ssh.

>Description:

Logging into FreeBSD boxen from NeXT machines (I'll lump all of
the above into this category for simplicity's sake), I experience
termcap-mismatch syndrome.  The vt100 termcap entry on FreeBSD is
very complex compared to the one that comes on the NeXT and MacOS-X
machines I have.

I'm not familiar with all of the history on FreeBSD's termcap and
what changes have been made along the way.  But, I don't have any
problems on AIX, SunOS, or Linux.

I've successfully replaced the termcap entry on FreeBSD with the
one from my MacOS X Server machine.  I'm trying to figure out
which is correct.  Does the FreeBSD termcap entry mean "vt100" or
"vt102?" 

>How-To-Repeat:

  1) Log into a NeXT, OpenStep, or MacOS-X Server workstation.
  2) ssh/telnet/rlogin to your favorite FreeBSD Box.
  3) Run a curses application

>Fix:

Install the termcap from MacOS X Server:

-(snip)-------------------------------------------------------------------

vt100|NeXT|Apple/Rhapsody MacOS X Server Terminal:\
        :do=^J:co#80:li#24:cl=\E[;H\E[2J:sf=2*\ED:\
        :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A:\ 
        :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m:\
        :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m:\
        :rf=/usr/share/tabset/vt100:\
        :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[;r\E[0m\E(B\E)B\E[2J:\
        :ks=\E[?1h\E=:ke=\E[?1l\E>:\
        :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
        :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn:\
        :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:

-(snip)-------------------------------------------------------------------


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: iedowse 
State-Changed-When: Sun Jan 20 09:48:06 PST 2002 
State-Changed-Why:  

Does this problem still exist? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11126 
State-Changed-From-To: feedback->closed 
State-Changed-By: iedowse 
State-Changed-When: Sun Jan 20 10:09:48 PST 2002 
State-Changed-Why:  

Mail to submitter bounces. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11126 
>Unformatted:
