summaryrefslogtreecommitdiffstats
path: root/ax25/axgetput/axgetput.1
blob: 8addabbbeb1911f6c0d3ce1810317c20d67d008c (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
.TH AXGETPUT 1 "11 March 2007" Linux "Linux Programmer's Manual"
.SH NAME
axgetput \- upload or download files via AX.25 / axspawn Linux login session.
.SH SYNOPSIS
.B axgetput
[-b \fIblocksize\fR] [-i] [-v] [-h] [?] \fIfilename\fR
.br
.B axgetput
[-b \fIblocksize\fR] [-i] -s [-v] [-h] [?] [\fIfilename\fR]
.LP
.SH DESCRIPTION
.TP
\fB-b blocksize\fR
Set the blocksize (frame length) of transmitted data.  Defaults to 256 bytes
which matches typical AX.25 network confurations best.
.TP
\fB-i\fR
Compute CRC checksum only.
.TP
\fB.B -s\fR
Indicates input from a stream.  This option is available only if STDIN is a
pipe.  The filename argument may be omitted if -s is given. The length of
the file need not to be known.
.TP
\fB\-v\fR
print version and exit.
.TP
\fB-h, ?\fR
print usage and exit.
.LP
.B axgetput
is the actual name of the program. You execute for e.g.
.B bget
or
.B bput
while axgetput is the common program to which bget and bput are linked to.
axgetput autodetermines which operation mode the user desires.

axgetput sets the pty to be 8bit clean (thus enables binary mode for the
file transfer). It requires that the user is logged in through axspawn(8).

.B I. #BIN Protocol

.B bget
is used for downloading a file on this system from the unix login shell
via his ax25 session to his packet-radio terminal program. The download
"protocol" is the "#BIN" standard known from packet radio mailboxes.

.B bput
does it the other way around: with this comand, the user may upload a
file to this computer.

The #BIN protocol provides a CRC consistency check after the file is
transferred. The transfer of the file modification time is part of the
#BIN protocol.

.LP
.B II. YAPP Protocol

.B yget
or
.B yput
is reserved for the yapp protocol, which is not supported in this version.

.LP
.B II. DIDADIT Protocol

.B rget
or
.B rput
is reserved for the didadit protocol, which is not supported in this version.
.LP
Anyone like to implement yapp and didadit protcols?
.LP
.SH AUTHOR
Thomas Osterried  DL9SAU <thomas@x-berg.in-berlin.de>
Ralf Baechle DL5RB <ralf@linux-mips.org>