Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bei ncurses Programmen fehlen alle - | und "ecken" [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Sat Oct 15, 2005 5:28 pm    Post subject: Bei ncurses Programmen fehlen alle - | und "ecken" Reply with quote

moin,

bei allen Programmen, die ncurses nutzen (z.B. mc oder "make menuconfig") werden die Rahmen nicht mehr gezeichnet. Fehlen einfach. Das Seltsame daran ist, in einer Konsole in KDE wird alles vernünftig dargestellt. Eine Konsole ausserhalb von X stellt fehlerhaft dar. Sogar wenn ich screen Sitzungen übernehme tritt dieses Verhalten auf, also "kaputte" Programme werden auf einmal vernünftig dargestellt und umgekehrt.

Irgendwer ne Idee?

MfG McLane

edit: solved
lag daran, dass UTF-8 einkompiliert (Kernel) war und als "Default NLS Option" nicht "UTF-8" eingetragen war.
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«


Last edited by Cpt_McLane on Mon Oct 17, 2005 7:28 pm; edited 2 times in total
Back to top
View user's profile Send private message
Marc-Tell
Tux's lil' helper
Tux's lil' helper


Joined: 19 Mar 2004
Posts: 101
Location: Hamburg

PostPosted: Sat Oct 15, 2005 5:45 pm    Post subject: Reply with quote

Hallo,

was ist denn bei dir als consolefont eingestellt?

/etc/conf.d/consolefont


MfG
Marc-Tell
_________________
Wer Rechtschreibfehler findet, darf sie behalten
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Sat Oct 15, 2005 5:45 pm    Post subject: Reply with quote

Welchen Framebuffer Treiber benutzt du (vesafb etc.)? Und was für eine Grafikkarte hast du?
Back to top
View user's profile Send private message
gentop
l33t
l33t


Joined: 29 Nov 2004
Posts: 639

PostPosted: Sat Oct 15, 2005 5:46 pm    Post subject: Reply with quote

Hilft dir das hier? https://forums.gentoo.org/viewtopic-t-388122-highlight-taste+pipe.html

//gentop
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Sat Oct 15, 2005 6:07 pm    Post subject: Reply with quote

moin,

1. /etc/conf.d/consolefont
Code:
CONSOLEFONT="default8x16"


2. /boot/grub/grub.conf
Code:
video=vesafb

grafikkarte ist ati radeon 9700 mobility in einem acer laptop mit 1280x800 widescreen

3. danke für den tip, habdie consolefont auf
Code:
 CONSOLEFONT="lat0-16"

geändert, hat aber nichts geholfen ( /etc/init.d/consolefont restart hatte ich ausgeführt)
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
Marc-Tell
Tux's lil' helper
Tux's lil' helper


Joined: 19 Mar 2004
Posts: 101
Location: Hamburg

PostPosted: Sat Oct 15, 2005 7:24 pm    Post subject: Reply with quote

Bei mir steht:

CONSOLEFONT="lat9w-16"
_________________
Wer Rechtschreibfehler findet, darf sie behalten
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Sat Oct 15, 2005 9:08 pm    Post subject: Reply with quote

hab nun schon mehrere consolefonts ausprobiert, daran scheint's nicht zu liegen... hab das gefühl, hat was mit dem kernel zu tun... probier morgen früh mal mit den framebuffer einstellungen rum...
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
gentop
l33t
l33t


Joined: 29 Nov 2004
Posts: 639

PostPosted: Sat Oct 15, 2005 9:12 pm    Post subject: Reply with quote

Das hat mit dem Kernel IMHO nichts zu tun!!
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Sun Oct 16, 2005 8:45 am    Post subject: Reply with quote

tja, dann fällt mir nichts mehr ein. habe unzählige consolefonts durchprobiert, ohne erfolg...
ist ja nicht sooo wichtig, da von einer konsole in kde aus alles funktioniert. hätte nur gerne die gewissheit, dass wenn ich mal kein X habe ich auf der konsole nicht "eingeschränkt" bin.
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Sun Oct 16, 2005 9:06 am    Post subject: Reply with quote

Poste mal die Outputs von
Code:
echo $TERM
in der funktionierenden Umgebung und in der nicht funktionierenden Umgebung.

Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
Lenz
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1439
Location: Marburg [HE, D, EU]

PostPosted: Sun Oct 16, 2005 9:42 am    Post subject: Reply with quote

Hab dieses Problem seit der Umstellung auf UTF8 in der "echten" Konsole auch.
_________________
.:: Lenz' Signature 1.7b ::.

| Gentoo Linux since v1.4 (08-2003) [Screenshot]
| NetHack Highscore: 5.476.380 Pts., Val-Dwa-Fem-Law, ~ ascended to demigoddess-hood ~
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1938

PostPosted: Sun Oct 16, 2005 10:19 am    Post subject: Reply with quote

ncurses mit USE-Flag unicode compiliert?
_________________
Unix philosophy: "Do one thing and do it well."
systemd: "Do everything and do it wrong."
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Sun Oct 16, 2005 10:26 am    Post subject: Reply with quote

output von "echo $TERM"
funktioniert:
Code:
xterm

funktioniert nicht:
Code:
linux


jep, hab ncurses mit unicode compiliert. unicode ist in meinen USE-Flags in der make.conf auch eingetragen.

edit:
hab auf der "echten" konsole mal ein
Code:
export TERM="xterm"

gemacht. Nun sehe ich wenigstens x und q Zeichen, wo die - und | sein sollten. Scheint irgendwie die richtige Spur zu sein.
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
hoschi
Advocate
Advocate


Joined: 19 Jul 2003
Posts: 2517
Location: Ulm, Germany, Europe

PostPosted: Sun Oct 16, 2005 10:47 am    Post subject: Reply with quote

Lenz wrote:
Hab dieses Problem seit der Umstellung auf UTF8 in der "echten" Konsole auch.


hier auch
_________________
Just you and me strogg!
Back to top
View user's profile Send private message
Mr_Maniac
Guru
Guru


Joined: 10 Jun 2004
Posts: 543

PostPosted: Sun Oct 16, 2005 11:15 am    Post subject: Reply with quote

*meld* Hier ebenfalls das Problem...
Scheint definitiv mit Unicode zu tun zu haben...
_________________
AMD Ryzen 5900X
64 GB DDR4 RAM
GeForce RTX 3080
Gentoo Linux (most recent stable kernel - amd64)
Windows 11 x64
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Sun Oct 16, 2005 11:19 am    Post subject: Reply with quote

Lenz wrote:
Hab dieses Problem seit der Umstellung auf UTF8 in der "echten" Konsole auch.


jep, es liegt an UTF-8

hab eben nen kernel ohne UTF-8 support gebacken und siehe da, ich hab wieder "vernünftiges" ncurses in der "echten" konsole. Schadet das irgendwie, mit unicode in den USE-Flags "rumzurennen" aber UTF-8 im Kernel deaktiviert zu haben?

edit:
bis jetzt konnte ich keine nebeneffekte feststellen. scheint also die lösung zu sein. mal die nächsten kernel bzw. ncurses versionen abwarten, werde alsbald (sobald es neue versionen gibt) wieder utf-8 im kernel aktivieren und ma schauen, ab wann utf-8 "wieder aktiviert" werden "darf/kann"...

wenn jmd. eine andere lösung hat, bin gerne bereit das zu probieren und zu berichten...
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Mon Oct 17, 2005 10:44 am    Post subject: Reply with quote

Cpt_McLane wrote:

hab auf der "echten" konsole mal ein
Code:
export TERM="xterm"

gemacht. Nun sehe ich wenigstens x und q Zeichen, wo die - und | sein sollten. Scheint irgendwie die richtige Spur zu sein.


Gut, du hast ja jetzt schon eine Lösung für dich gefunden. Aber wenn du mal Zeit hast, versuch in der Konsole, wo es nicht funktioniert ein export TERM=vt100 zu machen. Vielleicht klappt es dann besser...

Lieber Gruss
STiGMaTa
Back to top
View user's profile Send private message
nic0000
l33t
l33t


Joined: 25 Sep 2005
Posts: 658

PostPosted: Mon Oct 17, 2005 10:56 am    Post subject: Reply with quote

Cpt_McLane wrote:

wenn jmd. eine andere lösung hat, bin gerne bereit das zu probieren und zu berichten...

Ich lebe mit dem Fehler, starte aber in der Konsole
Code:

screen -U -R;exit


dadurch geht es auch wieder. Wichtig ist nur die "-U" für Unicode Option.
Da ich fast ausschließlich remote und mit screen arbeite ist es lokal für mich kein Akt auch screen anzuschmeissen. NIcht perfekt aber es ist erträglich ;-)

