Bug 491005

Summary: Syntax of "prompt" in /etc/mail.rc is wrong
Product: [Fedora] Fedora Reporter: David McKellar <djmcke>
Component: mailxAssignee: Ivana Varekova <varekova>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dmitry, varekova
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: 2009-03-19 12:39:35 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:

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!