Bug 543450 - an enhancement: prompt inside mc reminds you that you're inside (patch attached)
Summary: an enhancement: prompt inside mc reminds you that you're inside (patch attached)
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mc
Version: 13
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-02 12:20 UTC by Daniel Novotny
Modified: 2013-07-02 23:40 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-07-09 10:39:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
the patch for the mc wrapper (613 bytes, patch)
2009-12-02 12:20 UTC, Daniel Novotny
no flags Details | Diff

Description Daniel Novotny 2009-12-02 12:20:31 UTC
Created attachment 375418 [details]
the patch for the mc wrapper

Description of problem:

when I have a lot of roxterm tabs open and a lot of mc instances inside and do ctrl+o in some of them, I forget whether I am inside mc or not in this specific session and it would be good if I could see it just with a quick glance

my little patch uses the mc wrapper to change the prompt slightly, so when you are inside, you know it just by looking at your terminal window

steps to reproduce:
1. open a lot of terminal tabs
2. open a mc in some of them
3. do ctrl+o in some of them
4. work hard and forgot which ones are mc and which not
5. be confused

Additional info:
with the patch, the prompt has "mc" in front of it so it's quickly distinguishable from a bare shell prompt

Comment 1 Bug Zapper 2010-03-15 13:25:07 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle.
Changing version to '13'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Jindrich Novy 2010-07-09 10:39:12 UTC
There is a message in the terminal window that alerts you that you are running mc (even in subshell). So it is not suitable to yet add something to the subshell commandline IMO.


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