id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4271	Patch for man page viewer	ZlatkO		"The enclosed patch gets rid of the annoying red `""<standard input>:1978: warning [p 24, 5.7i]: can't break line""` error boxes when viewing man pages with long lines (see attached screenshot) on terminals that are actually wide enough.

The first variant of the patch is short and concise, but probably only works with `bash`.

The second variant is a bit more elaborate and readable, and also works on older shells that only know the deprecated backtick notation instead of the modern `$()` notation.

The net effect of both variants is exactly the same: they lookup `$COLUMNS` from the terminal that `mc` has been started on, and `export MANWIDTH=${COLUMNS}` accordingly.

Disclaimer: the patch has only been tested on `gnome-terminal`, `xterm`, `uxterm` & the (VGA) linux console on my 32bit Slackware 14.2 systems, so it is absolutely possible (but rather unlikely) that it will fail anywhere else. ;-)"	enhancement	new	trivial	Future Releases	mcview	4.8.26						no branch	
