summary refs log tree commit diff
path: root/README
blob: 9cf783a9ac1efcb88ca974ec67fcf5d9bdce4be6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
		oneko - Neko runs over the windows.
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

				Original program written by
							Masayuki Koba
				Modified by
					Tatsuya Kato (kato@ntts.co.jp)


$@0JA0!"(Jfj.sources $@$K(J xneko $@$H$$$&(J X Window $@>e$GF0$/!VG-!W$,Ej9F$5$l$F$$(J
$@$^$7$?$,!";DG0$J$,$i$3$N!VG-!W$O0l$D$N%&%$%s%I%&$r:n$C$F$=$N%&%$%s%I%&(J
$@$NCf$G%^%&%9$rDI$$$+$1$FAv$j2s$k$b$N$G$7$?!#(J

$@$=$3$G;d$,!VG-$r$*$j$KJD$89~$a$F$*$/$N$O2D0%A[$8$c$J$$$+!W$H;W$$!"2hLL(J
$@$N>e$r=D2#L5?T$KAv$j2s$k$h$&$K2~B$$7$F$"$2$^$7$?!#(J

$@$=$NL>$b(J "oneko"$@!#:G=i$O(J 'oclock' $@$N(J 'o' $@$r<h$C$?$D$b$j$@$C$?$N$G$9$,!"(J
oclock $@$C$F4]$$$+$i(J 'o' $@$J$s$8$c$J$/$F(J o'clock $@$N(J 'o' $@$G$9$h$M!#$G!"(J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#(J

$@!}(J NTTSOFT local $@$G9%I>$@$C$?!J!)!K$H$iG-$K$9$k5!G=$r:N$jF~$l$^$7$?!#(J
   $@<B9T;~$K(J

   % oneko -tora

   $@$H$9$k$HG-$NLOMM$,JQ$o$j$^$9!#(J

$@!}(J $@?'$N;XDj$,$G$-$k$h$&$K$J$j$^$7$?!#5/F0;~$N%*%W%7%g%s$G(J -fg, -bg $@$r(J
   $@;XDj$7$F2<$5$$!#(J

$@!}(J $@$3$NG-$O!"?2$F$$$k;~$K$M$:$_$r$f$C$/$j0\F0$5$;$k$H5$$E$+$:$K?2$F(J
   $@$$$^$9!#$3$l$O0lDj;~4VFb$K%^%&%9$NF0$$$?5wN%$,$"$kCM$r1[$($J$1$l$P(J
   $@5$$,$D$+$J$$$h$&$K$J$C$F$$$k$N$G$9$,!"$3$N!V$"$kCM!W$r%*%W%7%g%s$G(J
   $@JQ$($i$l$k$h$&$K$7$^$7$?!#%G%U%)%k%H$O#6$K$J$C$F$$$k$N$G$9$,!"(J

   % oneko -idle 20

   $@$H$9$k$H!V$h$jF_$$!WG-$N=PMh>e$,$j$G$9!#(J

$@!}(J $@%3%s%Q%$%i$K(J gcc $@$r;H$&$HF0$+$J$$$=$&$G$9!#!J;d$b3NG'$7$?!K$3$N$?$a(J
   $@:#EY$N(J Imakefile $@$G$O6/@)E*$K(J cc $@$G%3%s%Q%$%k$9$k$h$&$K;XDj$7$F$$$^(J
   $@$9!#(J

$@!}(J Shape extention $@$N%i%$%V%i%j$,$J$/$F$b%3%s%Q%$%k$G$-$^$9!#$b$7$"$J(J
   $@$?$N;HMQ$7$F$$$k#X$,(J R4 $@$G$O$J$/$F!"$+$D(J SONY NEWS $@$G$O$J$$>l9g$O(J
   Imakefile $@$N(J

          DEFINES = -DSHAPE

   $@$H$$$&9T$r>C$7$F2<$5$$!#!J(JNEWS $@$G;H$($k$+$I$&$+$O;n$7$F$^$;$s!#C/$+(J
   $@3NG'$7$F2<$5$$!#!K(J

$@!c%3%s%Q%$%k$N;EJ}!d(J

1. $@$^$:!"$3$N5-;v$r(J unshar $@$7$F%=!<%90l<0$r<h$j=P$7$F$/$@$5$$!#(J

2. Makefile $@$r:n$j$^$9!#(Joneko $@$N%G%#%l%/%H%j$K0\$C$F!"(J

% xmkmf

$@$r<B9T$7$F$/$@$5$$!#$b$7!"$3$N%3%^%s%I$,$J$1$l$P!"(J

% imake -DUseInstalled -I/usr/lib/X11/config

$@$G$bF1$8$G$9!#(J

3. make $@$r<B9T$7$^$9!#(J

% make

$@$3$l$G!"<B9T2DG=$J!VG-!W$,=PMh$^$9!#$b$7!"(J/usr/bin/X11 $@$K$$$l$F!"$_$s(J
$@$J$G;H$$$?$$$N$G$7$?$i(J

# make install

$@$r!J%9!<%Q%f!<%6$G!K<B9T$7$F$/$@$5$$!#(J

$@$3$l$G%3%s%Q%$%k$O=*N;$G$9!#$"$H$O!"(J

% oneko &

$@$r<B9T$7$F3Z$7$s$G$/$@$5$$(J :-)

$@!c;HMQJ}K!!d(J

$@4pK\E*$K%*%W%7%g%s$O$$$j$^$;$s!#$,!"$3$s$J$*$W$7$g$s$b$"$j$^$9!#(J
help $@$r=|$/%*%W%7%g%s$O%j%=!<%9$+$i$bJQ99$G$-$^$9!#(J

-help		$@%*%W%7%g%s$N(J help $@$rI=<($7$^$9!#(J

-tora		$@G-$,$H$iG-$KJQ$o$j$^$9!#(J

-time <n>	$@G-$,;H$&%$%s%?!<%P%k%?%$%^$NCM$rJQ$($^$9!#%G%U%)%k%H$O(J 
		micro second $@C10L$G(J 125000 $@$K$J$C$F$$$^$9$,!"$3$NCM$r(J
		$@>.$5$/$9$k$[$IG-$,B.$/F0$-$^$9!#(J

-speed <n>	$@G-$,0lEY$K0\F0$9$k5wN%$r%I%C%H$N?t$G;XDj$7$^$9!#%G%U%)(J
		$@%k%H$O(J 16 $@$G$9$,!"$3$NCM$rBg$-$/$9$k$[$IG-$,B.$/0\F0$7(J
		$@$^$9!#(J

-idle <n>	$@G-$,?2$F$$$k;~!"$I$l$@$1$NB.EY$G$M$:$_$,F0$$$?$i5/$-$k(J
		$@$N$+$r;XDj$G$-$^$9!#%G%U%)%k%H$O(J 6 $@$G$9!#(J

-rv		$@?'$rH?E>$7$^$9!#!J%+%i!<$N%G%#%9%W%l%$$G$O(J fg, bg $@$G;X(J
		$@Dj$G$-$k$N$G!"$"$s$^$j0UL#$,$"$j$^$;$s!#!K(J

-noshape	X $@$N(J Shape Extension $@$r;H$o$:$K<B9T$7$^$9!#B.EY$O$+$J(J
		$@$jB.$/$J$j$^$9$,!"I=<($,$D$^$i$J$/$J$j$^$9!#!J<B:]$K$d$C(J
		$@$F$_$F$/$@$5$$!#!K(J

-fg <color>	$@%U%)%"%0%i%&%s%I$N?'$r;XDj$7$^$9!#%b%N%/%m!<%`$N%G%#%9(J
		$@%W%l%$$G$OL5;k$5$l$F$7$^$$$^$9!#(J

-bg <color>	$@%P%C%/%0%i%&%s%I$N?'$r;XDj$7$^$9!#%b%N%/%m!<%`$N%G%#%9(J
		$@%W%l%$$G$OL5;k$5$l$F$7$^$$$^$9!#(J

$@$^$?!"%$%s%9%H!<%k$9$k$H(J tora $@$K$b(J symbolic link $@$rD%$j$^$9!#(Jtora $@$H$$(J
$@$&%3%^%s%IL>$G5/F0$7$?;~$K$O%G%U%)%k%H$G(J -tora $@%*%W%7%g%s$r$D$1$?;~$H(J
$@F1$8$K$J$j$^$9!#(J

$@%j%=!<%9$G;XDj$7$?>l9g$O$3$&$G$9!#(J

oneko.foreground:	black
oneko.background:	red
oneko.time:		100000
oneko.reverse:		true

$@%3%^%s%I$,(J oneko $@$G$O$J$/!"(Jtora $@$H$$$&L>A0$G5/F0$5$l$?>l9g%j%=!<%9L>$O(J 
tora.* $@$K$J$j$^$9$+$i(J

tora.foreground:	sienna
tora.background:	moccasin

$@$H$7$F$H$iG-$N@_Dj$HIaDL$NG-$N@_Dj$rJL$K$9$k$3$H$b2DG=$G$9!#$H$iG-$N?'(J
$@$O$=$N$^$^$G$OGr9u$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