Re: Environment problems?



On Thu, 30 Mar 2006 12:35:38 +0000, David Wilson Clarke wrote:

When I run partimage under a root shell, the ncurses display is
corrupted, if I run it in as root in Konsole, it is displayed
correctly. An example of the root shell I mean is the one you get by
pressing <Ctrl> <Alt> <F1>. The same problem does not occur with mc.

The corruption looks like either tabs or spaces are not being
interpreted correctly, so some display lines are different lengths to
others. There is the occasional '?' as well, which I take to mean a
character cannot be interpreted.

I suspect that this has something to do with the environment settings,
but which one/s. I've had a play with LC_ALL, with no success. Is
this a UTF8 problem?

As a bit of background, partimage uses the newt library to create it's
ncurses display.


Any help appreciated.

I have no problem here.
'locale' gives:
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

HTH
.



Relevant Pages

  • Re: Environment problems?
    ... An example of the root shell I mean is the one you get ... The corruption looks like either tabs or spaces are not being ... it's ncurses display. ... Thanks for that, I get the same for 'locale', so maybe it's not a ...
    (alt.os.linux.suse)
  • Re: [kde-linux] 20090807KL -- "Emergency" -- Lost File
    ... to recover the display! ... If the unclean shutdown caused filesystem corruption you might have ... Then a message is displayed to the effect that KMail ...
    (KDE)
  • Re: [opensuse] Corrupted display coming out of sleep.
    ... I am currently running kernel 2.6.22.13-0.3x86_64. ... I updated the drivers using the "one click" install from the openSUSE ... case, when the case is re-opened, the display is not repainted ... initial switch to a text console does not clear the corruption. ...
    (SuSE)
  • Re: Is ZA corrupt after several hours ?
    ... >>ZA colored warning screens become black colored only? ... > to fix it is to get the icon to change ... ... > after the rest of the display returns to 16 or 32 bit. ... >>to program corruption are one of the ways to break through firewall. ...
    (comp.security.firewalls)
  • Re: Most fonts in font preview list are blacked out
    ... I would have thought that there would have been some other display anomalies ... It has to be a corruption but one ... that affects all the display fonts and only for that one list. ... >> Also make sure that your printer driver isn't corrupt. ...
    (microsoft.public.word.application.errors)