Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Seltsame Formatierungen in Manpages
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
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Sun Jan 12, 2003 1:51 pm    Post subject: Seltsame Formatierungen in Manpages Reply with quote

Hi,
ich hab seit neuestem seltsame Formatierungen in allen manpages:
Code:
ESC[1mNAMEESC[0m
       ifconfig - configure a network interface

ESC[1mSYNOPSISESC[0m
       ESC[1mifconfig [interface]ESC[0m
       ESC[1mifconfig interface [aftype] options | address ...ESC[0m

ESC[1mDESCRIPTIONESC[0m
       ESC[1mIfconfig  ESC[22mis  used to configure the kernel-resident network
interfaces.
       It is used at boot time to set up interfaces as necessary.  After that,
       it  is  usually  only  needed  when  debugging or when system tuning is
       needed.

       If no arguments are given, ESC[1mifconfig ESC[22mdisplays the  status  of
  the  cur-
       rently  active interfaces.  If a single ESC[1minterface ESC[22margument i
s given, it
       displays the status of the given interface only; if a single  ESC[1m-a
ESC[22margu-
       ment  is  given,  it  displays the status of all interfaces, even those
       that are down.  Otherwise, it configures an interface.


ESC[1mAddress FamiliesESC[0m
       If the first argument after the interface name  is  recognized  as  the
       name  of  a  supported  address family, that address family is used for
       decoding and displaying all protocol  addresses.   Currently  supported
       address  families  include  ESC[1minet  ESC[22m(TCP/IP, default), ESC[1mi
net6 ESC[22m(IPv6), ESC[1max25ESC[0m
       (AMPR Packet Radio), ESC[1mddp ESC[22m(Appletalk Phase  2),  ESC[1mipx
ESC[22m(Novell  IPX)  and
       ESC[1mnetrom ESC[22m(AMPR Packet radio).

ESC[1mOPTIONSESC[0m
       ESC[1minterfaceESC[0m
              The  name  of the interface.  This is usually a driver name fol-
              lowed by a unit number, for example ESC[1meth0 ESC[22mfor the firs
t  Ethernet
              interface.

Ich hab man auch schon mal neu gemerget. hat aber nichts geholfen. Hat da irgendwer eine Ahnung?

Dim
_________________
Visit kde-forum.de
Back to top
View user's profile Send private message
ajordan
Guru
Guru


Joined: 10 Sep 2002
Posts: 320
Location: Hannover / Germany

PostPosted: Sun Jan 12, 2003 1:57 pm    Post subject: Reply with quote

hmmm, welche Shell benutzt du? ist die Variable INPUTRC bei dir definiert?

Alex
_________________
http://spitfire.homelinux.net/
http://spitfire.spittix.de/

GNU/LinuX mobile Dokumentation
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Sun Jan 12, 2003 2:12 pm    Post subject: Reply with quote

Hi,
ist ne ganz normale bash *g* INPUTRC zeigt auf /etc/inputrc

Dim
_________________
Visit kde-forum.de
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Jan 12, 2003 2:22 pm    Post subject: Reply with quote

Man-Pages schaut man sich normalerweise mit
Code:
man ls

an und nicht mit
Code:
less /usr/man/man1/ls.1.gz

Möglicherweise steht in der $LESSOPEN (siehe /usr/bin/lesspipe.sh) aber Code drin, welcher auch man-Pages "direkt" öffnet und formatiert:
Code:

  *.[1-9] | *.n | *.man)
    [ "$(file -L $1 | cut -d ' ' -f 2)" = "troff" -o \
    "$(file -L $1 | cut -d ' ' -f 2)" = "ASCII" ] &&
    groff -S -s -p -t -e -Tascii -mandoc "$1" 2>/dev/null ;;
  *.[1-9].gz | *.n.gz | *.man.gz)
    [ "$(gzip -dc $1 2>/dev/null|file -|tr -s ' '|cut -d ' ' -f3)" = "troff" -o \
    "$(gzip -dc $1 2>/dev/null|file -|tr -s ' '|cut -d ' ' -f3)" = "ASCII" ] &&
    gzip -dc $1 2>/dev/null | groff -S -s -p -t -e -Tascii -mandoc ;;
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Sun Jan 12, 2003 2:29 pm    Post subject: Reply with quote

Hi,
wie kommst Du denn darauf das ich less benutze? (Auf die Idee bin ich ja noch nie gekommen *g*)
Ich hab das ganze für das Forum einfach nur aus dem Fenster kopiert. Klar hab ich dafür man ifconfig verwendet.

Dim
_________________
Visit kde-forum.de
Back to top
View user's profile Send private message
compu-tom
Guru
Guru


Joined: 09 Jan 2003
Posts: 415
Location: Berlin, Germany

PostPosted: Sun Jan 12, 2003 2:59 pm    Post subject: Reply with quote

Sorry, ich wollte dir nichts unterstellen...

Wie sieht denn das Ergebnis mit einem anderen Terminal oder einer anderen Shell aus? Was sagt denn "echo $TERM"?
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Sun Jan 12, 2003 3:29 pm    Post subject: Reply with quote

Hi,
echo $TERM sagt xterm.
ich hab man auch mal auf der normale Commandozeile ohne X ausprobiert. Da ist es ganz normal wie es seien sollte.

Dim

PS:Benutze konsole, KDE3.1 RC6
_________________
Visit kde-forum.de
Back to top
View user's profile Send private message
ajordan
Guru
Guru


Joined: 10 Sep 2002
Posts: 320
Location: Hannover / Germany

PostPosted: Sun Jan 12, 2003 5:45 pm    Post subject: Reply with quote

hmm, wenns auffer console hinhaut, probier mal, ob das erneute Starten der Bash im xterm was bringt. Wenn ja, kannste ja unter Einstellungen/Konsole einrichten die Parameter auf bash anpassen.

Alex
_________________
http://spitfire.homelinux.net/
http://spitfire.spittix.de/

GNU/LinuX mobile Dokumentation
Back to top
View user's profile Send private message
Dimitri
Guru
Guru


Joined: 24 Jul 2002
Posts: 373
Location: Niederbayern/Germany

PostPosted: Sun Jan 12, 2003 6:04 pm    Post subject: Reply with quote

Hi,
es scheint anscheinend ein Problem von konsole zu sein. ich hab mal eine 'linux' shell in konsole gestartet und es gibt die gleichen Fehler. Die linux shell auf tty1 war wie gesagt ganz normal.

Dim
_________________
Visit kde-forum.de
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