Subversion Repositories svn LFS-FR

Rev

Rev 7687 | Rev 7689 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
7156 jlepiller 1
# SOME DESCRIPTIVE TITLE
2
# Copyright (C) YEAR Free Software Foundation, Inc.
3
# This file is distributed under the same license as the PACKAGE package.
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
7313 jlepiller 5
#
7156 jlepiller 6
msgid ""
7
msgstr ""
8
"Project-Id-Version: PACKAGE VERSION\n"
7688 jlepiller 9
"POT-Creation-Date: 2018-12-03 04:05+0000\n"
7280 jlepiller 10
"PO-Revision-Date: 2017-05-17 18:15+0000\n"
7156 jlepiller 11
"Last-Translator: roptat <roptat@lepiller.eu>\n"
12
"Language-Team: LANGUAGE <LL@li.org>\n"
7313 jlepiller 13
"Language: fr\n"
7156 jlepiller 14
"MIME-Version: 1.0\n"
15
"Content-Type: text/plain; charset=UTF-8\n"
16
"Content-Transfer-Encoding: 8bit\n"
17
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
7244 jlepiller 18
"X-Generator: Pootle 2.8\n"
7280 jlepiller 19
"X-POOTLE-MTIME: 1495044915.914868\n"
7156 jlepiller 20
 
21
#. type: Content of: <sect1><sect1info>
22
#: blfs-en/postlfs/config/profile.xml:12
7684 jlepiller 23
#| msgid ""
7688 jlepiller 24
#| "<othername>$LastChangedBy: dj $</othername> <date>$Date: 2018-12-02 02:50:58"
25
#| " +0000 (Sun, 02 Dec 2018) $</date>"
7156 jlepiller 26
msgid ""
7688 jlepiller 27
"<othername>$LastChangedBy: bdubbs $</othername> <date>$Date: 2018-12-02 "
28
"22:36:16 +0000 (Sun, 02 Dec 2018) $</date>"
7156 jlepiller 29
msgstr ""
7688 jlepiller 30
"<othername>$LastChangedBy: bdubbs $</othername> <date>$Date: 2018-12-02 "
31
"22:36:16 +0000 (Sun, 02 Dec 2018) $</date>"
7156 jlepiller 32
 
33
#. type: Content of: <sect1><title>
34
#: blfs-en/postlfs/config/profile.xml:16
35
msgid "The Bash Shell Startup Files"
36
msgstr "Les fichiers de démarrage du shell Bash"
37
 
38
#. type: Content of: <sect1><para>
39
#: blfs-en/postlfs/config/profile.xml:18
40
msgid ""
41
"The shell program <filename>/bin/bash</filename> (hereafter referred to as "
42
"just \"the shell\") uses a collection of startup files to help create an "
43
"environment.  Each file has a specific use and may affect login and "
7323 jlepiller 44
"interactive environments differently.  The files in the <filename "
45
"class=\"directory\">/etc</filename> directory generally provide global "
46
"settings. If an equivalent file exists in your home directory it may "
47
"override the global settings."
7156 jlepiller 48
msgstr ""
49
"Le programme de shell <filename>/bin/bash</filename> (auquel on se référera "
7267 jlepiller 50
"ci-après sous le nom de «&nbsp;shell&nbsp;» utilise un ensemble de fichiers "
51
"de démarrage pour aider à la création d'un environnement. Chaque fichier a "
7323 jlepiller 52
"une utilisation spécifique et il peut concerner différemment la connexion et"
53
" les environnements interactifs. Les fichiers du répertoire <filename "
54
"class=\"directory\">/etc</filename> fournissent en général les paramètres "
55
"globaux. Si un fichier équivalent existe dans votre répertoire home, il peut"
56
" remplacer les paramètres globaux."
7156 jlepiller 57
 
58
#. type: Content of: <sect1><para>
59
#: blfs-en/postlfs/config/profile.xml:26
60
msgid ""
61
"An interactive login shell is started after a successful login, using "
7323 jlepiller 62
"<filename>/bin/login</filename>, by reading the "
63
"<filename>/etc/passwd</filename> file. This shell invocation normally reads "
64
"<filename>/etc/profile</filename> and its private equivalent "
65
"<filename>~/.bash_profile</filename> (or <filename>~/.profile</filename> if "
66
"called as <command>/bin/sh</command>) upon startup."
7156 jlepiller 67
msgstr ""
68
"Un shell de connexion interactif démarre après une connexion réussie, en "
7323 jlepiller 69
"utilisant <filename>/bin/login</filename>, en lisant le fichier "
70
"<filename>/etc/passwd</filename>. Cet appel du shell lit normalement "
71
"<filename>/etc/profile</filename> et son équivalent privé "
72
"<filename>~/.bash_profile</filename> (ou <filename>~/.profile</filename> "
73
"s'il est appelé par <command>/bin/sh</command>) au démarrage."
7156 jlepiller 74
 
75
#. type: Content of: <sect1><para>
7244 jlepiller 76
#: blfs-en/postlfs/config/profile.xml:33
7156 jlepiller 77
msgid ""
7323 jlepiller 78
"An interactive non-login shell is normally started at the command-line using"
79
" a shell program (e.g., "
80
"<prompt>[prompt]$</prompt><command>/bin/bash</command>) or by the "
81
"<command>/bin/su</command> command.  An interactive non-login shell is also "
82
"started with a terminal program such as <command>xterm</command> or "
83
"<command>konsole</command> from within a graphical environment. This type of"
84
" shell invocation normally copies the parent environment and then reads the "
85
"user's <filename>~/.bashrc</filename> file for additional startup "
86
"configuration instructions."
7156 jlepiller 87
msgstr ""
88
"Un shell de non-connexion interactif démarre normalement en ligne de "
7323 jlepiller 89
"commande en utilisant un programme de shell (comme "
90
"<prompt>[prompt]$</prompt><command>/bin/bash</command>) ou par la commande "
91
"<command>/bin/su</command>. Un shell de non-connexion interactif démarre "
92
"également avec un programme de terminal tel que <command>xterm</command> ou "
93
"<command>konsole</command> depuis un environnement graphique. Ce type "
94
"d'appel de shell copie normalement l'environnement parent puis lit le "
95
"fichier <filename>~/.bashrc</filename> de l'utilisateur pour des "
96
"instructions de configuration de démarrage supplémentaires."
7156 jlepiller 97
 
98
#. type: Content of: <sect1><para>
7244 jlepiller 99
#: blfs-en/postlfs/config/profile.xml:43
7156 jlepiller 100
msgid ""
101
"A non-interactive shell is usually present when a shell script is running.  "
102
"It is non-interactive because it is processing a script and not waiting for "
103
"user input between commands. For these shell invocations, only the "
104
"environment inherited from the parent shell is used."
105
msgstr ""
106
"Un shell non interactif est présent en général lorsqu'un script shell "
107
"s'exécute. Il n'est pas interactif car il exécute un script et n'attend pas "
108
"d'entrée de l'utilisateur entre les commandes. Pour ces appels de shell, "
109
"seul l'environnement hérité du shell parent est utilisé."
110
 
111
#. type: Content of: <sect1><para>
7244 jlepiller 112
#: blfs-en/postlfs/config/profile.xml:48
7156 jlepiller 113
msgid ""
114
"The file <filename>~/.bash_logout</filename> is not used for an invocation "
7323 jlepiller 115
"of the shell.  It is read and executed when a user exits from an interactive"
116
" login shell."
7156 jlepiller 117
msgstr ""
118
"Le fichier <filename>~/.bash_logout</filename> n'est pas utilisé pour un "
119
"appel du shell. Il est lu et exécuté lorsqu'un utilisateur quitte un shell "
120
"de connexion interactif."
121
 
