Bug 438550
| Summary: | screen doesn't work if SHELL=/bin/tcsh | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Charles R. Anderson <cra> | ||||
| Component: | setup | Assignee: | Phil Knirsch <pknirsch> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | dcantrell, mlichvar, rvokal | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2008-04-07 21:35:21 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 235706 | ||||||
| Attachments: |
|
||||||
|
Description
Charles R. Anderson
2008-03-21 19:53:07 UTC
Created attachment 298805 [details]
strace tcsh
If you start screen with bash, it works. But then try to start tcsh inside
screen, and it hangs:
[cra@localhost ~]$ tcsh
Attached is the strace from this attempt:
[cra@localhost ~]$ strace -o tcsh-strace.txt tcsh
This is caused by prompt setting in /etc/csh.cshrc. (In reply to comment #2) > This is caused by prompt setting in /etc/csh.cshrc. Do you have a proposed fix for this? --- setup-2.6.12/csh.cshrc.orig 2008-02-22 17:48:32.000000000 +0100
+++ setup-2.6.12/csh.cshrc 2008-04-04 14:57:50.000000000 +0200
@@ -40,7 +40,7 @@ if ($?TERM) then
breaksw
case screen:
if ($?tcsh) then
- set prompt='%{\033_%n@%m:%c\033%}[%n@%m %c]%# '
+ set prompt='%{\033_%n@%m:%c\033\\%}[%n@%m %c]%# '
else
alias precmd 'echo -n "\033_${USER}@${HOSTNAME}:${PWD}"; echo -n "\033\\"'
endif
Ugh, mye, my bad. I'll build a new package today that fixes this (among a few other things). Thanks for the fix, Miroslav. Read ya, Phil |