From 8a2eeee6a5abfe72e6bfb25341e0e7763b96ed43 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Tue, 31 Jul 2018 11:36:47 +0100 Subject: slight chenge to README.md --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index aad1da0..c19f5b4 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,13 @@ standard `netcat(1)`. You start the server using: - $ ./gosher [ [] + $ ./gosher [ [ []]] -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. -- cgit v1.2.3