Bug 19935

Summary: tcsh doesn't seem to pass control charcters to a terminal
Product: Base System Reporter: jamesn <jamesn>
Component: binAssignee: David E. O'Brien <obrien>
Status: Closed FIXED    
Severity: Affects Only Me CC: jamesn
Priority: Normal    
Version: 4.0-STABLE   
Hardware: Any   
OS: Any   

Description jamesn 2000-07-14 22:30:00 UTC
 
 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.
Comment 1 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-07-25 17:44:05 UTC
Responsible Changed
From-To: gnats-admin->freebsd-bugs

Fix mangled PR.
Comment 2 Sheldon Hearn freebsd_committer freebsd_triage 2000-07-26 10:00:20 UTC
Responsible Changed
From-To: freebsd-bugs->obrien

David will probably want to forward this to the tcsh maintainer.
Comment 3 David E. O'Brien freebsd_committer freebsd_triage 2000-11-10 17:57:58 UTC
State Changed
From-To: open->closed

This should be sent to the Tcsh maintainer 
(Christos Zoulas <christos@zoulas.com>) as I didn't change this behavior 
for FreeBSD.