Subversion Repositories svn LFS-FR

Rev

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