Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Pl i Ang. strony man
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW
View previous topic :: View next topic  
Author Message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Mon Jul 25, 2011 3:29 am    Post subject: [SOLVED]Pl i Ang. strony man Reply with quote

Witam

Mam ustawiony język Polski, i w zwiazku z tym automatycznie wyświetlają się polskie many.
W związku z tym pytanie:

Jak z wiersza polecen wymusić wyświetlenie anggielskiego manuala, jeśli system domyślnie łapie polski?
np Polski man emerge dotyczy starszej wersji, niż angielski, i chcialbym mieć dostęp z terminala równocześnie do obu wersji, bez jakichś czarów i przerabiania systemu, (do wyświetlenia pojedynczego mana) :)

Próbowałem tak:
Code:
 LANG=en_US.UTF8 LC_ALL=en_US.UTF8 man emerge

ale bez rezultatu.

Jakieś pomysły?

Pozdrawiam
8)


Last edited by Jacekalex on Wed Jan 04, 2012 12:38 am; edited 2 times in total
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Mon Jul 25, 2011 9:40 am    Post subject: Reply with quote

Code:
LC_ALL='C' LANG='C' man foo
powinno dzialac.
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Mon Jul 25, 2011 9:46 am    Post subject: Reply with quote

Niestety:
Code:
LC_ALL='C' LANG='C' man emerge

U mnie wyświetla tylko polski man...

Chyba, ze trzeba trochę porzeźbić w konfiguracji man.conf, lub innych konfigach:.
Tylko co zmienić?

Zainstalowane:
Code:
qlist -IvUC ^man
app-i18n/man-pages-pl-20070628
sys-apps/man-1.6f-r4 (lzma nls)
sys-apps/man-pages-3.28 (linguas_pl nls)
sys-apps/man-pages-posix-2003a
virtual/man-0


Mój man.conf:
Code:
MANPATH   /usr/share/man
MANPATH   /usr/local/share/man
MANPATH   /usr/X11R6/man
MANPATH   /usr/local/man
MANPATH   /usr/man
MANPATH_MAP   /bin         /usr/share/man
MANPATH_MAP   /sbin         /usr/share/man
MANPATH_MAP   /usr/bin      /usr/share/man
MANPATH_MAP   /usr/sbin      /usr/share/man
MANPATH_MAP   /usr/local/bin      /usr/local/share/man
MANPATH_MAP   /usr/local/sbin      /usr/local/share/man
MANPATH_MAP   /usr/X11R6/bin      /usr/X11R6/man
MANPATH_MAP   /usr/bin/X11      /usr/X11R6/man
MANPATH_MAP   /usr/bin/mh      /usr/share/man
TROFF      /usr/bin/groff -Tps -mandoc
NROFF           /usr/bin/nroff -mlatin2 -c -mandoc
JNROFF      /usr/bin/groff -Tnippon -mandocj
EQN      /usr/bin/geqn -Tps
NEQN      /usr/bin/geqn -Tlatin1
JNEQN      /usr/bin/geqn -Tnippon
TBL      /usr/bin/gtbl
REFER      /usr/bin/refer
PIC      /usr/bin/pic
VGRIND      
GRAP      
PAGER      /usr/bin/less -isR
BROWSER      /usr/bin/less -isR
HTMLPAGER   /bin/cat
CAT      /bin/cat
CMP      /usr/bin/cmp -s
COMPRESS   /bin/bzip2
COMPRESS_EXT   .bz2
MANSECT      1:1p:8:2:3:3p:4:5:6:7:9:0p:tcl:n:l:p:o:1x:2x:3x:4x:5x:6x:7x:8x
.gz      /bin/gunzip -c
.bz2      /bin/bzip2 -c -d
.lzma      /usr/bin/unlzma -c -d
.xz      /usr/bin/unxz -c -d
.z      
.Z      /bin/zcat
.F      
.Y


Pozdrawiam
8)
Back to top
View user's profile Send private message
kamillys
n00b
n00b


Joined: 17 Aug 2005
Posts: 63
Location: /home/kamillys

PostPosted: Mon Jul 25, 2011 2:53 pm    Post subject: Reply with quote

Quote:
app-i18n/man-pages-pl-20070628

Paczka z polskimi stronami? Spróbuj usunąć, skoro zawadza
Back to top
View user's profile Send private message
joi_
Apprentice
Apprentice


Joined: 28 Mar 2005
Posts: 171

PostPosted: Mon Jul 25, 2011 3:44 pm    Post subject: Reply with quote

man -a emerge
i przechodź pomiędzy wersjami manuala przez q
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Mon Jul 25, 2011 4:22 pm    Post subject: Reply with quote

A napewno posiadasz angielskie manuale? Sprawdz to.

Ja przez dlugi dlugi czas mialem alias man="LC_ALL=C LANG=C man" i dzialalo. Aktualnie system mam w 100% en_US.
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Mon Jul 25, 2011 7:13 pm    Post subject: Reply with quote

Mam ang many, np w man1 jest emerge w oryginalnej wersji.

Da sie jakoiś odpalić man ze ścieżką do pliku mana?
bo nie chodzi tylko o emerge, ale także kilka innych.

Edyta:
joi_ wrote:
man -a emerge
i przechodź pomiędzy wersjami manuala przez q

Dzięki, to pomogło.
;)

Pozdrawiam
8)


Last edited by Jacekalex on Wed Mar 07, 2012 5:09 am; edited 1 time in total
Back to top
View user's profile Send private message
gorkypl
Guru
Guru


Joined: 04 Oct 2010
Posts: 444
Location: Kraków, PL

PostPosted: Tue Mar 06, 2012 4:11 pm    Post subject: Reply with quote

Podbijam - jest jakaś działająca metoda na wyświetlanie angielskich manuali? Podane powyżej nie działają, a 'man -a' nie jest dla mnie satysfakcjonujące...

Edit:
Sam sobie odpowiem: man-db załatwia sprawę raz na zawsze
Back to top
View user's profile Send private message
Jacekalex
Guru
Guru


Joined: 17 Sep 2009
Posts: 553

PostPosted: Wed Mar 07, 2012 4:58 am    Post subject: Reply with quote

Code:
alias man='LC_ALL=pl_PL.utf8 man -a'

w /etc/bash/bashrc - i działa bez problemu.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Polish OTW 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