-
Notifications
You must be signed in to change notification settings - Fork 4
/
esniper_man.html
416 lines (317 loc) · 11.5 KB
/
esniper_man.html
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
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
Content-type: text/html
<HTML><HEAD><TITLE>Manpage of esniper</TITLE>
</HEAD><BODY>
<H1>esniper</H1>
Section: User Commands (1)<BR>Updated: 31 Jan 2005<BR><A HREF="#index">Index</A>
<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB"> </A>
<H2>NAME</H2>
esniper - a lightweight ebay sniping tool
<A NAME="lbAC"> </A>
<H2>SYNOPSIS</H2>
<B>esniper</B>
[<B>-bdhHimnPrUv</B>]
[<B>-c</B>
<I>conf_file</I>]
[<B>-l</B>
<I>logdir</I>]
[<B>-p</B>
<I>proxy</I>]
[<B>-q</B>
<I>quantity</I>]
[<B>-s</B>
<I>secs|now</I>]
[<B>-u</B>
<I>user</I>]
(auction_file | [ auction price ... ])
<A NAME="lbAD"> </A>
<H2>DESCRIPTION</H2>
<P>
<I>esniper</I>
is a lightweight ebay sniping tool. It doesn't have a lot of features, and
that is by design.
<P>
Auctions are specified on the command line, using the auction number and
your bid price. Multiple auctions can be bid on by specifying more auctions
and bid prices. esniper stops when the desired quantity has been won
(default is 1).
<P>
You can use an auction file instead of specifying auctions on the command
line. See the <B>AUCTION FILE</B> section below for more details.
<A NAME="lbAE"> </A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT><B>-b</B>
<DD>
Enable batch mode.
The corresponding configuration option is batch, default value is false.
In batch mode, esniper never prompts for password and/or
username. If the password or username cannot be determined from options or
read from configuration or auction files, esniper will fail.
<DT><B>-c</B>
<DD>
Specifies a configuration file to read.
All options can be set either by command-line flags or in the
configuration file.
See the <B>CONFIGURATION FILE</B> section for details.
The default configuration file is $HOME/.esniper
(or $USERPROFILE/My Documents/.esniper in Windows).
<DT><B>-d</B>
<DD>
Enable debug mode.
The corresponding configuration option is debug, default value is false.
Log files are named esniper.<auction_num>.log and esniper.log, and are
written to the current working directory.
If the -l option or logdir configuration option is used, log files are
written to the specified directory.
<DT><B>-h</B>
<DD>
Show command line option help.
<DT><B>-H</B>
<DD>
Show configuration and auction file help.
<DT><B>-i</B>
<DD>
Print information on given auctions and exit.
<DT><B>-l</B>
<DD>
Set the directory where log files will be written.
The corresponding configuration option is logdir, default value is the
current working directory, or if an auction file is specified the directory
of the auction file.
The directory must exist and be writeable.
Log files are written when the -d option is used.
<DT><B>-m</B>
<DD>
Print user's my eBay watched items list and exit.
The user's myEbay watched items list must use the default column ordering.
<DT><B>-n</B>
<DD>
Do not bid.
The corresponding configuration option is bid, default value is true.
Useful for debugging, it exercises most of esniper except
actually placing bids. It is also be useful for checking the status of
an auction, without accidentally placing a bid.
<DT><B>-p</B>
<DD>
Specify an http proxy to use.
The corresponding configuration option is proxy, default value is the
value of the http_proxy environment variable.
The proxy should be of the form <A HREF="http://host:port/.">http://host:port/.</A>
<DT><B>-P</B>
<DD>
Prompt the user for their ebay password. This overrides the password set in
any configuration or auction file.
<DT><B>-q</B>
<DD>
Set the quantity.
The corresponding configuration option is quantity, default value is 1.
esniper will quit when it has won enough items.
<DT><B>-r</B>
<DD>
Do not reduce quantity on startup for items you have already won.
The corresponding configuration option is reduce, default value is true.
<DT><B>-s</B>
<DD>
Set the bidding time, specified as now, or seconds before the end of an
auction. If now is used, bids will be placed immediately.
The corresponding configuration option is seconds, default value is 10 seconds.
You should snipe late enough in an auction to
prevent a manual bidder to update their bid, but before other snipes.
In case two bids are within one bid increment of each other, the first
bid placed wins.
<DT><B>-u</B>
<DD>
Set the ebay username.
The corresponding configuration option is username, there is no default value.
<DT><B>-U</B>
<DD>
Prompt the user for their ebay username.
<DT><B>-v</B>
<DD>
Print version and exit.
</DL>
<A NAME="lbAF"> </A>
<H2>CONFIGURATION FILE</H2>
<P>
Most command-line options can also be set in a configuration file.
The advantage of using a configuration file is that you can set all of you
options once and not have to enter them on the command line every time you
run esniper.
<P>
A configuration file consists of option lines, in the format "option=value",
blank lines, and comments. Option names are listed above with their
corresponding command-line flags. Comments begin with #.
<P>
One configuration file option that doesn't have a corresponding command-line
flag is password. The password option allows you to set your eBay password.
If you store your eBay password in a configuration file, you should ensure that
the configuration file can be read only by you.
<P>
The default configuration file is $HOME/.esniper
(or $USERPROFILE/My Documents/.esniper in Windows).
If an auction file is used, esniper will also attempt to read .esniper
from the directory that contains the auction file; options set in this
configuration file will override options set in the user's default
configuration file.
However, if the -c command line option is used, then only the configuration
file specified by the -c command line option is read.
<P>
Options specified on the command line override corresponding options set in
an auction file, and options set in an auction file override options set in
any configuration file.
<A NAME="lbAG"> </A>
<H2>AUCTION FILE</H2>
<P>
An auction file is similar to a configuration file, but it also has one or
more auction lines. An auction line contains an auction number, optionally
followed by a bid price. If no bid price is given, the auction number uses
the bid price of the first prior auction line that contains a bid price.
<P>
If an auction file is specified and the -c option isn't used, esniper
attempts to read .esniper from the directory where the auction file
is located. See the <B>CONFIGURATION FILE</B> section for more details.
<A NAME="lbAH"> </A>
<H2>EXAMPLES</H2>
<P>
An example of a configuration file:
<P>
<PRE>
# A configuration file contains option settings,
# blank lines, and comments (begin with #). The
# default configuration file is $HOME/.esniper, and
# if you specify an auction file, .esniper in the
# auction file's directory as well. If you specify a
# configuration file using the -c command-line option,
# then that configuration file will be the only one
# read.
#
# If you set your password in a configuration file
# and you are on a unix system, you should be the
# owner of the file, and you should set the
# permissions so that it is readable only by the
# owner.
#
# Here are all the options. Note that if the
# default (as defined in esniper -H) is fine, you
# don't need to specify it in a configuration file.
# boolean parameters can be set to:
# true, y, yes, on, 1, enabled
# false, n, no, off, 0, disabled
batch = false
bid = yes
debug = enabled
reduce = y
# Note: it would be nice if logdir could use ~myuser,
# or $HOME. Perhaps in a future version.
logdir = /export/home/myuser/esniperlogs
password = myebaypassword
# Note: proxy authentication not yet supported
proxy = <A HREF="http://192.168.1.1:8080/">http://192.168.1.1:8080/</A>
username = myebayusername
# Note: quantity is usually set in an auction file
quantity = 1
# Note: seconds can also be "now", if you want to
# bid immediately
seconds = 10
</PRE>
<P>
An example of an auction file:
<P>
<PRE>
# An auction file may contain any line that is valid
# in a configuration file (see sample_config.txt for
# details), plus it may also have auction lines.
#
# An auction line contains an auction number, optionally
# followed by a price. If a price isn't specified, the
# price used is the same as the previous auction line.
#
# You should have one auction file for each type of item
# you are bidding on, so that you can change the quantity,
# username, or other options to suit the item you are
# bidding on. For instance, you may want to buy up to 10
# laser print cartridges, but only one digital camera.
# Sample auction file for laser printer cartridges
# I'd like 10 of them, and my target price is $50
quantity = 10
# seller surpluslaserjunk, shipping $15,
# questionable reputation (so I'll only pay $40 total)
9298389738 25
9872749829
9872972987
9087289973
# seller highqualityprintersupplies, shipping $8,
# excellent reputation
9982309829 42
9827349827
# seller nonbusinesshomeseller, shipping not mentioned
# (assume $10), good reputation
9287398473 35
# seller lasersuppliesforcheap, lousy reputation,
# don't buy!!!
#9239889372 0
</PRE>
<A NAME="lbAI"> </A>
<H2>ENVIRONMENT VARIABLES</H2>
<DL COMPACT>
<DT><FONT SIZE="-1"><B>http_proxy</B></FONT>
<DD>
The default http proxy. The -p command-line option and proxy configuration
option override this setting.
<DT><FONT SIZE="-1"><B>USERPROFILE</B></FONT>
<DD>
Windows user's home directory. If no configuration file is specified, esniper
tries to read the file My Documents/.esniper under the USERPROFILE directory.
Note: esniper for Windows 95, 98 and Me is compiled under cygwin, a unix-like
environment for Windows. This version of esniper uses the HOME environment
variable, as described below.
<DT><FONT SIZE="-1"><B>HOME</B></FONT>
<DD>
Unix user's home directory. If no configuration file is specified, esniper
tries to read the file .esniper in this directory.
</DL>
<A NAME="lbAJ"> </A>
<H2>BUGS</H2>
<P>
eBay likes to change their website often. Some of these changes will
break esniper. If esniper doesn't work for you, please make sure you
have the most recent version. You can check the version of esniper you
are using by running esniper with the -v option. Updates to esniper are
available at <A HREF="http://esniper.sf.net/.">http://esniper.sf.net/.</A>
<P>
If you are running the most current version and you are still encountering
a bug, please report the bug at <A HREF="http://esniper.sf.net/.">http://esniper.sf.net/.</A> To keep up to date
with new releases and major bugs, subscribe to the esniper announce mailing
list at <A HREF="http://lists.sf.net/lists/listinfo/esniper-announce">http://lists.sf.net/lists/listinfo/esniper-announce</A>
<A NAME="lbAK"> </A>
<H2>THANKS</H2>
<P>
Many thanks to all contributors and users.
<A NAME="lbAL"> </A>
<H2>AUTHOR</H2>
Copyright © 2002, 2003, 2004 Scott Nicol <<A HREF="mailto:[email protected]">[email protected]</A>>
All rights reserved.
<P>
<HR>
<A NAME="index"> </A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT><A HREF="#lbAE">OPTIONS</A><DD>
<DT><A HREF="#lbAF">CONFIGURATION FILE</A><DD>
<DT><A HREF="#lbAG">AUCTION FILE</A><DD>
<DT><A HREF="#lbAH">EXAMPLES</A><DD>
<DT><A HREF="#lbAI">ENVIRONMENT VARIABLES</A><DD>
<DT><A HREF="#lbAJ">BUGS</A><DD>
<DT><A HREF="#lbAK">THANKS</A><DD>
<DT><A HREF="#lbAL">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 13:56:46 GMT, December 19, 2006
</BODY>
</HTML>