[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: setleds & setterm pour X



Laurent Dehoey wrote:

> man -k BlankTime ne marche pas pour moi.
> 
> Ce que je voulais c'est afficher les lignes autour de celles contenant
> "BlankTime" dans la man page de XF86Config.
> 
> La solution man2html marche mais bon...je voulais savoir s'il
> y en avait une plus "efficiente" que :
> lynx patate/cgi-bin/man2html
> s XF86Config
> /BlankTime

Pour afficher les lignes ``autour'' de celles contenant ce que tu
cherches, c'est `grep -NUM' ou `grep -B NUM -A NUM'.

$ man XF86Config | col -bx | grep -A 5 BlankTime
       BlankTime time
               sets the inactivity timeout for the blanking phase
               of the screensaver.  time is in minutes,  and  the
               default   is   10.   This  is  equivalent  to  the
               Xserver's `-s' flag, and the value can be  changed
               at run-time with xset(1).

-- 
Edouard G. Parmelan
http://egp.free.fr



Reply to: