First steps on SDF with gopher
==============================
Fresh SDF accounts are restricted in choice of software. You're advised
to become validated:
$ uinfo phlogs
Created: Mon Apr 2 16:34 2018 on pts/4
Validated: Mon Apr 2 16:54 2018 by tomasino
Now run mkgopher.
$ mkgopher
You need "setup" and "title" commands. Setup command will create your
gopherspace under /ftp/pub/users/USERNAME , accessible from your home
directory under ~/gopher symlink. Title command will set your title as
listed in
gopher://gopher.club/1/users/
SDF serves gopher pages with gophernicus server. Gophernicus displays
files named "gophermap" in accessed directory, otherwise it falls back
to file listing. Create your first gopher menu:
$ cd ~/gopher
$ vim gophermap
$ chmod 644 gophermap
With content:
iHello world!<TAB>Err<TAB>1<TAB>1
Default permissions for gopher directory is 754, which prevents file
browsing by other users. Files under gopher directory should be seen to
"nobody" user to be served by gophernicus gopher server, default umask
creates files readable by owner only.
To list your gopher hole under SDF phlogs top list, run:
$ phlog
To unlist run "phlog" again.
Now you are ready to operate phlog.
NOTE: if you have your backspace not working, check "stty erase"
instruction in your profile; for vim users you may need "set
backspace=indent,eol,start" fix
NOTE: to type literal TAB (ASCII code 0x09), type <ctrl>-q TAB in GNU
Emacs or <ctrl>-v TAB in vi/vim
NOTE: if you are getting permission denied errors, your umask settings
may be set too restricted. Change umask settings to 0022 by typing
"umask 0022". Your new entries should now have correct settings.
You can also "chmod 644" files which may have been created with the
wrong permissions. You may want to add the "umask 0022" line to
your .profile file in your home folder.