diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-07-31 11:36:47 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-07-31 11:36:47 +0100 |
commit | 8a2eeee6a5abfe72e6bfb25341e0e7763b96ed43 (patch) | |
tree | 43e0f34a2c685a3099ef8afe894716863bc17820 | |
parent | 733f49a3d82ebf608fd5f26dcbba4d679fb91661 (diff) |
slight chenge to README.md0.5
-rw-r--r-- | README.md | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -6,12 +6,13 @@ standard `netcat(1)`. You start the server using: - $ ./gosher [<PORT> [<GOPHERDIR>] + $ ./gosher [<GOPHERDIR> [<HOSTNAME> [<PORT>]]] -If PORT is not specified, it will bind on port 70. If GOPHERDIR is not -provided, it defaults to "./". Before starting `gosher` you might need -to modify the values of the variables `NETCAT` and `STYLE` in `gosher` -(see "Which netcat?" below). +If HOSTNAME is not provided, it will be set to "localhost". If PORT is +not specified, it will bind on port 70. If GOPHERDIR is not provided, it +defaults to "./". Before starting `gosher` you might need to modify the +values of the variables `NETCAT` and `STYLE` in `gosher` (see "Which +netcat?" below). If the selector is a directory, `gosher` will look for a file named `gophermap` to render the submenu. If a `gophermap` does not exist, @@ -59,8 +60,8 @@ run `gosher` under `chroot(8)` be sure to have the following binaries (and the corresponding libs) available in the chroot-ed environment: ``` - basename(1) cat(1) cut(1) dirname(1) mkfifo(1) netcat(1) realpath(1) - rm(1) sed(1) sh(1) which(1) + basename(1) cat(1) cut(1) date(1) dirname(1) mkfifo(1) netcat(1) + realpath(1) rm(1) sed(1) sh(1) which(1) ``` Obviously, `netcat(1)` will be your preferred `netcat(1)` implementation. |