Bug 443854

Summary: bad prompt for tcsh
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 9CC: agentunix, nalin, 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-12-03 01:17:43 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:
Attachments:
Description Flags
Unified Patch file that fixes the prompt typo none

Description Bill Nottingham 2008-04-23 18:06:13 UTC
Description of problem:

/etc/csh.cshrc has:

    set prompt='[%u@%m %c]%# ' 

AFAICT, the user name is supposed to be %n, not %u.

Version-Release number of selected component (if applicable):

setup-2.6.14-1.fc9.noarch

How reproducible:

Every time

Steps to Reproduce:
1. Set a user's shell to /bin/tcsh
2. Log in
  
Actual results:

prompt is shown as '[@localhost ~]$'

Expected results:

prompt is shown as '[<user>@localhost ~]$'

Comment 1 Zachary Napora 2008-04-24 04:35:53 UTC
Created attachment 303573 [details]
Unified Patch file that fixes the prompt typo

Generated a patch file that fixes the prompt syntax. Seems to fix the problem
like you said.

Comment 2 Bug Zapper 2008-05-14 10:01:30 UTC
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Ondrej Vasik 2008-11-18 12:13:52 UTC
Thanks for report and fix, fixed in rawhide as setup-2.7.4-2.fc11.

Comment 4 Fedora Update System 2008-11-18 15:31:34 UTC
setup-2.6.18-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/setup-2.6.18-1.fc9

Comment 5 Fedora Update System 2008-11-19 14:50:34 UTC
setup-2.6.18-1.fc9 has been pushed to the Fedora 9 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update setup'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-9727

Comment 6 Fedora Update System 2008-12-03 01:17:35 UTC
setup-2.6.18-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.