[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
fr:howtos:general_admin:searching_and_reading_manpages_efficiently [2015/09/14 16:04 (UTC)] – [The Structure of the Manpages] traduction [fr] cedricfr:howtos:general_admin:searching_and_reading_manpages_efficiently [2015/09/14 17:36 (UTC)] – [Formatting a Manpage as a PDF-document] traduction [fr] cedric
Ligne 117: Ligne 117:
 Si l'on recherche des informations sur un sujet plutôt qu'une commande, la ligne "see also" est très intéressant. Si l'on recherche des informations sur un sujet plutôt qu'une commande, la ligne "see also" est très intéressant.
  
-===== Searching within a Manpage ===== +===== Rechercher à l'Intérieur d'une Manpage =====
-The reader for the manpages is the program ''less''. Its keybindings are +
-very similar to the vi editor.+
  
-  * <key>'/'</key> searches the document forward +Le lecteur pour les pages de manuel est le programme ''less''. Ses raccourcis clavier sont très similaire à l'éditeur vi.
-  * <key>'?'</key> searched the document backwards +
-  * <key>'n'</key> the cursor jumps to the next match.+
  
-The <key>Minus</key> key has no special meaning in the search patterns, so it is +  * <key>'/'</key> recherche vers le bas 
-possible to search (for example) for the -k option with ///-k//+  * <key>'?'</key> recherche vers le haut 
 +  * <key>'n'</key> recherche l'occurence suivante.
  
-===Example=== +Le caractère <key>Minus</key> n'a pas de signification particulière dans le champ de recherche, il est donc possible de rechercher (par exemple) l'option -k avec ///-k// 
-Searching for the //-h// option in the manpage for the ''ls'' command with + 
- //-h// gives us+===Exemple=== 
 +Rechercher l'option //-h// dans la manpage de la commande ''ls'' avec //-h// donne :
 <code> <code>
  -h, --human-readable   -h, --human-readable 
Ligne 136: Ligne 134:
 </code> </code>
  
-===== Navigation within a Manpage ===== +===== Parcourir le Contenu d'une Manpage ===== 
-Navigation commands are like those in vi: +Les commandes de déplacement sont similaire à celles de vi: 
-  * <key>'G'</key> end of the manpage +  * <key>'G'</key> aller à la fin de la manpage 
-  * <key>g</key>,<key>g</key> first line of the mapage +  * <key>g</key>,<key>g</key> aller à la première ligne de la manpage 
-  * //n//,<key>'G'</key> nth line of the manpage+  * //n//,<key>'G'</key> aller à la nième ligne de la manpage 
 + 
 +On peut aussi **définir des repères** à une ligne de la manpage 
 +  * //<key>m</key>,a// définit un repère dans la ligne active 
 +  * //<key>'</key>, a// saute au repère dans la manpage 
 + 
 +Malheureusement, ces repères sont perdus lorsque vous quittez la manpage (ce qui se fait avec <key>q</key>).
  
-One can also **set marks** at a line of the manpage +===== Formater une Manpage en un Document PDF =====
-  * //<key>m</key>,a// sets mark a in the current line +
-  * //<key>'</key>, a// jumps to mark a in the manpage +
-Unfortunately these marks are lost when you leave the manpage (which is +
-done with <key>q</key>).+
  
-===== Formatting a Manpage as a PDF-document ===== +Si vous voulez avoir un document PDF d'une manpage, vous pouvez utiliser la commande:
-If you want to have a manpage as a PDF document you can use the command:+
 <code>man -t ls | ps2pdf - > ls-manpage.pdf</code> <code>man -t ls | ps2pdf - > ls-manpage.pdf</code>
-which formats the manpage for the ''ls'' command into a pdf document +ceci qui formatera la manpage de la commande «ls '' dans un document pdf nommé "ls-manpage.pdf".
-named "ls-manpage.pdf".+
  
 ===== Further Reading ===== ===== Further Reading =====
 fr:howtos:general_admin:searching_and_reading_manpages_efficiently ()