Ticket #3023 (reopened defect)
-b, --nocolor options not working usefully
Reported by: | dnied | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Future Releases |
Component: | mc-tty | Version: | master |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | no branch | Votes for changeset: |
Description
The '-b' and '--nocolor' mc options don't produce usable output because the selection bar is not visible. Mc should probably use inverse-screen for the selection bar when asked to go colorless.
Experimenting with $TERM, I found that mc actually draws an inverse-screen selection bar, though only if TERM=xtermm (but then the arrow keys don't work). Mc should draw it like that for any value of TERM, when '-b' or '--nocolor' are specified.
Verified on 'xterm -cm', with and without GNUscreen.
~> mc -V GNU Midnight Commander 4.8.4 Built with GLib 2.32.4 Using the S-Lang library with terminfo database With builtin Editor With subshell support as default With support for background operations With mouse support on xterm and Linux console With support for X11 events With internationalization support With multiple codepages support Virtual File Systems: cpiofs, tarfs, sfs, extfs, ftpfs, fish, smbfs Data types: char: 8; int: 32; long: 32; void *: 32; size_t: 32; off_t: 64; ~> xterm -version X.Org 7.6.0(281) ~>
Change History
comment:1 in reply to: ↑ description ; follow-up: ↓ 2 Changed 12 years ago by andrew_b
- Status changed from new to closed
- Resolution set to worksforme
- Component changed from mc-core to mc-tty
- Milestone Future Releases deleted
comment:2 in reply to: ↑ 1 ; follow-up: ↓ 3 Changed 12 years ago by dnied
Cannot confirm.
Have you tried on a monochrome xterm with 'xterm -cm' ?
comment:3 in reply to: ↑ 2 ; follow-up: ↓ 4 Changed 12 years ago by andrew_b
Replying to dnied:
Cannot confirm.
Have you tried on a monochrome xterm with 'xterm -cm' ?
And what? How mc should recognize than it runs under 'xterm -cm'?
Replying to dnied:
Cannot confirm.
MC uses A_REVERSE independently of $TERM value.