summary refs log tree commit diff
path: root/oneko.man
blob: 4f97c46b8b0fce22e9c72c8bd14264cc9b746a74 (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
.TH ONEKO 6
.SH NAME oneko
The program oneko creates a cute cat chasing around your mouse cursor.
.SH SYNOPSIS
.B oneko
[\fB-help\fP] [\fB-tora\fP]
[\fB-dog\fP] [\fB-bsd_daemon\fP] [\fB-bsd\fP]
[\fB-sakura\fP] [\fB-tomoyo\fP]
[\fB-time\fP \fIn\fP] [\fB-speed\fP \fIn\fP] [\fB-idle\fP \fIn\fP]
[\fB-name\fP \fIname\fP] [\fB-towindow\fP] [\fB-toname\fP \fIname\fP]
[\fB-tofocus\fP]
[\fB-position\fP \fIgeometry\fP]
[\fB-rv\fP] [\fB-noshape\fP] [\fB-fg\fP] [\fB-bg\fP]
.SH DESCRIPTION
.I oneko
changes your mouse cursor into mouse and creates a little cute cat and the
cat start chasing around your mouse cursor.  If the cat catchup the ``mouse'',
start sleeping.
.SS Options
.TP
.B -help
Prints help message on usage.
.TP
.B -tora
Make cat into "tora-neko".  "Tora-neko" means cat wite tiger-like stripe.
I don't know how to say it in English.
.TP
.B -dog
Runs a dog instead of a cat.
.TP
.B -bsd_daemon
Runs a 4.3BSD daemon instead of a cat.
.TP
.B -bsd
Same as
.B -bsd_daemon.
.TP
.B -sakura
Runs Sakura Kinomoto instead of a cat.
.TP
.B -tomoyo
Runs Tomoyo Daidouji instead of a cat.
.TP
.BI \-time " interval"
Sets interval timer which determine intervals for cat animation.
Default value is 125000 and unit is micro-second.  Smaller value makes cat
run faster.
.TP
.BI \-scale " factor"
Sets scale factor which zooms up the bitmaps by the nearest-neighbor
algorithm. Only integer values are supported. Default value is 1.
.TP
.BI \-speed " distance"
Specify the distance where cat jumps at one move in dot resolution.
Default is 16.  If you don't set this explicitly, it is multiplied by the
scale factor.  If you do set it explicitly, make sure to take the scale
factor into account.
.TP
.BI \-idle " speed"
Specify the threshold of the speed which ``mouse'' running away
to wake cat up.
.TP
.BI \-name " name"
Specify the window name of cat.
.TP
.B -towindow
When
.I oneko
starts with this option, you must select a window by cursor.
Then cat appears and starts chasing the window instead of mouse.
You can select another running
.I oneko
as the target window.
If root window is selected, cat chases mouse as usually.
When the target window is not in sight and not closed, cat chases
mouse as usually.
If the target window is closed, this program exit.
.TP
.BI \-toname " name"
Specify the window name of target to make cat chase it instead of
mouse.
You can specify another running
.I oneko
as the target window.
When the target window is not in sight and not closed, cat chases
mouse as usually.
If the target window is closed, this program exit.
.TP
.B -tofocus
Makes cat run to and on top of focus window.
When focus window is not in sight, cat chases mouse as usually.
.TP
.BI \-position " geometry"
Specify X and Y offsets in pixels to adjust position of cat relative
to mouse pointer.
.TP
.B -rv
Reverse background color and foreground color.
.TP
.B -noshape
Don't use SHAPE extension.
.TP
.BI \-fg " color"
Foreground color.
.TP
.BI \-bg " color"
Background color.
.SS Resources
Application name is "neko"(or "tora") and class name is "Oneko".
.TP
.B tora
Set ``True'' if you want "tora-neko".
.TP
.B time
Sets interval timer in micro-second.
.TP
.B speed
Sets distance to jump in pixel.
.TP
.B idle
Sets speed threshold to wake cat up when ``mouse'' running away.
.TP
.B noshape
Set ``True'' if you don't want to use SHAPE extension.
.TP
.B reverse
Set ``True'' if you want to switch foreground and background color.
.TP
.B foreground
Foreground color.
.TP
.B background
Background color.
.SH Notes
While this program uses XGetDefault, be sure to use "neko.resouce" form.
If you run this program as "tora", by hard of soft link, the \fB-tora\fP
option is enabled by default.
.PP
BSD Daemon Copyright 1988 by Marshall Kirk McKusick. All Rights Reserved.
.PP
Sakura Kinomoto and Tomoyo Daidouji are characters in a comic strip
"CARDCAPTOR SAKURA" (CLAMP, Kodansha), with the sanction indicated in
CLAMP SCHOOL WEB CAMPUS (http://www.clamp.f-2.co.jp/).
.SH AUTHOR
Original
.I xneko
is written by Masayuki Koba and modified to 
.I oneko
by Tatsuya Kato, and modified furthermore by John Lerchey, Eric
Anderson, Toshihiro Kanda and Kiichiroh Mukose.
.SH MAINTAINER
Send questions or problems to mukose@hbar.mp.es.osaka-u.ac.jp