Re: xdm, pager (less) ion-manual page viewing

Tilman Baumann <[email protected]>
Newsgroups gmane.comp.window-managers.ion.general
Message-ID <[email protected]>
HACK:
Put export PAGER=less in your xinit.

Or better look how the xinit of your distribution is set up. Or  
better exec your system-xinit-script at the last line of our own  
xinit. (use exec not the plain command)

startx inhertis the environment of your login shell.
xdm does nit. xdm sets up its own onvornment.

. $home/.profile or . /etc/profile
or
. $HOME/.bashrc
would probably help. The later is not really the right way because it  
is only meant to set the shell environment.


The esence of my answer is. Check what your distro does in xinit and  
do it the distro-way. ;)


PS: Debian uses the alternatives system. Check update-alternatives

Am 11.03.2007 um 03:01 schrieb Jurjen Middendorp:

> Hello, what is the difference between starting X with xdm and with  
> startx?  When
> i start X with the startx command, the pager which displays the  
> manuals works as
> it should, but when i start ion with xdm the pager (less) exits  
> after it gets to
> the last line, which is annoying if the page is smaller then 1  
> screen, because i
> can't read that fast.
>
> My .xsession and .xinit both end with these lines:
> /usr/X11R6/bin/ion3 &
> xmms &
> xterm -name main &
> exec /usr/X11R6/bin/xterm -name login
>
> I don't have any less-environment or config options on and couldn't  
> find anywhere
> if xdm changes some of those. So i don't understand why the pager  
> behaves differently
> after i start X with xdm.
>
> -greetings, jurjen
>
> note: with pager i mean the pager that gets opened with the  
> mod_query.query_man()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.