| Summary: | tcsh doesn't seem to pass control charcters to a terminal | ||
|---|---|---|---|
| Product: | Base System | Reporter: | jamesn <jamesn> |
| Component: | bin | Assignee: | David E. O'Brien <obrien> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | jamesn |
| Priority: | Normal | ||
| Version: | 4.0-STABLE | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: gnats-admin->freebsd-bugs Fix mangled PR. Responsible Changed From-To: freebsd-bugs->obrien David will probably want to forward this to the tcsh maintainer. 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. |
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.