Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
console - zeilenumbruch
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
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Mon Oct 09, 2006 3:12 pm    Post subject: console - zeilenumbruch Reply with quote

hey,
nachdem ich in irgendeiner console (egal ob tty, kde konsole oder xterm)
eine datei OHNE zeilenumbruch am ende per "cat" ausgebe ist die letzte zeile
der datei unlesbar, da vom prompt ueberdeckt. liegt das an einem falschen eintrag
in .bashrc, etc? dort kann ich nichts finden. oder ist eventuell unicode dran schuld?

vielleicht hat von euch ja jemand schonmal das problem gehabt und kann mir helfen.
vielleicht uebersehe ich ja wieder auch nur was dummes ;)

Code:

pholthau@illidan ~ $ locale
LANG=
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8

Code:

pholthau@illidan ~ $ cat /etc/locale.gen
#en_US ISO-8859-1
en_US.UTF-8 UTF-8
de_DE.UTF-8 UTF-8
#de_DE ISO-8859-1
de_DE@euro ISO-8859-15

Code:

pholthau@illidan ~ $ cat /etc/env.d/02locale
LC_ALL="en_US.utf8"

Code:

pholthau@illidan ~ $ grep UNI /etc/rc.conf
UNICODE="yes"

Code:

pholthau@illidan ~ $ grep CONS /etc/conf.d/consolefont
CONSOLEFONT="ter-v16b"
#CONSOLETRANSLATION="8859-1_to_uni"

_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
Back to top
View user's profile Send private message
DerMojo
Guru
Guru


Joined: 14 Aug 2003
Posts: 395
Location: Germany

PostPosted: Tue Oct 10, 2006 12:48 pm    Post subject: Reply with quote

Hi!

Das Problem wird wohl am Prompt liegen. Kannst du bitte die Ausgabe von "echo $PS1" posten?

Daniel
_________________
To err is human, to forgive, beyond the scope of the Operating System.
Back to top
View user's profile Send private message
pholthau
Guru
Guru


Joined: 27 Nov 2005
Posts: 361
Location: Bielefeld, Germany

PostPosted: Tue Oct 10, 2006 7:04 pm    Post subject: Reply with quote

stimmt, das kann sein. dabei habe ich dort nichts veraendert.
Code:

pholthau@illidan ~ $ echo $PS1
\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]

_________________
The message is Feierei, alder! The message is Gude Laune, alder! [Sven]
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