MC display on FC3

Rick Stevens rstevens at vitalstream.com
Tue Nov 29 18:06:30 UTC 2005


On Tue, 2005-11-29 at 14:22 +0100, Administrator TOOTAI wrote:
> Rick Stevens a écrit :
> 
> >On Mon, 2005-11-28 at 10:10 +0100, Administrator TOOTAI wrote:
> >  
> >
> >>Morning everybody,
> >>
> >>I face a problem since last (security ?) upgrade from Midnight Commander 
> >>in FC3 (4.6.1a release 2.FC3 from 16 Nov 2005) with the display.
> >>
> >>Setup is ssh -> FC3 server -> screen -> MC. I have the same problem 
> >>without screen but is less annoying. At first, I put an alias in 
> >>~/.bashrc like mc='mc -a' which is taken without running MC from screen 
> >>but not when running into screen. But this is a screen problem.
> >>
> >>Now, running 'mc -a' give me a screen where the TOP of the screen 
> >>disappear (no command menu) and there is a one line gap between the 
> >>cursor position (reverse line) on the screen and the real position. 
> >>Drawned lines are not in the 80 columns but more, strange characters on 
> >>the screen like 'â' or reverse 'D' (have the same without screen), etc. 
> >>Ctrl/L make thinks worst. When I launch mcedit, part of the screen is 
> >>not refreshed but here Ctrl/L is doing the job.
> >>
> >>As told, before the upgrade it was ok. I tried to change the TERM in 
> >>xterm, linux, aso., helps nothing. If someone have an idea on what's 
> >>going on, would be great.
> >>    
> >>
> >
> >This sounds like a locale issue.  Check the server machine's
> >/etc/sysconfig/i18n file and make sure you have the proper language set
> >in there.  You could also try changing the locale for the MC job by
> >changing the "LANG" environment variable before launching MC:
> >
> >	export LANG=en_US.UTF-8
> >
> >sets the normal US English locale.
> >  
> >
> Remember, it appears with the last upgrade of MC! I changed lang and 
> locales from en_US.UTF-8 into en_US.iso885915 and it's much better, 
> still not 100% Also root and users have not the same displays.

Well, it could be that they changed the character binding somehow in
the last release.  Checking /usr/share/doc/mc-4-6-1a/NEWS gives these
interesting tidbits:

[root at prophead mc-4.6.1a]# cat NEWS
Current

- Core functionality.
        - Device numbers are displayed correctly.
        - Improved message formatting for i18n.  <<<<======
        - Recursive option added for internal grep.

- Viewer.
        - Almost completely rewritten internal viewer.
        - mmap(2) support removed from internal viewer.

- VFS.
        - Fixed device number handling.
        - zipfs can handle zip files that contain pathnames starting
          with "./".
        - Passive FTP over proxies is possible.

- Miscellaneous.
        - Code cleanup in various places


Version 4.6.1-pre5.

- Core functionality.
        - Fix double free in mc_maybe_editor_or_viewer().
        - Do not blindly cleanup in exit_subshell().
        - Fix blocking of panel cd-ing with white space command.
        - Fix mini status after first Ctrl-O.
        - Fix dynamic loading of Photon library for shift keys.

- Security.
        - See also VFS.

- Portability.
        - Added configuration files for Sun Solaris pkgmk(1).

- Editor.
        - Fix position save bug.
        - Improve c.syntax.    <<<<<========
        - Improve makefile.syntax.
        - Improve python.syntax.   <<<<======
        - Improve eiffel.syntax.
        - Improve syntax.syntax.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-   The light at the end of the tunnel is really an oncoming train.  -
----------------------------------------------------------------------





More information about the Redhat-install-list mailing list