Changeset 213 for trunk

Show
Ignore:
Timestamp:
06/17/08 20:13:39 (5 months ago)
Author:
zany
Message:

switching from POD to asciidoc

Location:
trunk/doc
Files:
2 removed
1 modified
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/doc/Makefile.am

    r212 r213  
    11# only maintainer needs to build doc 
    2 # perl's pod2man, pod2html and pod2text needed 
     2# asciidoc, docbook2X needed 
    33 
    44EXTRA_DIST =            $(man_MANS) $(noinst_DATA) 
    55 
    6 man_MANS =              obexftp.1 obexftpd.1 
     6man_MANS =                      obexftp.1 obexftpd.1 
    77 
    8 noinst_DATA =           obexftp.pod obexftp.1.txt obexftp.1.html \ 
    9                         obexftpd.pod obexftpd.1.txt obexftpd.1.html 
     8noinst_DATA =           obexftp.1.txt obexftp.1.html \ 
     9                                        obexftpd.1.txt obexftpd.1.html 
    1010 
    1111if BUILD_DOCS 
    1212 
    13 SUFFIXES = .1 .pod .1.html .1.txt 
     13SUFFIXES = .1 .1.txt .1.html 
    1414 
    15 .pod.1: 
    16         pod2man --center "ObexFTP" --release `stat --format=%y $< | cut -f 1 -d " "` --section 1 $< $@ 
    17 #       txt2man -v "ObexFTP" -t "obexftp" -s 1 -r `date -I` \ 
    18 #       -I ObexFTP -I gObexFtp -I vfs-obexftp $< > $@ 
    19 ## and this one for BSD I guess... 
    20 ##      pod2man --center "ObexFTP" --release `stat -f %m $< | cut -f 1 -d " "` --section 1 $< $@ 
     15.1.txt.1: 
     16        asciidoc --doctype=manpage --backend=docbook $< 
     17        docbook2man $*.1.xml 
    2118 
    22 .pod.1.html: 
    23         pod2html --title "ObexFTP" --infile=$< --outfile=$@ 
     19.1.txt.1.html: 
     20        asciidoc --doctype=manpage --backend=xhtml11 $< 
    2421 
    25 .pod.1.txt: 
    26         pod2text $< $@ 
    27  
    28 #clean-local: 
    29 #       rm -f *.1 
     22CLEANFILES =            obexftp.1.xml obexftp.1 obexftp.1.html \ 
     23                                        obexftpd.1.xml obexftpd.1 obexftpd.1.html 
    3024 
    3125endif 
  • trunk/doc/obexftp.1.txt

    r204 r213  
    1 =head1 NAME 
     1= OBEXFTP(1) 
     2 
     3== NAME 
    24 
    35obexftp - Mobile Equipment file transfer tool 
    46 
    5 =head1 SYNOPSIS 
    6  
    7 B<obexftp> [I<OPTION>] [I<COMMANDS>] 
    8  
    9 =head1 DESCRIPTION 
    10  
    11 B<obexftp> is used to access files on mobile equipment, 
    12 i.e. cell phones. With B<obexftpd> you can transfer files between any 
    13 computers using B<IrDA>, B<Bluetooth> and B<TCP/IP>. 
    14  
    15 This tool lets you access the B<ObexFTP> library by the means of 
     7== SYNOPSIS 
     8 
     9*obexftp* [_OPTION_] [_COMMANDS_] 
     10 
     11== DESCRIPTION 
     12 
     13*obexftp* is used to access files on mobile equipment, 
     14i.e. cell phones. With *obexftpd* you can transfer files between any 
     15computers using *IrDA*, *Bluetooth* and *TCP/IP*. 
     16 
     17This tool lets you access the *ObexFTP* library by the means of 
    1618a command line interface. 
    1719You might consider using the other means available. 
    18 E.g. the B<ObexFS> filesystem for Linux. 
    19  
    20 =head1 OPTIONS 
     20E.g. the *ObexFS* filesystem for Linux. 
     21 
     22== OPTIONS 
    2123 
    2224The ordering of options is important. Every command will use the most 
    2325recent device set. Every file without command switch will apply to the 
    24 command given most recent. See B<EXAMPLES> 
    25  
    26 =head2 Transport Options 
    27  
    28 =over 
    29  
    30 =item B<-i>, B<--irda> 
    31  
     26command given most recent. See *EXAMPLES* 
     27 
     28=== Transport Options 
     29 
     30*-i*, *--irda*:: 
    3231Connect using the IrDA protocol. This is the default. 
    3332 
    34 =item B<-b> I<device>, B<--bluetooth> I<device> 
    35  
     33*-b* _device_, *--bluetooth* _device_:: 
    3634Connect to this bluetooth device. If the device is not given the first 
    3735device found will be used. 
    3836 
    39 =item B<-B> I<number>, B<--channel> I<number> 
     37*-B* _number_, *--channel* _number_:: 
    4038 
    4139Use this bluetooth channel when connecting. 
    4240The channel will be discoverd automatically if this option is not used. 
    4341 
    44 =item B<-d> I<no/address>, B<--hci> I<no/address> 
     42*-d* _no/address_, *--hci* _no/address_:: 
    4543 
    4644Use the bluetooth device referenced by number or address as 
    4745source device for the connection. 
    4846 
    49 =item B<-u> I<intf no>, B<--usb> I<intf no> 
     47*-u* _intf no_, *--usb* _intf no_:: 
    5048 
    5149Connect to this usb interface or list all available usb interfaces. 
    5250 
    53 =item B<-t> I<device>, B<--tty> I<device> 
     51*-t* _device_, *--tty* _device_:: 
    5452 
    5553Connect to this tty device. 
    5654 
    57 =item B<-n> I<host>, B<--network> I<host> 
     55*-n* _host_, *--network* _host_:: 
    5856 
    5957Connect to this network host. 
    6058 
    61 =back 
    62  
    63  
    64 =head2 Compatibility Options 
    65  
    66 =over 
    67  
    68 =item B<-U> I<uuid>, B<--uuid> I<uuid> 
     59 
     60=== Compatibility Options 
     61 
     62 
     63*-U* _uuid_, *--uuid* _uuid_:: 
    6964 
    7065Select the UUID to connect with. Recognized values are currently 
     
    7570"SHARP" for PCSOFTWARE UUID with Sharp devices. 
    7671 
    77 =item B<-H>, B<--noconn> 
     72*-H*, *--noconn*:: 
    7873 
    7974Suppress connection IDs (i.e. send no connection header to the mobile). 
    8075 
    81 =item B<-S>, B<--nopath> 
     76*-S*, *--nopath*:: 
    8277 
    8378Don't use "setpath" commands (i.e. send the whole path as filename to the 
    8479mobile). 
    85 Can be used together with B<--noconn> and B<--uuid none> to send an OBEX-PUSH. 
    86  
    87 =back 
    88  
    89  
    90 =head2 Setting The File Path 
    91  
    92 =over 
    93  
    94 =item B<-c> I<folder>, B<--chdir> I<folder> 
     80Can be used together with *--noconn* and *--uuid none* to send an OBEX-PUSH. 
     81 
     82 
     83=== Setting The File Path 
     84 
     85 
     86*-c* _folder_, *--chdir* _folder_:: 
    9587 
    9688Set the mobiles current working directory. 
    9789 
    98 =item B<-C> I<folder>, B<--mkdir> I<folder> 
     90*-C* _folder_, *--mkdir* _folder_:: 
    9991 
    10092Set the mobiles current working directory. 
    10193The folder will be created if it doesn't exist. 
    10294 
    103 =item B<-l> I<folder>, B<--list> I<folder> 
     95*-l* _folder_, *--list* _folder_:: 
    10496 
    10597List a folder. 
    10698 
    107 =back 
    108  
    109  
    110 =head2 Sending And Retrieving Files 
    111  
    112 =over 
    113  
    114 =item B<-o> I<path>, B<--output> I<path> 
    115  
    116 Specify the target file name, overriding the implicit local name from B<--get> 
    117 or the implicit remote name from B<--put> 
    118  
    119 =item B<-g> I<source>, B<--get> I<source> 
     99 
     100=== Sending And Retrieving Files 
     101 
     102*-o* _path_, *--output* _path_:: 
     103 
     104Specify the target file name, overriding the implicit local name from *--get* 
     105or the implicit remote name from *--put* 
     106 
     107*-g* _source_, *--get* _source_:: 
    120108 
    121109Retrieve files from mobile. 
    122110 
    123 =item B<-G> I<source>, B<--getdelete> I<source> 
     111*-G* _source_, *--getdelete* _source_:: 
    124112 
    125113Retrieve files from mobile and delete them on the mobile 
    126114 
    127 =item B<-p> I<source>, B<--put> I<source> 
     115*-p* _source_, *--put* _source_:: 
    128116 
    129117Send files to the mobile. 
    130118 
    131 =item B<-k> I<source>, B<--delete> I<source> 
     119*-k* _source_, *--delete* _source_:: 
    132120 
    133121Delete files from the mobile. 
    134122 
    135 =back 
    136  
    137  
    138 =head2 Experimental Extras 
    139  
    140 =over 
    141  
    142 =item B<-X>, B<--capability> 
     123 
     124=== Experimental Extras 
     125 
     126*-X*, *--capability*:: 
    143127 
    144128Retrieve the capability object from the mobile (if available). 
    145129 
    146 =item B<-Y>, B<--probe> 
     130*-Y*, *--probe*:: 
    147131 
    148132Probe and report device characteristics 
    149133 
    150 =item B<-x>, B<--info> 
     134*-x*, *--info*:: 
    151135 
    152136Retrieve misc infos from mobile. I.e. memory size and free memory. 
    153137Siemens specific for now. 
    154138 
    155 =item B<-m> I<src> I<dest>, B<--move> I<src> I<dest> 
     139*-m* _src_ _dest_, *--move* _src_ _dest_:: 
    156140 
    157141Move (rename) files on the mobile. Siemens specific for now. 
    158142 
    159 =back 
    160  
    161  
    162 =head2 Version Information And Help 
    163  
    164 =over 
    165  
    166 =item B<-v>, B<--verbose> 
     143 
     144=== Version Information And Help 
     145 
     146*-v*, *--verbose*:: 
    167147 
    168148Be verbose and give some additional infos. 
    169149 
    170 =item B<-V>, B<--version> 
     150*-V*, *--version*:: 
    171151 
    172152Print version string and exit. 
    173153 
    174 =item B<-h>, B<--help>, B<--usage> 
     154*-h*, *--help*, *--usage*:: 
    175155 
    176156Print short usage instructions. 
    177157 
    178 =back 
    179  
    180 =head1 EXAMPLES 
    181  
    182 =over 
    183  
    184 =item To get the directory listing from the first irda device: 
    185  
    186 B<obexftp -i -l> 
     158 
     159== EXAMPLES 
     160 
     161To get the directory listing from the first irda device:: 
     162 
     163*obexftp -i -l* 
    187164or just 
    188 B<obexftp -l> 
     165*obexftp -l* 
    189166as IrDA is the default. 
    190167 
    191 =item To get the file bar from directory foo from the first bluetooth device: 
    192  
    193 B<obexftp -b -c foo -g bar> 
    194  
    195 =item To send the file bar to directory foo with device on first serial port: 
    196  
    197 B<obexftp -t /dev/ttyS0 -c foo -p bar> 
    198  
    199 =item It is possible to use RfComm (serial port over bluetooth): 
    200  
    201 B<obexftp -t /dev/rfcomm0 -c foo -p bar> 
    202  
    203 =item And also IrComm (serial port over IrDA): 
    204  
    205 B<obexftp -t /dev/ircomm0 -c foo -p bar> 
    206  
    207 =item To send the file bar using plain OBEX PUSH: 
    208  
    209 B<obexftp --bluetooth --nopath --noconn --uuid none --put bar> 
    210  
    211  
    212 =back 
    213  
    214 =head1 SEE ALSO 
    215  
    216 L<obexftpd>(1), L<openobex>(3), L<obexftp>(3), L<multicobex>(3), L<libbfb>(3). 
    217  
    218 =head1 BUGS 
     168To get the file bar from directory foo from the first bluetooth device:: 
     169 
     170*obexftp -b -c foo -g bar* 
     171 
     172To send the file bar to directory foo with device on first serial port:: 
     173 
     174*obexftp -t /dev/ttyS0 -c foo -p bar* 
     175 
     176It is possible to use RfComm (serial port over bluetooth):: 
     177 
     178*obexftp -t /dev/rfcomm0 -c foo -p bar* 
     179 
     180And also IrComm (serial port over IrDA):: 
     181 
     182*obexftp -t /dev/ircomm0 -c foo -p bar* 
     183 
     184To send the file bar using plain OBEX PUSH:: 
     185 
     186*obexftp --bluetooth --nopath --noconn --uuid none --put bar* 
     187 
     188 
     189== SEE ALSO 
     190 
     191obexftpd(1), openobex(3), obexftp(3), multicobex(3), libbfb(3). 
     192 
     193== BUGS 
    219194 
    220195Bugs ? Features ! 
    221196 
    222 =head1 NOTES 
     197== NOTES 
    223198 
    224199The software has been tested and reported working on at least Siemens, Ericsson, and Nokia phones. 
    225200 
    226 =head1 AUTHOR 
    227  
    228 Christian W. Zuckschwerdt E<lt>zany@triq.netE<gt> 
    229  
     201== AUTHOR 
     202 
     203Christian W. Zuckschwerdt <zany@triq.net> 
     204 
  • trunk/doc/obexftpd.1.txt

    r110 r213  
    1 =head1 NAME 
     1= OBEXFTPD(1) 
     2 
     3== NAME 
    24 
    35obexftpd - Mobile Equipment file transfer server 
    46 
    5 =head1 SYNOPSIS 
     7== SYNOPSIS 
    68 
    7 B<obexftpd> [I<OPTIONS>] [I<TRANSPORT>] 
     9*obexftpd* [_OPTIONS_] [_TRANSPORT_] 
    810 
    9 =head1 DESCRIPTION 
     11== DESCRIPTION 
    1012 
    11 With B<obexftpd> you can set up an obex server on any 
    12 computers using B<IrDA>, B<Bluetooth> or B<TCP/IP>. 
    13 Use e.g. B<obexftp> or the B<ObexFS> to access the files on this server. 
     13With *obexftpd* you can set up an obex server on any 
     14computers using *IrDA*, *Bluetooth* or *TCP/IP*. 
     15Use e.g. *obexftp* or the *ObexFS* to access the files on this server. 
    1416 
    15 =head1 OPTIONS 
     17== OPTIONS 
    1618 
    1719The ordering of options is important. The first transport option will 
    1820start the server. Use basedir and verbose options prior to any transport. 
    19 See B<EXAMPLES> 
     21See *EXAMPLES* 
    2022 
    2123 
    22 =head2 Transport Options 
     24=== Transport Options 
    2325 
    24 =over 
    25  
    26 =item B<-i>, B<--irda> 
     26*-i*, *--irda*:: 
    2727 
    2828Acceopt connections using the IrDA protocol. 
    2929 
    30 =item B<-b>, B<--bluetooth> 
     30*-b*, *--bluetooth*:: 
    3131 
    3232Accept connections via bluetooth. 
    3333 
    34 =item B<-t> I<device>, B<--tty> I<device> 
     34*-t* _device_, *--tty* _device_:: 
    3535 
    3636Accept connections from this tty device. NOT WORKING! 
    3737 
    38 =item B<-n> I<host>, B<--network> I<host> 
     38*-n* _host_, *--network* _host_:: 
    3939 
    4040Accept connections from the network to this port. 
    4141 
    42 =back 
    4342 
     43=== Setting The File Path 
    4444 
    45 =head2 Setting The File Path 
    46  
    47 =over 
    48  
    49 =item B<-c> I<folder>, B<--chdir> I<folder> 
     45*-c* _folder_, *--chdir* _folder_:: 
    5046 
    5147Set the base directory for the server. 
    5248 
    53 =back 
    5449 
     50=== Version Information And Help 
    5551 
    56 =head2 Version Information And Help 
    57  
    58 =over 
    59  
    60 =item B<-v>, B<--verbose> 
     52*-v*, *--verbose*:: 
    6153 
    6254Be verbose and give some additional infos. 
    6355 
    64 =item B<-V>, B<--version> 
     56*-V*, *--version*:: 
    6557 
    6658Print version string and exit. 
    6759 
    68 =item B<-h>, B<--help>, B<--usage> 
     60*-h*, *--help*, *--usage*:: 
    6961 
    7062Print short usage instructions. 
    7163 
    72 =back 
    7364 
    74 =head1 EXAMPLES 
     65== EXAMPLES 
    7566 
    76 =over 
     67Start listening for bluetooth connections and use a safe basedir::: 
    7768 
    78 =item Start listening for bluetooth connections and use a safe basedir: 
     69*obexftpd -c /tmp/inbox -b* 
    7970 
    80 B<obexftpd -c /tmp/inbox -b> 
    8171 
    82 =back 
     72== SEE ALSO 
    8373 
    84 =head1 SEE ALSO 
     74obexftp(1), openobex(3), obexftp(3), multicobex(3), libbfb(3). 
    8575 
    86 L<obexftp>(1), L<openobex>(3), L<obexftp>(3), L<multicobex>(3), L<libbfb>(3). 
    87  
    88 =head1 BUGS 
     76== BUGS 
    8977 
    9078Bugs ? Features ! 
    9179 
    92 =head1 NOTES 
     80== NOTES 
    9381 
    9482The software has been tested and reported working on at least Siemens, Ericsson, and Nokia phones. 
    9583 
    96 =head1 AUTHOR 
     84== AUTHOR 
    9785 
    98 Christian W. Zuckschwerdt E<lt>zany@triq.netE<gt> 
    99 Alan Zhang E<lt>vibra@tom.comE<gt> 
     86Christian W. Zuckschwerdt <zany@triq.net> 
     87Alan Zhang <vibra@tom.com> 
    10088