Bug 443854 - bad prompt for tcsh
Summary: bad prompt for tcsh
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-23 18:06 UTC by Bill Nottingham
Modified: 2014-03-17 03:14 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-12-03 01:17:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Unified Patch file that fixes the prompt typo (327 bytes, patch)
2008-04-24 04:35 UTC, Zachary Napora
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.