Re: [gentoo-user] Python and man problems

2014-08-08 Thread Helmut Jarausch

On 08/04/2014 08:00:55 PM, Stroller wrote:
It transpires that sys-apps/most is in portage. Emerging this package  
should fix it, if you intend to continue using it as the PAGER.


most is the best manpager I've found found - the default syntax  
highlighting is perfect for man pages.




Hi,
does anybody know how to tell 'most' to scroll when I use my mouse  
wheel?


Many thanks for a hint,
Helmut




Re: [gentoo-user] Python and man problems

2014-08-08 Thread Philip Webb
140808 Helmut Jarausch wrote:
 does anybody know how to tell 'most' to scroll when I use my mouse wheel?

IIRC it's KDE which does it for me : Most runs in a Konsole.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Python and man problems

2014-08-08 Thread Helmut Jarausch

On 08/08/2014 11:52:30 AM, Philip Webb wrote:

140808 Helmut Jarausch wrote:
 does anybody know how to tell 'most' to scroll when I use my mouse  
wheel?


IIRC it's KDE which does it for me : Most runs in a Konsole.



I'm using icewm where my mouse wheel generates button4/5 events.
Is there a general means to teach X11 to map mouse button events to key  
codes?


Thanks,
Helmut




Re: [gentoo-user] Python and man problems

2014-08-08 Thread Jacques Montier
Hello,

I use Terminator with XFCE and scroll works fine with mouse wheel.

Cheers,

*--*
*Jacques*