grüße
nico
Back to top
View user's profile Send private message
Inte
Veteran
Veteran


Joined: 15 Jul 2003
Posts: 1387
Location: Mannheim, GER

PostPosted: Mon Oct 17, 2005 12:01 pm    Post subject: Reply with quote

Cpt_McLane wrote:
hab eben nen kernel ohne UTF-8 support gebacken und siehe da, ich hab wieder "vernünftiges" ncurses in der "echten" konsole. Schadet das irgendwie, mit unicode in den USE-Flags "rumzurennen" aber UTF-8 im Kernel deaktiviert zu haben?

Hattest Du es richtig einkompiliert, oder als Modul? Falls Du es nur als Modul einkompilierst, hast Du es dann auch geladen?

Ansonsten bleibt die Frage offen, ob Du auch "Default NLS Option" auf utf8 umgestellt hast.
_________________
Gentoo Linux - Die Metadistribution
Back to top
View user's profile Send private message
Cpt_McLane
Tux's lil' helper
Tux's lil' helper


Joined: 08 Apr 2005
Posts: 133
Location: /home/mclane

PostPosted: Mon Oct 17, 2005 7:25 pm    Post subject: Reply with quote

Inte wrote:

Hattest Du es richtig einkompiliert, oder als Modul? Falls Du es nur als Modul einkompilierst, hast Du es dann auch geladen?

hatte es fest einkompiliert.

Inte wrote:

Ansonsten bleibt die Frage offen, ob Du auch "Default NLS Option" auf utf8 umgestellt hast.

und da haben wir des Rätsels Lösung.
Habe nun UTF-8 fest einkompiliert und als "Default NLS Option" auch auf utf-8 gestellt und es funtioniert nun sowohl in der echten, als auch im xterm und jeweils mit screen (ohne -U option).

Danke für die vielen Hinweise.
_________________
»Sir! We we are surrounded!« - »Perfect! Now we can shoot in any direction...«
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum