Bug 491005 - Syntax of "prompt" in /etc/mail.rc is wrong
Summary: Syntax of "prompt" in /etc/mail.rc is wrong
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mailx
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-18 21:00 UTC by David McKellar
Modified: 2009-03-19 14:16 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-19 12:39:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David McKellar 2009-03-18 21:00:57 UTC
Description of problem:
Syntax of "prompt" in /etc/mail.rc is wrong

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

How reproducible:
Startup mailx and the command is ignored

The 3rd line in /etc/mail.rc is:

    set prompt 'mail> '

It should be:

    set prompt='mail> '

Having a prompt of mail> makes mailx slightly more user-friendly.

Comment 1 Dmitry Butskoy 2009-03-19 12:39:35 UTC
The 3rd line is NOT any prompt setting:

# This is the configuration file for Heirloom mailx (formerly
# known under the name "nail".
# See mailx(1) for further options.
# This file is not overwritten when 'make install' is run in
# the mailx build process again.

# Sccsid @(#)nail.rc    2.10 (gritter) 3/4/06
...


Moreover, I cannot find any mention of the keyword "prompt" in the standard configuration file.

Perhaps it is some inherited thing from a former specific configuration?

Comment 2 David McKellar 2009-03-19 14:16:25 UTC
So sorry to inconvenience you!


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