2014-08-08 11:52 GMT+02:00 Philip Webb purs...@ca.inter.net:

 140808 Helmut Jarausch wrote:
  does anybody know how to tell 'most' to scroll when I use my mouse wheel?

 IIRC it's KDE which does it for me : Most runs in a Konsole.

 --
 ,,
 SUPPORT ___//___,   Philip Webb
 ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
 TRANSIT`-O--O---'   purslowatchassdotutorontodotca





Re: [gentoo-user] Python and man problems

2014-08-08 Thread Mick
On Friday 08 Aug 2014 11:00:06 Jacques Montier wrote:
 Hello,
 
 I use Terminator with XFCE and scroll works fine with mouse wheel.

Some terminals do, some don't.  AFAIK it is not configurable in each case, but 
if anyone know how to get to work with urxvt please share.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Python and man problems

2014-08-04 Thread Roger Cahn


Hello all,

I encounter some problems with python compiling and man errors.

1- Python :

I can't emerge some python packages (ie pyorbit, libmpeg2, 
libbonobo-python, etc...).

Even the installed python packages can't emerge anymore.
Here is the error message for libgnome-python-2.28.1-r1
(USE=-examples PYTHON_TARGETS=-python2_7%)

*ERROR: dev-python/libgnome-python-2.28.1-r1::gentoo failed (configure 
phase):

 *   No supported Python implementation in PYTHON_TARGETS.
 *
 * Call stack:
 * ebuild.sh, line   93:  Called src_configure
 *   environment, line 4118:  Called gnome-python-common-r1_src_configure
 *   environment, line 2078:  Called python_parallel_foreach_impl 
'gnome2_src_configure' '--disable-allbindings' '--enable-gnome' 
'--enable-gnomeui'

 *   environment, line 3947:  Called _python_obtain_impls
 *   environment, line  702:  Called _python_validate_useflags
 *   environment, line  758:  Called die
 * The specific snippet of code:
 *   die No supported Python implementation in PYTHON_TARGETS.
*

Is it a locale problem ?

Here is my /etc/env.d/02locale

LANG=fr_FR.utf8
LC_ALL=

When i run locale, i get :

$ locale
LANG=fr_FR.UTF-8
LC_CTYPE=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=

2- man does not work anymore ; i get the error message :

ie : $man emerge (sorry, it's in french)

*man emerge
sh: most : commande introuvable
Erreur pendant l'ex�cution du formatage ou de l'affichage.
Le syst�me retourne pour (cd /usr/share/man  (echo .ll 11.1i; echo 
.nr LL 11.1i; echo .pl 1100i; /bin/bzip2 -c -d 
'/usr/share/man/man1/emerge.1.bz2'; echo .\\\; echo .pl \n(nlu+10) 
| /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127.

Il n'y a pas de page de manuel pour emerge.
*
I recompiled the sys-apps/man package with success but the error is 
still there.


My configuration :

$emerge --info

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, 
glibc-2.19-r1, 3.14.14-gentoo x86_64)

=
System uname: 
Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-2.2

KiB Mem: 4051020 total,   1896448 free
KiB Swap:2048280 total,   2048280 free
Timestamp of tree: Sun, 03 Aug 2014 08:15:01 +
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:  4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python:  2.7.7, 3.3.5-r1
dev-util/cmake:   2.8.12.2-r1
dev-util/pkgconfig:   0.28-r1
sys-apps/baselayout:  2.2
sys-apps/openrc:  0.12.4
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf:   2.13, 2.69
sys-devel/automake:   1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:   2.23.2
sys-devel/gcc:4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool:2.4.2-r1
sys-devel/make:   3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:   2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-O2 -march=native -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/dconf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild 
/etc/sandbox.d /etc/splash /etc/terminfo

CXXFLAGS=-O2 -march=native -pipe
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--autounmask=n
FCFLAGS=-O2 -pipe
FEATURES=assume-digests binpkg-logs distlocks ebuild-locks fixlafiles 
merge-sync news parallel-fetch preserve-libs protect-owned sandbox 
sfperms strict unknown-features-warn unmerge-logs unmerge-orphans 
userfetch userpriv usersandbox usersync

FFLAGS=-O2 -pipe
GENTOO_MIRRORS=http://distfiles.gentoo.org;
LANG=fr_FR.utf8
LC_ALL=
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages

PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=
SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo 
cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr 
emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv ipv6 
jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib 
ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds 
qt3support qt4 readline sdl session spell sse sse2 ssl 
startup-notification svg tcpd tiff truetype udev udisks unicode upower 
usb vorbis wxwidgets x264 xcb xml xv xvid zlib ABI_X86=64 

Re: [gentoo-user] Python and man problems

2014-08-04 Thread Kerin Millar

On 04/08/2014 15:46, Roger Cahn wrote:


Hello all,

I encounter some problems with python compiling and man errors.

1- Python :

I can't emerge some python packages (ie pyorbit, libmpeg2,
libbonobo-python, etc...).
Even the installed python packages can't emerge anymore.
Here is the error message for libgnome-python-2.28.1-r1
(USE=-examples PYTHON_TARGETS=-python2_7%)


Your PYTHON_TARGETS setting does not make sense. If you want python 
modules to target python-2.7 then define:


PYTHON_TARGETS=python2_7

Otherwise, define python3.3 (or even both, space separated).



*ERROR: dev-python/libgnome-python-2.28.1-r1::gentoo failed (configure
phase):
  *   No supported Python implementation in PYTHON_TARGETS.
  *
  * Call stack:
  * ebuild.sh, line   93:  Called src_configure
  *   environment, line 4118:  Called gnome-python-common-r1_src_configure
  *   environment, line 2078:  Called python_parallel_foreach_impl
'gnome2_src_configure' '--disable-allbindings' '--enable-gnome'
'--enable-gnomeui'
  *   environment, line 3947:  Called _python_obtain_impls
  *   environment, line  702:  Called _python_validate_useflags
  *   environment, line  758:  Called die
  * The specific snippet of code:
  *   die No supported Python implementation in PYTHON_TARGETS.
*



As above.


Is it a locale problem ?

Here is my /etc/env.d/02locale

LANG=fr_FR.utf8
LC_ALL=

When i run locale, i get :

$ locale
LANG=fr_FR.UTF-8
LC_CTYPE=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_TIME=fr_FR.UTF-8
LC_COLLATE=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_MESSAGES=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_ADDRESS=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_ALL=

2- man does not work anymore ; i get the error message :

ie : $man emerge (sorry, it's in french)


You can make it English by prefixing the command with LC_MESSAGES=C.


*man emerge
sh: most : commande introuvable
Erreur pendant l'ex�cution du formatage ou de l'affichage.
Le syst�me retourne pour (cd /usr/share/man  (echo .ll 11.1i; echo
.nr LL 11.1i; echo .pl 1100i; /bin/bzip2 -c -d
'/usr/share/man/man1/emerge.1.bz2'; echo .\\\; echo .pl \n(nlu+10)
| /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127.
Il n'y a pas de page de manuel pour emerge.
*
I recompiled the sys-apps/man package with success but the error is
still there.


most ... command not found. I've never heard of such a command. It looks 
as though PAGER=most is defined in your environment. In Gentoo, it is 
normally set as /usr/bin/less.


--Kerin



Re: [gentoo-user] Python and man problems

2014-08-04 Thread Kerin Millar

On 04/08/2014 17:50, Kerin Millar wrote:

On 04/08/2014 15:46, Roger Cahn wrote:


snip


*man emerge
sh: most : commande introuvable
Erreur pendant l'ex�cution du formatage ou de l'affichage.
Le syst�me retourne pour (cd /usr/share/man  (echo .ll 11.1i; echo
.nr LL 11.1i; echo .pl 1100i; /bin/bzip2 -c -d
'/usr/share/man/man1/emerge.1.bz2'; echo .\\\; echo .pl \n(nlu+10)
| /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127.
Il n'y a pas de page de manuel pour emerge.
*
I recompiled the sys-apps/man package with success but the error is
still there.


most ... command not found. I've never heard of such a command. It looks
as though PAGER=most is defined in your environment. In Gentoo, it is
normally set as /usr/bin/less.



It transpires that sys-apps/most is in portage. Emerging this package 
should fix it, if you intend to continue using it as the PAGER.


--Kerin



Re: [gentoo-user] Python and man problems

2014-08-04 Thread Alexander Kapshuk
On 08/04/2014 05:46 PM, Roger Cahn wrote:

 Hello all,

 I encounter some problems with python compiling and man errors.

 1- Python :

 I can't emerge some python packages (ie pyorbit, libmpeg2,
 libbonobo-python, etc...).
 Even the installed python packages can't emerge anymore.
 Here is the error message for libgnome-python-2.28.1-r1 
 (USE=-examples PYTHON_TARGETS=-python2_7%)

 *ERROR: dev-python/libgnome-python-2.28.1-r1::gentoo failed (configure
 phase):
  *   No supported Python implementation in PYTHON_TARGETS.
  *
  * Call stack:
  * ebuild.sh, line   93:  Called src_configure
  *   environment, line 4118:  Called gnome-python-common-r1_src_configure
  *   environment, line 2078:  Called python_parallel_foreach_impl
 'gnome2_src_configure' '--disable-allbindings' '--enable-gnome'
 '--enable-gnomeui'
  *   environment, line 3947:  Called _python_obtain_impls
  *   environment, line  702:  Called _python_validate_useflags
  *   environment, line  758:  Called die
  * The specific snippet of code:
  *   die No supported Python implementation in PYTHON_TARGETS.
 *

 Is it a locale problem ?
  
 Here is my /etc/env.d/02locale

 LANG=fr_FR.utf8
 LC_ALL=

 When i run locale, i get :

 $ locale
 LANG=fr_FR.UTF-8
 LC_CTYPE=fr_FR.UTF-8
 LC_NUMERIC=fr_FR.UTF-8
 LC_TIME=fr_FR.UTF-8
 LC_COLLATE=fr_FR.UTF-8
 LC_MONETARY=fr_FR.UTF-8
 LC_MESSAGES=fr_FR.UTF-8
 LC_PAPER=fr_FR.UTF-8
 LC_NAME=fr_FR.UTF-8
 LC_ADDRESS=fr_FR.UTF-8
 LC_TELEPHONE=fr_FR.UTF-8
 LC_MEASUREMENT=fr_FR.UTF-8
 LC_IDENTIFICATION=fr_FR.UTF-8
 LC_ALL=

 2- man does not work anymore ; i get the error message :

 ie : $man emerge (sorry, it's in french)

 *man emerge
 sh: most : commande introuvable
 Erreur pendant l'ex�cution du formatage ou de l'affichage.
 Le syst�me retourne pour (cd /usr/share/man  (echo .ll 11.1i;
 echo .nr LL 11.1i; echo .pl 1100i; /bin/bzip2 -c -d
 '/usr/share/man/man1/emerge.1.bz2'; echo .\\\; echo .pl
 \n(nlu+10) | /usr/bin/gtbl | /usr/bin/nroff -mandoc | most) l'erreur 127.
 Il n'y a pas de page de manuel pour emerge.
 *
 I recompiled the sys-apps/man package with success but the error is
 still there.

 My configuration :

 $emerge --info

 Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3,
 glibc-2.19-r1, 3.14.14-gentoo x86_64)
 =
 System uname:
 Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6850_@_3.00GHz-with-gentoo-2.2
 KiB Mem: 4051020 total,   1896448 free
 KiB Swap:2048280 total,   2048280 free
 Timestamp of tree: Sun, 03 Aug 2014 08:15:01 +
 ld GNU ld (GNU Binutils) 2.23.2
 app-shells/bash:  4.2_p45
 dev-java/java-config: 2.2.0
 dev-lang/python:  2.7.7, 3.3.5-r1
 dev-util/cmake:   2.8.12.2-r1
 dev-util/pkgconfig:   0.28-r1
 sys-apps/baselayout:  2.2
 sys-apps/openrc:  0.12.4
 sys-apps/sandbox: 2.6-r1
 sys-devel/autoconf:   2.13, 2.69
 sys-devel/automake:   1.10.3, 1.11.6, 1.12.6, 1.13.4
 sys-devel/binutils:   2.23.2
 sys-devel/gcc:4.7.3-r1
 sys-devel/gcc-config: 1.7.3
 sys-devel/libtool:2.4.2-r1
 sys-devel/make:   3.82-r4
 sys-kernel/linux-headers: 3.13 (virtual/os-headers)
 sys-libs/glibc:   2.19-r1
 Repositories: gentoo
 ACCEPT_KEYWORDS=amd64
 ACCEPT_LICENSE=* -@EULA
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-O2 -march=native -pipe
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc /usr/share/config /usr/share/gnupg/qualified.txt
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/dconf /etc/env.d
 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
 /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo
 CXXFLAGS=-O2 -march=native -pipe
 DISTDIR=/usr/portage/distfiles
 EMERGE_DEFAULT_OPTS=--autounmask=n
 FCFLAGS=-O2 -pipe
 FEATURES=assume-digests binpkg-logs distlocks ebuild-locks fixlafiles
 merge-sync news parallel-fetch preserve-libs protect-owned sandbox
 sfperms strict unknown-features-warn unmerge-logs unmerge-orphans
 userfetch userpriv usersandbox usersync
 FFLAGS=-O2 -pipe
 GENTOO_MIRRORS=http://distfiles.gentoo.org;
 LANG=fr_FR.utf8
 LC_ALL=
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --omit-dir-times --compress --force --whole-file --delete --stats
 --human-readable --timeout=180 --exclude=/distfiles --exclude=/local
 --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 PORTDIR_OVERLAY=
 SYNC=rsync://rsync.europe.gentoo.org/gentoo-portage
 USE=X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2
 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd
 dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk
 iconv ipv6 jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg
 multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png
 policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl
 

Re: [gentoo-user] Python and man problems

2014-08-04 Thread Stroller

On Mon, 4 August 2014, at 5:52 pm, Kerin Millar kerfra...@fastmail.co.uk 
wrote:
 ...
 most ... command not found. I've never heard of such a command. It looks
 as though PAGER=most is defined in your environment. In Gentoo, it is
 normally set as /usr/bin/less.
 
 It transpires that sys-apps/most is in portage. Emerging this package should 
 fix it, if you intend to continue using it as the PAGER.

most is the best manpager I've found found - the default syntax highlighting is 
perfect for man pages.

You don't have to make it your default pager, you can set it separately:

$ env | grep -i page
PAGER=/usr/bin/less
MANPAGER=/usr/bin/most
$ 

Stroller.




Re: [gentoo-user] Python and man problems

2014-08-04 Thread wraeth
On Mon, 2014-08-04 at 19:00 +0100, Stroller wrote:
 most is the best manpager I've found found - the default syntax highlighting 
 is perfect for man pages.

Thanks for the tip! I hadn't come across `most`, and now since you
pointed to it I've set it as my global MANPAGER.

Cheers ;)

-- 
wraeth wra...@wraeth.id.au


signature.asc
Description: This is a digitally signed message part