# This document is almost written in Japanese.
--- 
CONTENTS
	color-ls.dif	Patch from fileutils-3.12 OS/2 version
	color-ls.doc	This document
	color-ls.log	Original color-patch's changelog
	copying		GPL
	ls.exe		Executable binary


INSTALL
	Install emxrt.
	Put gnufu.dll, which is in GNUFU.ZIP, into a directory on LIBPATH.
	Put ls.exe into a directory on PATH.
	Define aliases in your shell.
		i.e.	alias ls="ls.exe -F --color=tty"

# Sorry, I'm poor at English ;-(
---

  Hobbes ɂ OS/2   GNU fileutils-3.12 ɁAfileutils-3.9 p 
color-ls patch Ă܂B

  emxrt CXg[AGNUFU.ZIP ɓĂ gnufu.dll  LIBPATH 
wfBNgɒuĂBls.exe  PATH ʂĂfB
NgɒuĂB

  IWi ls ɁA
	-o / --color=yes
	--color=no
	--color=tty
ƂIvVǉĂ܂B-o  --color=yes ŁAɐF
tA--color=no ŐFȂ𖾎A--color=tty  Wo͂_CNg
ĂȂƂ̂ݐFtɂȂ܂Bʂ --color=tty gƂ
v܂B
  .bashrc .zshrc Ȃǂ
	alias ls="ls.exe -F --color=tty"
	alias l="ls.exe -Fl --color=tty"
ȂǂƏ΂悢ł傤B

  F̃JX^}CÝAϐ LS_COLORS ōsȂ܂B
	xx=string:xx=string ... 
ƂełBႦΕst@CɂƂ CONFIG.SYS 
	set LS_COLORS=hi=34
Ƃ܂B .zshrc  export LS_COLORS="hi=34" ł Ok łB

        xx	default
       ---------------------------------
	lc	\ee[	Left code
	rc	m	Right code
	ec	\ee[0m	End code
	fi	1	Normal file
	di	32;1	Directory
	sy	31;1	System file
	ro	33;1	Read-only file
	hi	44;37;1	Hidden file
	ex	35;1	Executable file

  \e  ESC code(0x1b) łB
  et@C
	<left code> <type code> <right code> filename <end code>
ŕ\܂B
  ISO 6429 (ANSI) ̒[ƁAlƐF̊֌W͈ȉ̂悤ɂȂ܂B

	 0	to restore default color
	 1	for brighter colors 
	 4	for underlined text
	 5	for flashing text
	30	for black foreground
	31	for red foreground
	32	for green foreground
	33	for yellow (or brown) foreground
	34	for blue foreground
	35	for purple foreground
	36	for cyan foreground
	37	for white (or gray) foreground
	40	for black background
	41	for red background
	42	for green background
	43	for yellow (or brown) background
	44	for blue background
	45	for purple background
	46	for cyan background
	47	for white (or gray) background

--
(cl)	PDD03033@niftyserve.or.jp
			kent@muraoka.info.waseda.ac.jp
