Mailinglist Archive: opensuse-bugs (15100 mails)

< Previous Next >
[Bug 326128] New: Wrong PS1 in MC
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 18 Sep 2007 12:12:40 -0600 (MDT)
  • Message-id: <bug-326128-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=326128

           Summary: Wrong PS1 in MC
           Product: openSUSE 10.3
           Version: Beta 3
          Platform: i686
        OS/Version: openSUSE 10.3
            Status: NEW
          Keywords: Usability
          Severity: Normal
          Priority: P5 - None
         Component: Basesystem
        AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
        ReportedBy: vmicho@xxxxxxxxx
         QAContact: qa@xxxxxxx
          Found By: ---


Apparently the definition of ev variable PS1 (the prompt) is kinda weird.
I is printed incorrectly in MC (midnight commander) - see screenshot.

In resume:
in /etc/bash.bashrc, PS1 is defined as
    PS1="${_t}${_u}:\w${_p} "
    (with all variables defined in some exotic way)
which gives finaly (using 'set' command):
   PS1='$(ppwd \l)\u@\h:\w> '
   PS2='> '
   PS4='+ '

It is printed correcly in bash, but incorrectly in MC.


If I change it directly (in /etc/bash.bashrc) just to:
    PS1="\u@\h:\w> "

It is rendered correcly everywhere.

Will this be fixed in some next release please? Thanks.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >