View previous topic :: View next topic |
Author |
Message |
pholthau Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_corsair.gif)
Joined: 27 Nov 2005 Posts: 361 Location: Bielefeld, Germany
|
Posted: Mon Oct 09, 2006 3:12 pm Post subject: console - zeilenumbruch |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
DerMojo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Southpark/avatar30.gif)
Joined: 14 Aug 2003 Posts: 395 Location: Germany
|
Posted: Tue Oct 10, 2006 12:48 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
pholthau Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/StarCraft/starcraft_protoss_corsair.gif)
Joined: 27 Nov 2005 Posts: 361 Location: Bielefeld, Germany
|
Posted: Tue Oct 10, 2006 7:04 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|