Opened 16 years ago
Closed 14 years ago
#2673 closed bug (fixed)
[Terminal] Missing Support for Graphics Char Set
Reported by: | scottmc | Owned by: | pulkomandy |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Applications/Terminal | Version: | R1/Development |
Keywords: | midnight commander | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
I'm not sure but I think the text encoding menu option does nothing. This was on hrev27178. When I built jed (text editor) the menus have letters in their border instead of the expected lines. It might be that terminal isn't using the same mode as jed expects? The jed maintainer suggested trying "xterm" mode?
Attachments (6)
Change History (27)
by , 16 years ago
Attachment: | screen5.png added |
---|
comment:1 by , 16 years ago
comment:3 by , 16 years ago
Replying to anevilyak:
I'd assume you already tried export TERM=xterm ?
That's set by default.
Anyway, this has nothing to do with text encoding. We simply don't support all xterm escape sequences yet. E.g. we don't support the graphics character set, which is why there are "q", "x", "l", "j" instead of lines. So the open "Windows" menu looks at good as it gets ATM. I don't see what the box to the left is supposed to be, but I guess the remainders of some menu. So maybe some positioning escape sequences are used, that we don't support yet. If you can find out which ones, it's probably not so hard to add them.
by , 16 years ago
Attachment: | screen3.png added |
---|
another screenshot of jed on hrev27178, leaving tracing of the pop up menus behind.
comment:4 by , 16 years ago
Component: | - General → Applications/Terminal |
---|---|
Owner: | changed from | to
#2852 is a duplicate of this one.
comment:5 by , 16 years ago
Shouldn't be summary changed to include midnight commander. I tried, but failed to find this ticket.
comment:6 by , 16 years ago
Summary: | [Terminal] Text Encoding not working? → [Terminal] Missing Support for Graphics Char Set |
---|
comment:7 by , 15 years ago
It actually doesn't look that bad. Here's "Midnight Commander" under linux (via ssh).
by , 15 years ago
comment:8 by , 15 years ago
Maybe try jed again to see if this one has been fixed: http://ports.haiku-files.org/wiki/Downloads It may also need slang installed. If those don't work we may need to build fresh versions as those are a bit old now.
comment:9 by , 15 years ago
Those might've been partly fixed by some of joshe's patches a while ago, iirc they did extend handling of some extra terminal control sequences.
follow-up: 13 comment:12 by , 15 years ago
Sorry, but this problem is still observed with Haiku port of mc-4.6.1 :-(
Replying to scottmc:
That looks much better, I'd say it's been fixed now.
Mentioned jed.png shows not pseudo-graphical characters but so known "ANSI-emulation" - replacing border characters with the same looking ANSI symbols "|", "-", "+" etc. This cannot be indicator of this issue is fixed, IMO.
Replying to jackburton:
It actually doesn't look that bad. Here's "Midnight Commander" under linux (via ssh).
Which version of MC do you use there? Which terminal encoding have you set?
comment:13 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Replying to siarzhuk:
Mentioned jed.png shows not pseudo-graphical characters but so known "ANSI-emulation" - replacing border characters with the same looking ANSI symbols "|", "-", "+" etc. This cannot be indicator of this issue is fixed, IMO.
Makes sense. I simply don't know how it should look like, though.
Which version of MC do you use there? Which terminal encoding have you set?
MC 4.6.2. You mean on haiku terminal ? The default (UTF8).
comment:14 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | reopened → assigned |
comment:15 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in hrev38088. I didn't add the whole set of graphical chars, feel free to reopen if you need more than the basic ones.
by , 14 years ago
Attachment: | mc_freebsd6.2_ru_RU.KOI8-R_r38137.png added |
---|
by , 14 years ago
Attachment: | mc_fedora8_ru_RU.UTF8_r38137.png added |
---|
comment:16 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This bug is not fixed for me.
comment:17 by , 14 years ago
Keywords: | midnight commander added |
---|
comment:18 by , 14 years ago
Version: | R1/pre-alpha1 → R1/Development |
---|
comment:19 by , 14 years ago
I had missed some things in the original change. It should work better as of hrev38139. I'll let you test before I close this ticket.
comment:20 by , 14 years ago
Ok, mc in Fedora is fixed now. FreeBSD however is not, but I believe this is because of missing KOI8-R encoding in Terminal. Could you please add it?
comment:21 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Yes, this is using the wrong encoding. One possible workaround is using screen -U to perform the conversion (this will start an utf-8 shell if screen is installed).
Anyway, this is another issue, so please open another bug.
Here's what the expected output should look like: http://www.jedsoft.org/jed/images.html I've attached a screenshot of what terminal shows. Changing the text encoding to any of the menu selections has no effect.