Le 26.10.2013 06:18, Glenn English a écrit :
There are several Debian machines around, and some of them do an odd
thing in Aptitude:
lqqqqqqqqqqqqqqqqqqqqqk
xReally quit Aptitude?x
x [ Yes ] [ No ] x
mqqqqqqqqqqqqqqqqqqqqqj
and others don't.
Can anyone tell me what I did to make some of them do that to their
ncurses boxes?
Aptitude is the only place I've seen this (yet), and I've played with
locales and googled and looked at man pages -- no joy. It has
something to do with the VT-100 'graphics' chars, I think, but I
can't
figure out how to fix it...
TIA
I have read that question when nobody replied to it, and did not
replied myself because I lack exact commands to solve the problem. But,
in some of your posts ( on both thread divisions, so I open a 3rd to
centralize it? ) you asked for explanations, not only solutions, so I'll
try to do by best, which is probably full of imprecisions and errors.
On linux distributions, we commonly have 2 kinds of terminals:
_ Text TeletYpe (TTY)
_ terminal emulators
They rely on completely different stuff, for locales indeed, but also
for the kind of terminal they emulate.
The locale part mostly manage the language, which means that if you
are, say, French (because I am, so it's easier to type those chars) it
will enable the software to use éèëê... etc. I think this part is the
one which is giving you your problems, because in old times, there were
ASCII characters for normal letters and numbers, plus some strange
chars, which were between 0 and 127, and then, extended ASCII, which was
sometimes used for graphical characters. It was between 128 and 255 for
integer numbers ( a byte is usually composed by 8 bits, so the max value
is 255. Then, the number can be interpreted as character, depending on
the character table)
The emulated terminal have a different job. It's job is to define
control characters. Since they usually respect a part of the ECMA-48
standard, they usually have a common part... for bytes between 0 and
127. Control characters are used to say "the cursor should go there on
next command".
My guess is that you have the wrong locale on the kind of terminal you
are using. Unfortunately, I can only say that there is a package which
will fix that, which is not needed and so, not automatically installed.
Maybe I'll remember more later, but until that, I hope I'll have given
you a small understanding, or at least keywords, to fix your problem. I
doubt it, but maybe...
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d6ba871c4bf54cf72e0ecc50b6b8...@neutralite.org