Sep 30, 2004, 6:12 AM
Post #11 of 14
(1762 views)
Permalink
Nick Smith wrote:
> Owen Ford wrote:
>
>> On Wed, 2004-09-29 at 20:20, Nick Smith wrote:
>>
>>
>>> root@gentoobox nick # dispatch-conf
>>> dispatch-conf: Config archive dir [/etc/config-archive] must exist;
>>> fatal
>>>
>>> now what?
>>>
>>
>>
>> mkdir /etc/config-archive seems like a pretty reasonable suggestion :)
>>
>>
>>
> --- /etc/DIR_COLORS 2004-07-18 01:36:43.000000000 +0000
> +++ /etc/._cfg0000_DIR_COLORS 2004-09-18 19:44:42.000000000 +0000
> @@ -4,7 +4,7 @@
> # You can copy this file to .dir_colors in your $HOME directory to override
> # the system defaults.
> #
> -# $Header:
> /var/cvsroot/gentoo-x86/sys-apps/coreutils/files/DIR_COLORS,v 1.3
> 2004/06/30 15:13:00 vapier Exp $
> +# $Header:
> /var/cvsroot/gentoo-x86/sys-apps/coreutils/files/DIR_COLORS,v 1.6
> 2004/08/28 04:58:30 vapier Exp $
>
> # COLOR needs one of these arguments: 'tty' colorizes output to ttys,
> but not
> # pipes. 'all' adds color characters to all output. 'none' shuts
> colorization
> @@ -39,7 +39,9 @@
> TERM color-xterm
> TERM color_xterm
> TERM rxvt
> +TERM rxvt-unicode
> TERM screen
> +TERM screen.linux
> TERM screen-w
> TERM vt100
> TERM dtterm
> @@ -57,16 +59,16 @@
> # 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
> # Background color codes:
> # 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
> -NORMAL 00 # global default, although everything should be something.
> -FILE 00 # normal file
> -DIR 01;34 # directory
> -LINK 01;36 # symbolic link. (If you set this to 'target' instead of a
> - # numerical value, the color is as for the file pointer to.)
> -FIFO 40;33 # pipe
> -SOCK 01;35 # socket
> -DOOR 01;35 # door
> -BLK 40;33;01 # block device driver
> :
>
>
> dont know what its asking here this is what i got when i ran the
> program? im not doing anything until i here from someone on the list
> what exactly i have to do here....
>
At this moment, it's not asking you to do anything. It's showing you
something-- the diff(erence) between the original file and the proposed
update.
Lines that start with a + sign will be added to the configuration file.
Lines that start with a - sign will be removed from the configuration
file. Lines that start with neither a + nor a - will remain unchanged.
The colon at the very bottom indicates that there are more lines that
cannot currently be displayed; you can use the PageUp and PageDown keys
to see the rest of the diff, or you can type 'q' to exit this screen.
Basically, you are supposed to be looking at the lines that will be
added and removed to see if their addition or removal will cause a
problem for you.
This particular file, DIR_COLORS, is the configuration file for
colorized output in terminals. So if you type ls --colors, the terminal
output of the ls command is colorized for easier reading. This file
tells the system what colors to use for individual types of files so
that directories appear as one color (in this case, bold blue, if you
look at the color key codes), normal files another (default, probably
white or black), symlinks a third (bold cyan), etc.
It's a nice convenience, but it's not particularly important in terms of
breaking your system in any way, which makes it good practice for
reading a diff and deciding how to update a relatively unimportant
configuration file.
Hope this helps explain things, but since I don't use dispatch-conf, I
can't tell you how to proceed, because I don't know what options it
gives you after it has shown you the proposed changes.
Holly
--
gentoo-user@gentoo.org mailing list