Bug 769100 - urxvt256c does not display bold font in mc
Summary: urxvt256c does not display bold font in mc
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mc
Version: 16
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-19 22:20 UTC by Marcin Kulik
Modified: 2013-07-02 23:54 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-11 16:24:10 UTC
Type: ---


Attachments (Terms of Use)

Description Marcin Kulik 2011-12-19 22:20:12 UTC
Description of problem:
When opening mc in rxvt-unicode (256 colors version, urxvt256c) the are no bold fonts used for directory names.

Version-Release number of selected component (if applicable):
4.8.0-2.fc16

How reproducible:
Always

Steps to Reproduce:
1. open urxvt256c
2. run mc
  
Actual results:
No bold font for directories

Expected results:
Bold fonts for directories

Additional info:
This is most likely related to this old issue: https://bugzilla.redhat.com/show_bug.cgi?id=474108

Comment 1 Slava Zanko 2011-12-20 12:43:53 UTC
Since 4.8.0 mc have full support of 256 colour terminals, also colour support was reimplemented (for correct usage SLTT_BOLD_MASK too).

Can you try use 256-color skin, such as sand256 or xoria256?
just run mc as:

TERM=xterm-256color mc -S sand256

or

TERM=xterm-256color mc -S xoria256

Also, provide, please, your TERM variable when you have started urxvt256c terminal emulator.

Comment 2 Marcin Kulik 2011-12-20 21:42:23 UTC
I have run TERM=xterm-256color mc -S xoria256 and it correctly displays bold fonts for directories.

My TERM variable set by urxvt256c is "rxvt-unicode-256color".

Comment 3 Slava Zanko 2011-12-22 20:02:19 UTC
Okay, you may do the next steps:

$ mkdir -p ~/.local/share/mc/skins
$ cp /usr/share/mc/skins/default.ini ~/.local/share/mc/skins
$ mcedit ~/.local/share/mc/skins/default.ini

search [filehighlight] section and replace string

directory=white;

by

directory=white;;bold

I hope, this will be helpfull tip for you.

Comment 4 Marcin Kulik 2011-12-24 12:17:31 UTC
Thanks, it works.

For now I have following alias in my .zshrc:

    mc='TERM=xterm /usr/bin/mc'

That does the job without a need for modified skin file.

Comment 5 Jindrich Novy 2012-09-11 16:24:10 UTC
Ok, closing this bug as this seems to be resolved.


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