Subversion Repositories svn LFS-FR

Rev

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