122
#. type: Content of: <sect1><para>
7244 jlepiller 123
#: blfs-en/postlfs/config/profile.xml:52
7156 jlepiller 124
msgid ""
125
"Many distributions use <filename>/etc/bashrc</filename> for system wide "
126
"initialization of non-login shells. This file is usually called from the "
127
"user's <filename>~/.bashrc</filename> file and is not built directly into "
7323 jlepiller 128
"<command>bash</command> itself.  This convention is followed in this "
129
"section."
7156 jlepiller 130
msgstr ""
131
"De nombreuses distributions utilisent <filename>/etc/bashrc</filename> pour "
7323 jlepiller 132
"l'initialisation pour tout le système de shells de non-connexion. Ce fichier"
133
" est en général appelé depuis le fichier <filename>~/.bashrc</filename> de "
134
"l'utilisateur et il n'est pas construit directement dans "
135
"<command>bash</command> lui-même. On suit cette convention dans cette "
136
"section."
7156 jlepiller 137
 
138
#. type: Content of: <sect1><para>
7244 jlepiller 139
#: blfs-en/postlfs/config/profile.xml:58
7156 jlepiller 140
msgid ""
7323 jlepiller 141
"For more information see <command>info bash</command> -- <emphasis "
142
"role=\"strong\">Nodes: Bash Startup Files and Interactive Shells</emphasis>."
7156 jlepiller 143
msgstr ""
144
"Pour plus d'informations, voir <command>info bash</command> -- <emphasis "
145
"role=\"strong\">Nodes: Bash Startup Files et Interactive Shells</emphasis>."
146
 
147
#. type: Content of: <sect1><note><para>
7244 jlepiller 148
#: blfs-en/postlfs/config/profile.xml:63
7156 jlepiller 149
msgid ""
150
"Most of the instructions below are used to create files located in the "
151
"<filename class='directory'>/etc</filename> directory structure which "
152
"requires you to execute the commands as the <systemitem "
7323 jlepiller 153
"class='username'>root</systemitem> user. If you elect to create the files in"
154
" user's home directories instead, you should run the commands as an "
7156 jlepiller 155
"unprivileged user."
156
msgstr ""
157
"La plupart des instructions ci-dessous sont utilisées pour créer des "
158
"fichiers qui se trouvent dans la structure de répertoires <filename "
159
"class='directory'>/etc</filename>, ce qui implique que vous exécutiez les "
7323 jlepiller 160
"commandes en tant qu'utilisateur <systemitem "
161
"class='username'>root</systemitem>. Si vous optez plutôt pour la création "
162
"des fichiers dans le répertoire home de l'utilisateur, vous devriez lancer "
163
"les commandes en tant qu'utilisateur non privilégié."
7156 jlepiller 164
 
7687 jlepiller 165
#. type: Content of: <sect1><para>
166
#: blfs-en/postlfs/config/profile.xml:71
167
msgid "User Notes: <ulink url=\"&blfs-wiki;/bash-shell-startup-files\"/>"
168
msgstr ""
169
"Notes utilisateur&nbsp;: <ulink url=\"&blfs-wiki;/bash-shell-startup-"
170
"files\"/>"
171
 
7156 jlepiller 172
#. type: Content of: <sect1><sect2><indexterm><primary>
7687 jlepiller 173
#: blfs-en/postlfs/config/profile.xml:75 blfs-en/postlfs/config/profile.xml:78
7156 jlepiller 174
msgid "/etc/profile"
175
msgstr "/etc/profile"
176
 
177
#. type: Content of: <sect1><sect2><para>
7687 jlepiller 178
#: blfs-en/postlfs/config/profile.xml:81
7156 jlepiller 179
msgid ""
180
"Here is a base <filename>/etc/profile</filename>. This file starts by "
181
"setting up some helper functions and some basic parameters.  It specifies "
182
"some <command>bash</command> history parameters and, for security purposes, "
7323 jlepiller 183
"disables keeping a permanent history file for the <systemitem "
184
"class=\"username\">root</systemitem> user.  It also sets a default user "
185
"prompt.  It then calls small, single purpose scripts in the <filename "
186
"class='directory'>/etc/profile.d</filename> directory to provide most of the"
187
" initialization."
7156 jlepiller 188
msgstr ""
189
"Voici un <filename>/etc/profile</filename> de base. Ce fichier démarre en "
190
"paramétrant des fonctions d'aide et quelques paramètres de base.  Il "
7323 jlepiller 191
"spécifie des paramètres d'historique de <command>bash</command> et, pour des"
192
" raisons de sécurité, il désactive la conservation d'un fichier d'historique"
193
" permanent pour l'utilisateur <systemitem "
194
"class=\"username\">root</systemitem>.  Il paramètre aussi une invite "
195
"utilisateur par défaut. Il appelle ensuite de petits scripts à finalité "
196
"unique dans le répertoire <filename "
197
"class='directory'>/etc/profile.d</filename> pour fournir la plupart de "
198
"l'initialisation."
7156 jlepiller 199
 
200
#. type: Content of: <sect1><sect2><para>
7687 jlepiller 201
#: blfs-en/postlfs/config/profile.xml:90
7156 jlepiller 202
msgid ""
7323 jlepiller 203
"For more information on the escape sequences you can use for your prompt "
204
"(i.e., the <envar>PS1</envar> environment variable) see <command>info "
205
"bash</command> -- <emphasis role=\"strong\">Node: Printing a "
206
"Prompt</emphasis>."
7156 jlepiller 207
msgstr ""
208
"Pour plus d'informations sur les séquences d'échappement que vous pouvez "
7323 jlepiller 209
"utiliser pour votre invite (à savoir la variable d'environnement "
210
"<envar>PS1</envar>) voir <command>info bash</command> -- <emphasis "
211
"role=\"strong\">Node: Printing a Prompt</emphasis>."
7156 jlepiller 212
 
213
#. type: Content of: <sect1><sect2><screen>
7687 jlepiller 214
#: blfs-en/postlfs/config/profile.xml:95
7156 jlepiller 215
#, no-wrap
216
msgid ""
217
"<userinput>cat &gt; /etc/profile &lt;&lt; \"EOF\"\n"
218
"<literal># Begin /etc/profile\n"
219
"# Written for Beyond Linux From Scratch\n"
220
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
221
"# modifications by Dagmar d'Surreal &lt;rivyqntzne@pbzpnfg.arg&gt;\n"
222
"\n"
223
"# System wide environment variables and startup programs.\n"
224
"\n"
225
"# System wide aliases and functions should go in /etc/bashrc.  Personal\n"
226
"# environment variables and startup programs should go into\n"
227
"# ~/.bash_profile.  Personal aliases and functions should go into\n"
228
"# ~/.bashrc.\n"
229
"\n"
230
"# Functions to help us manage paths.  Second argument is the name of the\n"
231
"# path variable to be modified (default: PATH)\n"
232
"pathremove () {\n"
233
"        local IFS=':'\n"
234
"        local NEWPATH\n"
235
"        local DIR\n"
236
"        local PATHVARIABLE=${2:-PATH}\n"
237
"        for DIR in ${!PATHVARIABLE} ; do\n"
238
"                if [ \"$DIR\" != \"$1\" ] ; then\n"
239
"                  NEWPATH=${NEWPATH:+$NEWPATH:}$DIR\n"
240
"                fi\n"
241
"        done\n"
242
"        export $PATHVARIABLE=\"$NEWPATH\"\n"
243
"}\n"
244
"\n"
245
"pathprepend () {\n"
246
"        pathremove $1 $2\n"
247
"        local PATHVARIABLE=${2:-PATH}\n"
248
"        export $PATHVARIABLE=\"$1${!PATHVARIABLE:+:${!PATHVARIABLE}}\"\n"
249
"}\n"
250
"\n"
251
"pathappend () {\n"
252
"        pathremove $1 $2\n"
253
"        local PATHVARIABLE=${2:-PATH}\n"
254
"        export $PATHVARIABLE=\"${!PATHVARIABLE:+${!PATHVARIABLE}:}$1\"\n"
255
"}\n"
256
"\n"
257
"export -f pathremove pathprepend pathappend\n"
258
"\n"
259
"# Set the initial path\n"
260
"export PATH=/bin:/usr/bin\n"
261
"\n"
262
"if [ $EUID -eq 0 ] ; then\n"
263
"        pathappend /sbin:/usr/sbin\n"
264
"        unset HISTFILE\n"
265
"fi\n"
266
"\n"
267
"# Setup some environment variables.\n"
268
"export HISTSIZE=1000\n"
269
"export HISTIGNORE=\"&amp;:[bf]g:exit\"\n"
270
"\n"
271
"# Set some defaults for graphical systems\n"
7315 jlepiller 272
"export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}\n"
273
"export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}\n"
274
"export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}\n"
7156 jlepiller 275
"\n"
276
"# Setup a red prompt for root and a green one for users.\n"
277
"NORMAL=\"\\[\\e[0m\\]\"\n"
278
"RED=\"\\[\\e[1;31m\\]\"\n"
279
"GREEN=\"\\[\\e[1;32m\\]\"\n"
280
"if [[ $EUID == 0 ]] ; then\n"
281
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
282
"else\n"
283
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
284
"fi\n"
285
"\n"
286
"for script in /etc/profile.d/*.sh ; do\n"
287
"        if [ -r $script ] ; then\n"
288
"                . $script\n"
289
"        fi\n"
290
"done\n"
291
"\n"
292
"unset script RED GREEN NORMAL\n"
293
"\n"
294
"# End /etc/profile</literal>\n"
295
"EOF</userinput>"
296
msgstr ""
297
"<userinput>cat &gt; /etc/profile &lt;&lt; \"EOF\"\n"
298
"<literal># Begin /etc/profile\n"
299
"# Written for Beyond Linux From Scratch\n"
300
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
301
"# modifications by Dagmar d'Surreal &lt;rivyqntzne@pbzpnfg.arg&gt;\n"
302
"\n"
303
"# System wide environment variables and startup programs.\n"
304
"\n"
305
"# System wide aliases and functions should go in /etc/bashrc.  Personal\n"
306
"# environment variables and startup programs should go into\n"
307
"# ~/.bash_profile.  Personal aliases and functions should go into\n"
308
"# ~/.bashrc.\n"
309
"\n"
310
"# Functions to help us manage paths.  Second argument is the name of the\n"
311
"# path variable to be modified (default: PATH)\n"
312
"pathremove () {\n"
313
"        local IFS=':'\n"
314
"        local NEWPATH\n"
315
"        local DIR\n"
316
"        local PATHVARIABLE=${2:-PATH}\n"
317
"        for DIR in ${!PATHVARIABLE} ; do\n"
318
"                if [ \"$DIR\" != \"$1\" ] ; then\n"
319
"                  NEWPATH=${NEWPATH:+$NEWPATH:}$DIR\n"
320
"                fi\n"
321
"        done\n"
322
"        export $PATHVARIABLE=\"$NEWPATH\"\n"
323
"}\n"
324
"\n"
325
"pathprepend () {\n"
326
"        pathremove $1 $2\n"
327
"        local PATHVARIABLE=${2:-PATH}\n"
328
"        export $PATHVARIABLE=\"$1${!PATHVARIABLE:+:${!PATHVARIABLE}}\"\n"
329
"}\n"
330
"\n"
331
"pathappend () {\n"
332
"        pathremove $1 $2\n"
333
"        local PATHVARIABLE=${2:-PATH}\n"
334
"        export $PATHVARIABLE=\"${!PATHVARIABLE:+${!PATHVARIABLE}:}$1\"\n"
335
"}\n"
336
"\n"
337
"export -f pathremove pathprepend pathappend\n"
338
"\n"
339
"# Set the initial path\n"
340
"export PATH=/bin:/usr/bin\n"
341
"\n"
342
"if [ $EUID -eq 0 ] ; then\n"
343
"        pathappend /sbin:/usr/sbin\n"
344
"        unset HISTFILE\n"
345
"fi\n"
346
"\n"
347
"# Setup some environment variables.\n"
348
"export HISTSIZE=1000\n"
349
"export HISTIGNORE=\"&amp;:[bf]g:exit\"\n"
350
"\n"
351
"# Set some defaults for graphical systems\n"
7315 jlepiller 352
"export XDG_DATA_DIRS=${XDG_DATA_DIRS:-/usr/share/}\n"
353
"export XDG_CONFIG_DIRS=${XDG_CONFIG_DIRS:-/etc/xdg/}\n"
354
"export XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-/tmp/xdg-$USER}\n"
7156 jlepiller 355
"\n"
356
"# Setup a red prompt for root and a green one for users.\n"
357
"NORMAL=\"\\[\\e[0m\\]\"\n"
358
"RED=\"\\[\\e[1;31m\\]\"\n"
359
"GREEN=\"\\[\\e[1;32m\\]\"\n"
360
"if [[ $EUID == 0 ]] ; then\n"
361
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
362
"else\n"
363
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
364
"fi\n"
365
"\n"
366
"for script in /etc/profile.d/*.sh ; do\n"
367
"        if [ -r $script ] ; then\n"
368
"                . $script\n"
369
"        fi\n"
370
"done\n"
371
"\n"
372
"unset script RED GREEN NORMAL\n"
373
"\n"
374
"# End /etc/profile</literal>\n"
375
"EOF</userinput>"
376
 
377
#. type: Content of: <sect1><sect2><sect3><title>
7687 jlepiller 378
#: blfs-en/postlfs/config/profile.xml:176
7156 jlepiller 379
msgid "The /etc/profile.d Directory"
380
msgstr "Le répertoire /etc/profile.d"
381
 
382
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7687 jlepiller 383
#: blfs-en/postlfs/config/profile.xml:179
7156 jlepiller 384
msgid "/etc/profile.d"
385
msgstr "/etc/profile.d"
386
 
387
#. type: Content of: <sect1><sect2><sect3><para>
7687 jlepiller 388
#: blfs-en/postlfs/config/profile.xml:182
7156 jlepiller 389
msgid ""
390
"Now create the <filename class='directory'>/etc/profile.d</filename> "
391
"directory, where the individual initialization scripts are placed:"
392
msgstr ""
7323 jlepiller 393
"Maintenant créez le répertoire <filename "
394
"class='directory'>/etc/profile.d</filename>, où sont mis les scripts "
395
"d'initialisation individuels&nbsp;:"
7156 jlepiller 396
 
397
#. type: Content of: <sect1><sect2><sect3><screen>
7687 jlepiller 398
#: blfs-en/postlfs/config/profile.xml:185
7156 jlepiller 399
#, no-wrap
7323 jlepiller 400
msgid ""
401
"<userinput>install --directory --mode=0755 --owner=root --group=root "
402
"/etc/profile.d</userinput>"
403
msgstr ""
404
"<userinput>install --directory --mode=0755 --owner=root --group=root "
405
"/etc/profile.d</userinput>"
7156 jlepiller 406
 
407
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7296 jlepiller 408
#: blfs-en/postlfs/config/profile.xml:190
7687 jlepiller 409
#: blfs-en/postlfs/config/profile.xml:193
7280 jlepiller 410
msgid "/etc/profile.d/bash_completion.sh"
411
msgstr "/etc/profile.d/bash_completion.sh"
412
 
7688 jlepiller 413
#. type: Content of: <sect1><sect2><sect3><note><para>
7687 jlepiller 414
#: blfs-en/postlfs/config/profile.xml:196
7280 jlepiller 415
msgid ""
7688 jlepiller 416
"Using the bash completion script below is controversial.  Not all users like"
417
" it.  It adds many (usually over 1000) lines to the bash environment and "
418
"makes it difficult to use the 'set' command to examine simple environment "
419
"variables.  Omitting this script does not interfere with the ability of bash"
420
" to use the tab key for file name completion."
421
msgstr ""
422
 
423
#. type: Content of: <sect1><sect2><sect3><para>
424
#: blfs-en/postlfs/config/profile.xml:203
425
msgid ""
7280 jlepiller 426
"This script imports bash completion scripts, installed by many other BLFS "
427
"packages, to allow TAB command line completion."
428
msgstr ""
429
"Ce script importe les scripts de complétion bash, installé par beaucoup "
430
"d'autres paquets BLFS pour permettre la complétion de la ligne de commande "
431
"avec TAB."
432
 
433
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 434
#: blfs-en/postlfs/config/profile.xml:206
7280 jlepiller 435
#, no-wrap
436
msgid ""
437
"<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
438
"<literal># Begin /etc/profile.d/bash_completion.sh\n"
439
"# Import bash completion scripts\n"
440
"\n"
7687 jlepiller 441
"# If the bash-completion package is installed, use its configuration instead\n"
442
"if [ -f /usr/share/bash-completion/bash_completion ]; then\n"
443
"\n"
444
"  # Check for interactive bash and that we haven't already been sourced.\n"
445
"  if [ -n \"${BASH_VERSION-}\" -a -n \"${PS1-}\" -a -z \"${BASH_COMPLETION_VERSINFO-}\" ]; then\n"
446
"\n"
447
"    # Check for recent enough version of bash.\n"
448
"    if [ ${BASH_VERSINFO[0]} -gt 4 ] || \\\n"
449
"       [ ${BASH_VERSINFO[0]} -eq 4 -a ${BASH_VERSINFO[1]} -ge 1 ]; then\n"
450
"       [ -r \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\" ] &amp;&amp; \\\n"
451
"            . \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\"\n"
452
"       if shopt -q progcomp &amp;&amp; [ -r /usr/share/bash-completion/bash_completion ]; then\n"
453
"          # Source completion code.\n"
454
"          . /usr/share/bash-completion/bash_completion\n"
455
"       fi\n"
456
"    fi\n"
457
"  fi\n"
458
"\n"
459
"else\n"
460
"\n"
461
"  # bash-completions are not installed, use only bash completion directory\n"
462
"  if shopt -q progcomp; then\n"
463
"    for script in /etc/bash_completion.d/* ; do\n"
464
"      if [ -r $script ] ; then\n"
465
"        . $script\n"
466
"      fi\n"
467
"    done\n"
468
"  fi\n"
469
"fi\n"
470
"\n"
7280 jlepiller 471
"# End /etc/profile.d/bash_completion.sh</literal>\n"
472
"EOF</userinput>"
473
msgstr ""
474
"<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
475
"<literal># Begin /etc/profile.d/bash_completion.sh\n"
476
"# Import bash completion scripts\n"
477
"\n"
7687 jlepiller 478
"# If the bash-completion package is installed, use its configuration instead\n"
479
"if [ -f /usr/share/bash-completion/bash_completion ]; then\n"
480
"\n"
481
"  # Check for interactive bash and that we haven't already been sourced.\n"
482
"  if [ -n \"${BASH_VERSION-}\" -a -n \"${PS1-}\" -a -z \"${BASH_COMPLETION_VERSINFO-}\" ]; then\n"
483
"\n"
484
"    # Check for recent enough version of bash.\n"
485
"    if [ ${BASH_VERSINFO[0]} -gt 4 ] || \\\n"
486
"       [ ${BASH_VERSINFO[0]} -eq 4 -a ${BASH_VERSINFO[1]} -ge 1 ]; then\n"
487
"       [ -r \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\" ] &amp;&amp; \\\n"
488
"            . \"${XDG_CONFIG_HOME:-$HOME/.config}/bash_completion\"\n"
489
"       if shopt -q progcomp &amp;&amp; [ -r /usr/share/bash-completion/bash_completion ]; then\n"
490
"          # Source completion code.\n"
491
"          . /usr/share/bash-completion/bash_completion\n"
492
"       fi\n"
493
"    fi\n"
494
"  fi\n"
495
"\n"
496
"else\n"
497
"\n"
498
"  # bash-completions are not installed, use only bash completion directory\n"
499
"  if shopt -q progcomp; then\n"
500
"    for script in /etc/bash_completion.d/* ; do\n"
501
"      if [ -r $script ] ; then\n"
502
"        . $script\n"
503
"      fi\n"
504
"    done\n"
505
"  fi\n"
506
"fi\n"
507
"\n"
7280 jlepiller 508
"# End /etc/profile.d/bash_completion.sh</literal>\n"
509
"EOF</userinput>"
510
 
511
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 512
#: blfs-en/postlfs/config/profile.xml:242
7280 jlepiller 513
msgid "Make sure that the directory exists:"
514
msgstr "Assurez-vous que le répertoire existe&nbsp;:"
515
 
516
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 517
#: blfs-en/postlfs/config/profile.xml:244
7280 jlepiller 518
#, no-wrap
7323 jlepiller 519
msgid ""
520
"<userinput>install --directory --mode=0755 --owner=root --group=root "
521
"/etc/bash_completion.d</userinput>"
522
msgstr ""
523
"<userinput>install --directory --mode=0755 --owner=root --group=root "
524
"/etc/bash_completion.d</userinput>"
7280 jlepiller 525
 
7687 jlepiller 526
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 527
#: blfs-en/postlfs/config/profile.xml:246
7687 jlepiller 528
msgid ""
529
"For a more complete installation, see <ulink url=\"&blfs-wiki;/bash-shell-"
530
"startup-files#bash-completions\"/>."
531
msgstr ""
532
 
7280 jlepiller 533
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 534
#: blfs-en/postlfs/config/profile.xml:252
535
#: blfs-en/postlfs/config/profile.xml:255
7156 jlepiller 536
msgid "/etc/profile.d/dircolors.sh"
537
msgstr "/etc/profile.d/dircolors.sh"
538
 
539
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 540
#: blfs-en/postlfs/config/profile.xml:258
7156 jlepiller 541
msgid ""
7323 jlepiller 542
"This script uses the <filename>~/.dircolors</filename> and "
543
"<filename>/etc/dircolors</filename> files to control the colors of file "
544
"names in a directory listing. They control colorized output of things like "
545
"<command>ls --color</command>.  The explanation of how to initialize these "
546
"files is at the end of this section."
7156 jlepiller 547
msgstr ""
548
"Ce script utilise les fichiers <filename>~/.dircolors</filename> et "
549
"<filename>/etc/dircolors</filename> pour contrôler les couleurs des noms de "
550
"fichiers dans la liste du contenu d'un répertoire. Ils contrôlent la sortie "
551
"en couleurs de commandes telles que <command>ls --color</command>.  "
7323 jlepiller 552
"L'explication de la façon d'initialiser ces fichiers se trouvent à la fin de"
553
" cette section."
7156 jlepiller 554
 
555
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 556
#: blfs-en/postlfs/config/profile.xml:264
7156 jlepiller 557
#, no-wrap
558
msgid ""
559
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
560
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
561
"if [ -f \"/etc/dircolors\" ] ; then\n"
562
"        eval $(dircolors -b /etc/dircolors)\n"
563
"fi\n"
564
"\n"
565
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
566
"        eval $(dircolors -b $HOME/.dircolors)\n"
567
"fi\n"
568
"\n"
569
"alias ls='ls --color=auto'\n"
570
"alias grep='grep --color=auto'</literal>\n"
571
"EOF</userinput>"
572
msgstr ""
573
"<userinput>cat &gt; /etc/profile.d/dircolors.sh &lt;&lt; \"EOF\"\n"
574
"<literal># Setup for /bin/ls and /bin/grep to support color, the alias is in /etc/bashrc.\n"
575
"if [ -f \"/etc/dircolors\" ] ; then\n"
576
"        eval $(dircolors -b /etc/dircolors)\n"
577
"fi\n"
578
"\n"
579
"if [ -f \"$HOME/.dircolors\" ] ; then\n"
580
"        eval $(dircolors -b $HOME/.dircolors)\n"
581
"fi\n"
582
"\n"
583
"alias ls='ls --color=auto'\n"
584
"alias grep='grep --color=auto'</literal>\n"
585
"EOF</userinput>"
586
 
587
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 588
#: blfs-en/postlfs/config/profile.xml:281
589
#: blfs-en/postlfs/config/profile.xml:284
7156 jlepiller 590
msgid "/etc/profile.d/extrapaths.sh"
591
msgstr "/etc/profile.d/extrapaths.sh"
592
 
593
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 594
#: blfs-en/postlfs/config/profile.xml:287
7156 jlepiller 595
msgid ""
596
"This script adds some useful paths to the <envar>PATH</envar> and can be "
597
"used to customize other PATH related environment variables (e.g. "
598
"LD_LIBRARY_PATH, etc) that may be needed for all users."
599
msgstr ""
600
"Ce script ajoute plusieurs chemins utiles aux variables d'environnement "
601
"<envar>PATH</envar> et peut être utilisé pour personnaliser les autres "
602
"variables d'environnement relatives à PATH (par exemple LD_LIBRARY_PATH, "
603
"etc) qui peuvent être utiles pour tous les utilisateurs."
604
 
605
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 606
#: blfs-en/postlfs/config/profile.xml:291
7156 jlepiller 607
#, no-wrap
608
msgid ""
609
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
610
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
611
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
612
"fi\n"
613
"if [ -d /usr/local/bin ]; then\n"
614
"        pathprepend /usr/local/bin\n"
615
"fi\n"
616
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
617
"        pathprepend /usr/local/sbin\n"
618
"fi\n"
619
"\n"
620
"# Set some defaults before other applications add to these paths.\n"
621
"pathappend /usr/share/man  MANPATH\n"
622
"pathappend /usr/share/info INFOPATH</literal>\n"
623
"EOF</userinput>"
624
msgstr ""
625
"<userinput>cat &gt; /etc/profile.d/extrapaths.sh &lt;&lt; \"EOF\"\n"
626
"<literal>if [ -d /usr/local/lib/pkgconfig ] ; then\n"
627
"        pathappend /usr/local/lib/pkgconfig PKG_CONFIG_PATH\n"
628
"fi\n"
629
"if [ -d /usr/local/bin ]; then\n"
630
"        pathprepend /usr/local/bin\n"
631
"fi\n"
632
"if [ -d /usr/local/sbin -a $EUID -eq 0 ]; then\n"
633
"        pathprepend /usr/local/sbin\n"
634
"fi\n"
635
"\n"
636
"# Set some defaults before other applications add to these paths.\n"
637
"pathappend /usr/share/man  MANPATH\n"
638
"pathappend /usr/share/info INFOPATH</literal>\n"
639
"EOF</userinput>"
640
 
641
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 642
#: blfs-en/postlfs/config/profile.xml:310
643
#: blfs-en/postlfs/config/profile.xml:313
7156 jlepiller 644
msgid "/etc/profile.d/readline.sh"
645
msgstr "/etc/profile.d/readline.sh"
646
 
647
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 648
#: blfs-en/postlfs/config/profile.xml:316
7156 jlepiller 649
msgid ""
650
"This script sets up the default <filename>inputrc</filename> configuration "
7323 jlepiller 651
"file. If the user does not have individual settings, it uses the global "
652
"file."
7156 jlepiller 653
msgstr ""
7323 jlepiller 654
"Ce script règle le fichier de configuration <filename>inputrc</filename> par"
655
" défaut. Si l'utilisateur n'a pas de paramètres individuels, il utilise le "
7156 jlepiller 656
"fichier global."
657
 
658
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 659
#: blfs-en/postlfs/config/profile.xml:320
7156 jlepiller 660
#, no-wrap
661
msgid ""
662
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
663
"<literal># Setup the INPUTRC environment variable.\n"
664
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
665
"        INPUTRC=/etc/inputrc\n"
666
"fi\n"
667
"export INPUTRC</literal>\n"
668
"EOF</userinput>"
669
msgstr ""
670
"<userinput>cat &gt; /etc/profile.d/readline.sh &lt;&lt; \"EOF\"\n"
671
"<literal># Setup the INPUTRC environment variable.\n"
672
"if [ -z \"$INPUTRC\" -a ! -f \"$HOME/.inputrc\" ] ; then\n"
673
"        INPUTRC=/etc/inputrc\n"
674
"fi\n"
675
"export INPUTRC</literal>\n"
676
"EOF</userinput>"
677
 
678
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 679
#: blfs-en/postlfs/config/profile.xml:331
680
#: blfs-en/postlfs/config/profile.xml:334
7156 jlepiller 681
msgid "/etc/profile.d/umask.sh"
682
msgstr "/etc/profile.d/umask.sh"
683
 
684
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 685
#: blfs-en/postlfs/config/profile.xml:337
7156 jlepiller 686
msgid ""
687
"Setting the <command>umask</command> value is important for security.  Here "
7323 jlepiller 688
"the default group write permissions are turned off for system users and when"
689
" the user name and group name are not the same."
7156 jlepiller 690
msgstr ""
691
"Le paramétrage de la valeur <command>umask</command> est important pour la "
692
"sécurité. Ici, les droits d'écriture par défaut du groupe sont désactivés "
693
"pour les utilisateurs systèmes et quand le nom d'utilisateur et le nom du "
694
"groupe ne sont pas les mêmes."
695
 
696
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 697
#: blfs-en/postlfs/config/profile.xml:341
7156 jlepiller 698
#, no-wrap
699
msgid ""
700
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
701
"<literal># By default, the umask should be set.\n"
702
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
703
"  umask 002\n"
704
"else\n"
705
"  umask 022\n"
706
"fi</literal>\n"
707
"EOF</userinput>"
708
msgstr ""
709
"<userinput>cat &gt; /etc/profile.d/umask.sh &lt;&lt; \"EOF\"\n"
710
"<literal># By default, the umask should be set.\n"
711
"if [ \"$(id -gn)\" = \"$(id -un)\" -a $EUID -gt 99 ] ; then\n"
712
"  umask 002\n"
713
"else\n"
714
"  umask 022\n"
715
"fi</literal>\n"
716
"EOF</userinput>"
717
 
718
#. type: Content of: <sect1><sect2><sect3><indexterm><primary>
7688 jlepiller 719
#: blfs-en/postlfs/config/profile.xml:378
720
#: blfs-en/postlfs/config/profile.xml:381
7156 jlepiller 721
msgid "/etc/profile.d/i18n.sh"
722
msgstr "/etc/profile.d/i18n.sh"
723
 
724
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 725
#: blfs-en/postlfs/config/profile.xml:384
7156 jlepiller 726
msgid ""
727
"This script sets an environment variable necessary for native language "
728
"support. A full discussion on determining this variable can be found on the "
729
"<ulink url=\"&lfs-root;/chapter07/profile.html\">LFS Bash Shell Startup "
730
"Files</ulink> page."
731
msgstr ""
732
"Ce script règle une variable d'environnement nécessaire au support des "
733
"langues natives. Vous pouvez trouver un point complet sur la détermination "
7323 jlepiller 734
"de cette variable sur la page <ulink url=\"&lfs-"
735
"root;/chapter07/profile.html\">Fichiers de démarrage du shell bash de "
736
"LFS</ulink>."
7156 jlepiller 737
 
738
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 739
#: blfs-en/postlfs/config/profile.xml:390
7156 jlepiller 740
#, no-wrap
741
msgid ""
742
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
743
"<literal># Set up i18n variables\n"
744
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
745
"EOF</userinput>"
746
msgstr ""
747
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
748
"<literal># Set up i18n variables\n"
749
"export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable></literal>\n"
750
"EOF</userinput>"
751
 
7684 jlepiller 752
#. type: Content of: <sect1><sect2><sect3><screen>
7688 jlepiller 753
#: blfs-en/postlfs/config/profile.xml:395
7684 jlepiller 754
#, no-wrap
755
msgid ""
756
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
757
"<literal># Set up i18n variables\n"
758
". /etc/locale.conf\n"
759
"export LANG</literal>\n"
760
"EOF</userinput>"
761
msgstr ""
762
"<userinput>cat &gt; /etc/profile.d/i18n.sh &lt;&lt; \"EOF\"\n"
763
"<literal># Set up i18n variables\n"
764
". /etc/locale.conf\n"
765
"export LANG</literal>\n"
766
"EOF</userinput>"
767
 
7156 jlepiller 768
#. type: Content of: <sect1><sect2><sect3><title>
7688 jlepiller 769
#: blfs-en/postlfs/config/profile.xml:404
7156 jlepiller 770
msgid "Other Initialization Values"
771
msgstr "Autres valeurs d'Initialisation"
772
 
773
#. type: Content of: <sect1><sect2><sect3><para>
7688 jlepiller 774
#: blfs-en/postlfs/config/profile.xml:406
7156 jlepiller 775
msgid ""
7323 jlepiller 776
"Other initialization can easily be added to the <filename>profile</filename>"
777
" by adding additional scripts to the <filename "
778
"class='directory'>/etc/profile.d</filename> directory."
7156 jlepiller 779
msgstr ""
780
"On peut facilement ajouter d'autres réglages à <filename>profile</filename> "
781
"en ajoutant des scripts supplémentaires au répertoire <filename "
782
"class='directory'>/etc/profile.d</filename>."
783
 
784
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 785
#: blfs-en/postlfs/config/profile.xml:415
786
#: blfs-en/postlfs/config/profile.xml:418
7156 jlepiller 787
msgid "/etc/bashrc"
788
msgstr "/etc/bashrc"
789
 
790
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 791
#: blfs-en/postlfs/config/profile.xml:421
7156 jlepiller 792
msgid ""
793
"Here is a base <filename>/etc/bashrc</filename>.  Comments in the file "
794
"should explain everything you need."
795
msgstr ""
796
"Voici un <filename>/etc/bashrc</filename> de base. Les commentaires dans ce "
797
"fichier devraient vous expliquer tout ce dont vous avez besoin."
798
 
799
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 800
#: blfs-en/postlfs/config/profile.xml:424
7156 jlepiller 801
#, no-wrap
802
msgid ""
803
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
804
"<literal># Begin /etc/bashrc\n"
805
"# Written for Beyond Linux From Scratch\n"
806
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
807
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
808
"\n"
809
"# System wide aliases and functions.\n"
810
"\n"
811
"# System wide environment variables and startup programs should go into\n"
812
"# /etc/profile.  Personal environment variables and startup programs\n"
813
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
814
"# go into ~/.bashrc\n"
815
"\n"
816
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
817
"# with code in /etc/profile.\n"
818
"\n"
819
"alias ls='ls --color=auto'\n"
820
"alias grep='grep --color=auto'\n"
821
"\n"
822
"# Provides prompt for non-login shells, specifically shells started\n"
823
"# in the X environment. [Review the LFS archive thread titled\n"
824
"# PS1 Environment Variable for a great case study behind this script\n"
825
"# addendum.]\n"
826
"\n"
827
"NORMAL=\"\\[\\e[0m\\]\"\n"
828
"RED=\"\\[\\e[1;31m\\]\"\n"
829
"GREEN=\"\\[\\e[1;32m\\]\"\n"
830
"if [[ $EUID == 0 ]] ; then\n"
831
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
832
"else\n"
833
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
834
"fi\n"
835
"\n"
836
"unset RED GREEN NORMAL\n"
837
"\n"
838
"# End /etc/bashrc</literal>\n"
839
"EOF</userinput>"
840
msgstr ""
841
"<userinput>cat &gt; /etc/bashrc &lt;&lt; \"EOF\"\n"
842
"<literal># Begin /etc/bashrc\n"
843
"# Written for Beyond Linux From Scratch\n"
844
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
845
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
846
"\n"
847
"# System wide aliases and functions.\n"
848
"\n"
849
"# System wide environment variables and startup programs should go into\n"
850
"# /etc/profile.  Personal environment variables and startup programs\n"
851
"# should go into ~/.bash_profile.  Personal aliases and functions should\n"
852
"# go into ~/.bashrc\n"
853
"\n"
854
"# Provides colored /bin/ls and /bin/grep commands.  Used in conjunction\n"
855
"# with code in /etc/profile.\n"
856
"\n"
857
"alias ls='ls --color=auto'\n"
858
"alias grep='grep --color=auto'\n"
859
"\n"
860
"# Provides prompt for non-login shells, specifically shells started\n"
861
"# in the X environment. [Review the LFS archive thread titled\n"
862
"# PS1 Environment Variable for a great case study behind this script\n"
863
"# addendum.]\n"
864
"\n"
865
"NORMAL=\"\\[\\e[0m\\]\"\n"
866
"RED=\"\\[\\e[1;31m\\]\"\n"
867
"GREEN=\"\\[\\e[1;32m\\]\"\n"
868
"if [[ $EUID == 0 ]] ; then\n"
869
"  PS1=\"$RED\\u [ $NORMAL\\w$RED ]# $NORMAL\"\n"
870
"else\n"
871
"  PS1=\"$GREEN\\u [ $NORMAL\\w$GREEN ]\\$ $NORMAL\"\n"
872
"fi\n"
873
"\n"
874
"unset RED GREEN NORMAL\n"
875
"\n"
876
"# End /etc/bashrc</literal>\n"
877
"EOF</userinput>"
878
 
879
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 880
#: blfs-en/postlfs/config/profile.xml:465
881
#: blfs-en/postlfs/config/profile.xml:468
7156 jlepiller 882
msgid "~/.bash_profile"
883
msgstr "~/.bash_profile"
884
 
885
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 886
#: blfs-en/postlfs/config/profile.xml:471
7156 jlepiller 887
msgid ""
888
"Here is a base <filename>~/.bash_profile</filename>.  If you want each new "
889
"user to have this file automatically, just change the output of the command "
890
"to <filename>/etc/skel/.bash_profile</filename> and check the permissions "
7323 jlepiller 891
"after the command is run. You can then copy "
892
"<filename>/etc/skel/.bash_profile</filename> to the home directories of "
893
"already existing users, including <systemitem "
894
"class=\"username\">root</systemitem>, and set the owner and group "
895
"appropriately."
7156 jlepiller 896
msgstr ""
897
"Voici un <filename>~/.bash_profile</filename> de base. Si vous voulez que "
7323 jlepiller 898
"chaque nouvel utilisateur ait automatiquement ce fichier, renvoyez seulement"
899
" la sortie de la commande vers <filename>/etc/skel/.bash_profile</filename> "
7156 jlepiller 900
"et vérifiez les droits après l'exécution de la commande. Vous pouvez alors "
901
"copier <filename>/etc/skel/.bash_profile</filename> dans les répertoires "
7323 jlepiller 902
"home des utilisateurs existants, y compris celui de <systemitem "
903
"class=\"username\">root</systemitem>, et réglez comme il faut le "
904
"propriétaire et le groupe d'appartenance."
7156 jlepiller 905
 
906
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 907
#: blfs-en/postlfs/config/profile.xml:479
7156 jlepiller 908
#, no-wrap
909
msgid ""
910
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
911
"<literal># Begin ~/.bash_profile\n"
912
"# Written for Beyond Linux From Scratch\n"
913
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
914
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
915
"\n"
916
"# Personal environment variables and startup programs.\n"
917
"\n"
918
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
919
"# environment variables and startup programs are in /etc/profile.\n"
920
"# System wide aliases and functions are in /etc/bashrc.\n"
921
"\n"
922
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
923
"  source $HOME/.bashrc\n"
924
"fi\n"
925
"\n"
926
"if [ -d \"$HOME/bin\" ] ; then\n"
927
"  pathprepend $HOME/bin\n"
928
"fi\n"
929
"\n"
930
"# Having . in the PATH is dangerous\n"
931
"#if [ $EUID -gt 99 ]; then\n"
932
"#  pathappend .\n"
933
"#fi\n"
934
"\n"
935
"# End ~/.bash_profile</literal>\n"
936
"EOF</userinput>"
937
msgstr ""
938
"<userinput>cat &gt; ~/.bash_profile &lt;&lt; \"EOF\"\n"
939
"<literal># Begin ~/.bash_profile\n"
940
"# Written for Beyond Linux From Scratch\n"
941
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
942
"# updated by Bruce Dubbs &lt;bdubbs@&lfs-domainname;&gt;\n"
943
"\n"
944
"# Personal environment variables and startup programs.\n"
945
"\n"
946
"# Personal aliases and functions should go in ~/.bashrc.  System wide\n"
947
"# environment variables and startup programs are in /etc/profile.\n"
948
"# System wide aliases and functions are in /etc/bashrc.\n"
949
"\n"
950
"if [ -f \"$HOME/.bashrc\" ] ; then\n"
951
"  source $HOME/.bashrc\n"
952
"fi\n"
953
"\n"
954
"if [ -d \"$HOME/bin\" ] ; then\n"
955
"  pathprepend $HOME/bin\n"
956
"fi\n"
957
"\n"
958
"# Having . in the PATH is dangerous\n"
959
"#if [ $EUID -gt 99 ]; then\n"
960
"#  pathappend .\n"
961
"#fi\n"
962
"\n"
963
"# End ~/.bash_profile</literal>\n"
964
"EOF</userinput>"
965
 
966
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 967
#: blfs-en/postlfs/config/profile.xml:510
968
#: blfs-en/postlfs/config/profile.xml:513
7244 jlepiller 969
msgid "~/.profile"
970
msgstr "~/.profile"
7156 jlepiller 971
 
972
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 973
#: blfs-en/postlfs/config/profile.xml:516
7156 jlepiller 974
msgid ""
7244 jlepiller 975
"Here is a base <filename>~/.profile</filename>. The comments and "
7156 jlepiller 976
"instructions for using <filename class=\"directory\">/etc/skel</filename> "
977
"for <filename>.bash_profile</filename> above also apply here. Only the "
978
"target file names are different."
979
msgstr ""
7244 jlepiller 980
"Voici un <filename>~/.profile</filename> de base. Les commentaires et les "
7323 jlepiller 981
"instructions d'utilisation de <filename "
982
"class=\"directory\">/etc/skel</filename> pour "
983
"<filename>.bash_profile</filename> ci-dessus s'appliquent aussi ici. Seuls "
984
"les noms de fichiers cibles sont différents."
7156 jlepiller 985
 
986
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 987
#: blfs-en/postlfs/config/profile.xml:521
7156 jlepiller 988
#, no-wrap
989
msgid ""
7244 jlepiller 990
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
991
"<literal># Begin ~/.profile\n"
992
"# Personal environment variables and startup programs.\n"
993
"\n"
994
"if [ -d \"$HOME/bin\" ] ; then\n"
995
"  pathprepend $HOME/bin\n"
996
"fi\n"
997
"\n"
7296 jlepiller 998
"# Set up user specific i18n variables\n"
999
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1000
"\n"
7244 jlepiller 1001
"# End ~/.profile</literal>\n"
1002
"EOF</userinput>"
1003
msgstr ""
1004
"<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
1005
"<literal># Begin ~/.profile\n"
1006
"# Personal environment variables and startup programs.\n"
1007
"\n"
1008
"if [ -d \"$HOME/bin\" ] ; then\n"
1009
"  pathprepend $HOME/bin\n"
1010
"fi\n"
1011
"\n"
7296 jlepiller 1012
"# Set up user specific i18n variables\n"
1013
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1014
"\n"
7244 jlepiller 1015
"# End ~/.profile</literal>\n"
1016
"EOF</userinput>"
1017
 
1018
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1019
#: blfs-en/postlfs/config/profile.xml:538
1020
#: blfs-en/postlfs/config/profile.xml:541
7244 jlepiller 1021
msgid "~/.bashrc"
1022
msgstr "~/.bashrc"
1023
 
1024
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1025
#: blfs-en/postlfs/config/profile.xml:544
7244 jlepiller 1026
msgid "Here is a base <filename>~/.bashrc</filename>."
1027
msgstr "voici un fichier <filename>~/.bashrc</filename> de base."
1028
 
1029
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 1030
#: blfs-en/postlfs/config/profile.xml:546
7244 jlepiller 1031
#, no-wrap
1032
msgid ""
7156 jlepiller 1033
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
1034
"<literal># Begin ~/.bashrc\n"
1035
"# Written for Beyond Linux From Scratch\n"
1036
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1037
"\n"
1038
"# Personal aliases and functions.\n"
1039
"\n"
1040
"# Personal environment variables and startup programs should go in\n"
1041
"# ~/.bash_profile.  System wide environment variables and startup\n"
1042
"# programs are in /etc/profile.  System wide aliases and functions are\n"
1043
"# in /etc/bashrc.\n"
1044
"\n"
1045
"if [ -f \"/etc/bashrc\" ] ; then\n"
1046
"  source /etc/bashrc\n"
1047
"fi\n"
1048
"\n"
7296 jlepiller 1049
"# Set up user specific i18n variables\n"
1050
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1051
"\n"
7156 jlepiller 1052
"# End ~/.bashrc</literal>\n"
1053
"EOF</userinput>"
1054
msgstr ""
1055
"<userinput>cat &gt; ~/.bashrc &lt;&lt; \"EOF\"\n"
1056
"<literal># Begin ~/.bashrc\n"
1057
"# Written for Beyond Linux From Scratch\n"
1058
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1059
"\n"
1060
"# Personal aliases and functions.\n"
1061
"\n"
1062
"# Personal environment variables and startup programs should go in\n"
1063
"# ~/.bash_profile.  System wide environment variables and startup\n"
1064
"# programs are in /etc/profile.  System wide aliases and functions are\n"
1065
"# in /etc/bashrc.\n"
1066
"\n"
1067
"if [ -f \"/etc/bashrc\" ] ; then\n"
1068
"  source /etc/bashrc\n"
1069
"fi\n"
1070
"\n"
7296 jlepiller 1071
"# Set up user specific i18n variables\n"
1072
"#export LANG=<replaceable>&lt;ll&gt;</replaceable>_<replaceable>&lt;CC&gt;</replaceable>.<replaceable>&lt;charmap&gt;</replaceable><replaceable>&lt;@modifiers&gt;</replaceable>\n"
1073
"\n"
7156 jlepiller 1074
"# End ~/.bashrc</literal>\n"
1075
"EOF</userinput>"
1076
 
1077
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1078
#: blfs-en/postlfs/config/profile.xml:572
1079
#: blfs-en/postlfs/config/profile.xml:575
7156 jlepiller 1080
msgid "~/.bash_logout"
1081
msgstr "~/.bash_logout"
1082
 
1083
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1084
#: blfs-en/postlfs/config/profile.xml:578
7156 jlepiller 1085
msgid ""
1086
"This is an empty <filename>~/.bash_logout</filename> that can be used as a "
7323 jlepiller 1087
"template.  You will notice that the base <filename>~/.bash_logout</filename>"
1088
" does not include a <userinput>clear</userinput> command.  This is because "
7156 jlepiller 1089
"the clear is handled in the <filename>/etc/issue</filename> file."
1090
msgstr ""
1091
"C'est un <filename>~/.bash_logout</filename> vide qui peut être utilisé "
7323 jlepiller 1092
"comme modèle. Vous remarquerez que le <filename>~/.bash_logout</filename> de"
1093
" base n'inclut pas de commande <userinput>clear</userinput>. Ceci car le "
7156 jlepiller 1094
"vidage se gère dans le fichier <filename>/etc/issue</filename>."
1095
 
1096
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 1097
#: blfs-en/postlfs/config/profile.xml:583
7156 jlepiller 1098
#, no-wrap
1099
msgid ""
1100
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
1101
"<literal># Begin ~/.bash_logout\n"
1102
"# Written for Beyond Linux From Scratch\n"
1103
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1104
"\n"
1105
"# Personal items to perform on logout.\n"
1106
"\n"
1107
"# End ~/.bash_logout</literal>\n"
1108
"EOF</userinput>"
1109
msgstr ""
1110
"<userinput>cat &gt; ~/.bash_logout &lt;&lt; \"EOF\"\n"
1111
"<literal># Begin ~/.bash_logout\n"
1112
"# Written for Beyond Linux From Scratch\n"
1113
"# by James Robertson &lt;jameswrobertson@earthlink.net&gt;\n"
1114
"\n"
1115
"# Personal items to perform on logout.\n"
1116
"\n"
1117
"# End ~/.bash_logout</literal>\n"
1118
"EOF</userinput>"
1119
 
1120
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1121
#: blfs-en/postlfs/config/profile.xml:597
1122
#: blfs-en/postlfs/config/profile.xml:600
7156 jlepiller 1123
msgid "/etc/dircolors"
1124
msgstr "/etc/dircolors"
1125
 
1126
#. type: Content of: <sect1><sect2><indexterm><primary>
7688 jlepiller 1127
#: blfs-en/postlfs/config/profile.xml:604
7156 jlepiller 1128
msgid "~/.dircolors"
1129
msgstr "~/.dircolors"
1130
 
1131
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1132
#: blfs-en/postlfs/config/profile.xml:607
7156 jlepiller 1133
msgid ""
1134
"If you want to use the <filename>dircolors</filename> capability, then run "
7323 jlepiller 1135
"the following command. The <filename "
1136
"class=\"directory\">/etc/skel</filename> setup steps shown above also can be"
1137
" used here to provide a <filename>~/.dircolors</filename> file when a new "
1138
"user is set up. As before, just change the output file name on the following"
1139
" command and assure the permissions, owner, and group are correct on the "
1140
"files created and/or copied."
7156 jlepiller 1141
msgstr ""
1142
"Si vous utilisez la possibilité <filename>dircolors</filename>, lancez la "
7323 jlepiller 1143
"commande suivante. Les étapes de paramétrage de <filename "
1144
"class=\"directory\">/etc/skel</filename> indiquées ci-dessus peuvent être "
1145
"utilisées ici pour avoir un fichier <filename>~/.dircolors</filename> lors "
1146
"du réglage d'un nouvel utilisateur. Comme tout à l'heure, changez simplement"
1147
" le nom du fichier de sorti dans la commande suivante et assurez-vous que "
1148
"les droits, le propriétaire et le groupe conviennent aux fichiers créés ou "
1149
"copiés."
7156 jlepiller 1150
 
1151
#. type: Content of: <sect1><sect2><screen>
7688 jlepiller 1152
#: blfs-en/postlfs/config/profile.xml:615
7156 jlepiller 1153
#, no-wrap
1154
msgid "<userinput>dircolors -p > /etc/dircolors</userinput>"
1155
msgstr "<userinput>dircolors -p > /etc/dircolors</userinput>"
1156
 
1157
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1158
#: blfs-en/postlfs/config/profile.xml:617
7156 jlepiller 1159
msgid ""
1160
"If you wish to customize the colors used for different file types, you can "
7244 jlepiller 1161
"edit the <filename>/etc/dircolors</filename> file. The instructions for "
7156 jlepiller 1162
"setting the colors are embedded in the file."
1163
msgstr ""
7323 jlepiller 1164
"Si vous souhaitez personnaliser les couleurs utilisées pour différents types"
1165
" de fichiers, vous devez éditer le fichier "
1166
"<filename>/etc/dircolors</filename>. Les instructions pour régler les "
1167
"couleurs sont comprises dans le fichier."
7156 jlepiller 1168
 
1169
#. type: Content of: <sect1><sect2><para>
7688 jlepiller 1170
#: blfs-en/postlfs/config/profile.xml:622
7156 jlepiller 1171
msgid ""
1172
"Finally, Ian Macdonald has written an excellent collection of tips and "
1173
"tricks to enhance your shell environment.  You can read it online at <ulink "
1174
"url=\"http://www.caliban.org/bash/index.shtml\"/>."
1175
msgstr ""
1176
"Enfin, Ian Macdonald a écrit un ensemble excellent de modèles et de "
1177
"bidouillages pour améliorer votre environnement de shell. Vous pouvez le "
1178
"lire en ligne sur <ulink url=\"http://www.caliban.org/bash/index.shtml\"/>."
7296 jlepiller 1179
 
1180
#~ msgid ""
7687 jlepiller 1181
#~ "<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
1182
#~ "<literal># Begin /etc/profile.d/bash_completion.sh\n"
1183
#~ "# Import bash completion scripts\n"
1184
#~ "\n"
1185
#~ "for script in /etc/bash_completion.d/*.sh ; do\n"
1186
#~ "        if [ -r $script ] ; then\n"
1187
#~ "                . $script\n"
1188
#~ "        fi\n"
1189
#~ "done\n"
1190
#~ "# End /etc/profile.d/bash_completion.sh</literal>\n"
1191
#~ "EOF</userinput>"
1192
#~ msgstr ""
1193
#~ "<userinput>cat &gt; /etc/profile.d/bash_completion.sh &lt;&lt; \"EOF\"\n"
1194
#~ "<literal># Begin /etc/profile.d/bash_completion.sh\n"
1195
#~ "# Import bash completion scripts\n"
1196
#~ "\n"
1197
#~ "for script in /etc/bash_completion.d/*.sh ; do\n"
1198
#~ "        if [ -r $script ] ; then\n"
1199
#~ "                . $script\n"
1200
#~ "        fi\n"
1201
#~ "done\n"
1202
#~ "# End /etc/profile.d/bash_completion.sh</literal>\n"
1203
#~ "EOF</userinput>"
1204
 
1205
#~ msgid ""
7296 jlepiller 1206
#~ "<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
1207
#~ "<literal># Begin ~/.profile\n"
1208
#~ "# Personal environment variables and startup programs.\n"
1209
#~ "\n"
1210
#~ "if [ -d \"$HOME/bin\" ] ; then\n"
1211
#~ "  pathprepend $HOME/bin\n"
1212
#~ "fi\n"
1213
#~ "\n"
1214
#~ "# End ~/.profile</literal>\n"
1215
#~ "EOF</userinput>"
1216
#~ msgstr ""
1217
#~ "<userinput>cat &gt; ~/.profile &lt;&lt; \"EOF\"\n"
1218
#~ "<literal># Begin ~/.profile\n"
1219
#~ "# Personal environment variables and startup programs.\n"
1220
#~ "\n"
1221
#~ "if [ -d \"$HOME/bin\" ] ; then\n"
1222
#~ "  pathprepend $HOME/bin\n"
1223
#~ "fi\n"
1224
#~ "\n"
1225
#~ "# End ~/.profile</literal>\n"
1226
#~ "EOF</userinput>"