Debian Codegraph @

README

raw
1 # plptools
2
3 https://github.com/plptools/plptools/
4
5 plptools is a suite of programs for transferring files to and from EPOC
6 (Psion) devices, as well as backing them up, installing software, and
7 setting the clock. See below for build instructions and HISTORY for some
8 history.
9
10 plptools is free software; you can redistribute it and/or modify it under
11 the terms of the GNU General Public License as published by the Free
12 Software Foundation; either version 2 of the License, or (at your option)
13 any later version.
14
15 See the man pages for documentation: ncpd(8), plpftp(1), sisinstall(1),
16 plpprintd(8), and, where installed, plpfuse(8).
17
18
19 ## Building from source
20
21 To build plpfuse, the following packages are required:
22
23 * GNU Make
24 * FUSE: https://github.com/libfuse/libfuse (MacFUSE on macOS)
25 * libattr: https://savannah.nongnu.org/projects/attr (not required on macOS or BSD)
26
27 For command-line editing and history support in plpftp, Readline 4.3 or later or a compatible library is required.
28
29 Providing detailed instructions on how to install these packages for different operating systems is beyond the scope of this README, but see the [GitHub CI workflow](.github/workflows/c-cpp.yml) for the necessary install and configuration steps for Ubuntu/Debian and macOS.
30
31 If building from a git checkout, you’ll need the following packages installed: automake, autoconf, pkg-config.
32
33 Then run:
34
35 ```
36 ./bootstrap --skip-po
37 ```
38
39 Some extra packages are needed; `bootstrap` will tell you what you need to install if anything is lacking.
40
41 plptools uses GNU autotools, so the usual sequence of commands works:
42
43 ```
44 ./configure
45 make
46 make install
47 ```
48
49 In addition to the usual options, `configure` understands the following:
50
51 <dl>
52 <dt><tt>--with-serial=/dev/sometty</tt></dt>
53 <dd>sets the default serial device for ncpd. Without this option, ncpd tries automagically to find a serial device.</dd>
54 <dt><tt>--with-speed=baudrate</tt></dt>
55 <dd>sets the default serial speed (normally 115200 baud).</dd>
56 <dt><tt>--with-port=portnum</tt></dt>
57 <dd>sets the default port on which ncpd listens and to which plpftp and plpfuse connect (default 7501).</dd>
58 <dt><tt>--with-drive=drivespec</tt></dt>
59 <dd>sets the default drive for plpftp. The default <tt>AUTO</tt> triggers a drive-scan on the psion and sets the drive to the first drive found. If you don't want that, specify <tt>C:</tt> for example.</dd>
60 <dt><tt>--with-basedir=dirspec</tt></dt>
61 <dd>overrides the default directory for plpftp. The default is <tt>\</tt>, which means the root directory. Note: since backslashes need to be doubled once for C escaping and once for shell escaping, this value is actually supplied as <tt>\\\\</tt>.</dd>
62
63
64 ## Information for developers
65
66 The git repository can be cloned with:
67
68 git clone https://github.com/plptools/plptools.git
69
70 To make a release you need gh: https://cli.github.com