From jamesn@jamesnt.iadfw.net  Fri Jul 14 14:22:31 2000
Return-Path: <jamesn@jamesnt.iadfw.net>
Received: from jamesnt.iadfw.net (jamesnt.iadfw.net [206.66.13.48])
	by hub.freebsd.org (Postfix) with ESMTP id C9BCA37C1FA
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 14 Jul 2000 14:22:27 -0700 (PDT)
	(envelope-from jamesn@jamesnt.iadfw.net)
Received: (from jamesn@localhost)
	by jamesnt.iadfw.net (8.9.3/8.9.3) id QAA01224;
	Fri, 14 Jul 2000 16:22:24 -0500 (CDT)
	(envelope-from jamesn)
Message-Id: <200007142122.QAA01224@jamesnt.iadfw.net>
Date: Fri, 14 Jul 2000 16:22:24 -0500 (CDT)
From: jamesn@airmail.net
Sender: jamesn@jamesnt.iadfw.net
Reply-To: jamesn@airmail.net
To: FreeBSD-gnats-submit@freebsd.org
Cc: jamesn@airmail.net, uhclem@airmail.net, bens@airmail.net
Subject:
X-Send-Pr-Version: 3.2

>Number:         19935
>Category:       bin
>Synopsis:       tcsh doesn't seem to pass control charcters to a terminal
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 14 14:30:00 PDT 2000
>Closed-Date:    Fri Nov 10 09:57:58 PST 2000
>Last-Modified:  Fri Nov 10 09:59:36 PST 2000
>Originator:     James Nuckolls
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:
 
 FreeBSD jamesnbsd.iadfw.net 4.0-STABLE FreeBSD 4.0-STABLE #5: Fri Jul 14 15:34:14 CDT 2000     root@jamesnbsd.iadfw.net:/usr/src/sys/compile/JAMESNBSD  i386
 
 (sources from previous day.)
 
 
>Description:
 
 Prompt parsing is now broken in "the new" csh.  Here's the example
 that I use on all my systems:
 
 set prompt="^[]2;${user}@${UNAME}^G% "
 
 There's two things here that are the problem.  The ^[ (yes, an
 escape charcer) and the ^G.  With sh, (the old csh) 44bsd-csh, and
 most other shells, the escape sqeuence above will change the title
 bar.  In the new csh, your prompt literally looks like:
 
 ^[]2;jamesn@mindspin.what.net^G%
 
 It appears that tcsh doesn't proplerly pass control charcters to the
 terminal correctly.
 
 Yes I know I can install the 44bsd csh port.  I already have as a
 workaround, but IMO breaking 20+ years of historical behavior was
 not a great plan.
 
 
>How-To-Repeat:
 
 See above.
 
>Fix:
 
 
 
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Tue Jul 25 09:44:05 PDT 2000 
Responsible-Changed-Why:  
Fix mangled PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19935 
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: sheldonh 
Responsible-Changed-When: Wed Jul 26 02:00:20 PDT 2000 
Responsible-Changed-Why:  
David will probably want to forward this to the tcsh maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19935 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Fri Nov 10 09:57:58 PST 2000 
State-Changed-Why:  
This should be sent to the Tcsh maintainer 
(Christos Zoulas <christos@zoulas.com>) as I didn't change this behavior 
for FreeBSD. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=19935 
>Unformatted:
