• pygopherd

    From winston1138@1337:1/101 to All on Wed May 5 13:08:48 2021
    I'm having a time with a local installation of pygopherd and hoped someone may have some insight. I have a few directories with text files. Those directories display and I can enter them to see the listing of each text file. However, I cannot open any text file unless I create a gophermap file listing each text file.

    It is my understanding that a text files in a directory should be able to be viewed without a gophermap file. Am I mistaken? If I am is there a gophermap generator script that I can make use of? I also noticed that Paulie420 may have had a similar issue as posted on Github. But there were not any replies to







    him as of today.

    Any hints, thoughts, or ideas are greatly appreciated.

    --- Mystic BBS v1.12 A47 2020/12/04 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From MeaTLoTioN@1337:1/101 to winston1138 on Wed May 5 18:01:08 2021
    On 05 May 2021, winston1138 said the following...

    I'm having a time with a local installation of pygopherd and hoped
    someone mayhave some insight. I have a few directories with text files. Those directoriesdisplay and I can enter them to see the listing of each text file. However, Icannot open any text file unless I create a
    gophermap file listing each textfile.

    It is my understanding that a text files in a directory should be able
    to beviewed without a gophermap file. Am I mistaken? If I am is there a gophermapgenerator script that I can make use of? I also noticed that Paulie420 mayhave had a similar issue as posted on Github. But there
    were not any replies tohim as of today.

    Any hints, thoughts, or ideas are greatly appreciated.

    Hi Winston,

    I also use pygopherd and to display a textfile I need to call it in my gophermap.

    Here's how I call a textfile.

    0Title to display<TAB>filename.txt

    The <TAB> chars are important, make sure you do those.
    Here's an example of one of my phlog entries;

    0(2021-04-11 20:07:17 BST) Matrix Ftw<TAB>matrix_ftw.txt

    Hope this helps.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07 |08[|10eml|08] |15ml@erb.pw |07 |08[|10web|08] |15www.erb.pw |07Ŀ |07 |08[|09fsx|08] |1521:1/158 |07 |08[|11tqw|08] |151337:1/101 |07 |07 |08[|12rtn|08] |1580:774/81 |07 |08[|14fdn|08] |152:250/5 |07
    |07 |08[|10ark|08] |1510:104/2 |07

    --- Mystic BBS v1.12 A47 2020/12/04 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From MeaTLoTioN@1337:1/101 to winston1138 on Wed May 5 18:03:39 2021
    On 05 May 2021, MeaTLoTioN said the following...

    On 05 May 2021, winston1138 said the following...

    I'm having a time with a local installation of pygopherd and hoped someone mayhave some insight. I have a few directories with text file Those directoriesdisplay and I can enter them to see the listing of e text file. However, Icannot open any text file unless I create a gophermap file listing each textfile.

    It is my understanding that a text files in a directory should be abl to beviewed without a gophermap file. Am I mistaken? If I am is there gophermapgenerator script that I can make use of? I also noticed tha Paulie420 mayhave had a similar issue as posted on Github. But there were not any replies tohim as of today.

    Any hints, thoughts, or ideas are greatly appreciated.

    Hi Winston,

    I also use pygopherd and to display a textfile I need to call it in my gophermap.

    Here's how I call a textfile.

    0Title to display<TAB>filename.txt

    The <TAB> chars are important, make sure you do those.
    Here's an example of one of my phlog entries;

    0(2021-04-11 20:07:17 BST) Matrix Ftw<TAB>matrix_ftw.txt

    Hope this helps.

    Also, if you wish to just launch your gopher client straight to that textfile, you can do so like this;

    lynx gopher://gopher.erb.pw/0/phlog/matrix_ftw.txt

    the 0/ in the url means it's a textfile, then the rest is just the normal url/structure.

    Again, hope this helps.

    ---
    |14Best regards,
    |11Ch|03rist|11ia|15n |11a|03ka |11Me|03aTLoT|11io|15N

    |07 |08[|10eml|08] |15ml@erb.pw |07 |08[|10web|08] |15www.erb.pw |07Ŀ |07 |08[|09fsx|08] |1521:1/158 |07 |08[|11tqw|08] |151337:1/101 |07 |07 |08[|12rtn|08] |1580:774/81 |07 |08[|14fdn|08] |152:250/5 |07
    |07 |08[|10ark|08] |1510:104/2 |07

    --- Mystic BBS v1.12 A47 2020/12/04 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From winston1138@1337:1/101 to MeaTLoTioN on Wed May 5 21:12:50 2021
    Thank you for your reply. I did understand that. I was hoping to avoid creating







    a gophermap file for each directory. I am planning to create some directories with a lot of text files. There after I may update in dumps.

    My next thought was to find (or write a script) to generate a gophermap based upon a directory listing. I see many gopherholes with long lists of directories







    and I assumed handcrafted gophermaps were not created to display them. But I could be wrong.

    When I try to navigate directly to a file I do get an error message of,
    "does not exist (no handler found) error.host 1"

    I'm sure I am doing something wrong. And if ultimately I need to create gophermaps for each directory, I'll do so.

    I am enjoying the journey...

    --- Mystic BBS v1.12 A47 2020/12/04 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From 0zZ-U@1337:3/106 to winston1138 on Thu May 6 10:21:59 2021
    Hi winston1138,
    Take a look at Gophernicus, it can list all the files within
    a directory without manually making a gophermap, it also allows you
    to execute any scripts for ex. page counter locally.
    You can see the page counter at work at:
    gopher://ozz.ddns.net
    At the downloads section you'll find a script that makes Phlogging
    very easy and automates the creation of sub dirs and gophermaps for
    Phlog entries


    .:[ Exit stage left ]:.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (1337:3/106)
  • From winston1138@1337:1/101 to 0zZ-U on Sat May 8 02:59:17 2021
    Thanks for the suggestion. I did try gophernicus and could seem to get the hole




    served, although the package said it installed properly. But I think I am going




    to try it again from scratch.

    --- Mystic BBS v1.12 A47 2020/12/04 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From 0zZ-U@1337:3/106 to winston1138 on Sat May 8 13:43:38 2021
    Thanks for the suggestion. I did try gophernicus and could seem to get
    the hole served, although the package said it installed properly. But I think I am going to try it again from scratch.

    I installed it on my Raspberry Pi and it ran with no problems, also
    tried to install it on my cloud server and wasn't successful there.
    It could have been an issue with the whole virtual machine deployment..
    who knows..
    Good luck


    .:[ Exit stage left ]:.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (1337:3/106)
  • From paulie420@1337:3/129 to winston1138 on Sun May 9 07:32:34 2021
    Paulie420 may have had a similar issue as posted on Github. But there
    were not any replies to him as of today.

    Any hints, thoughts, or ideas are greatly appreciated.


    My issues with Pygopher and the file structure not showing up w/o a gophermap came down to permissions. I didn't have 775 in the /gopher file structure but Pygopherd was showing some 'unable to access' or 'unable to open file' error.

    I kept playing with it and finally got .txt's to open w/o a gophermap file - which was the only way for me because some directories had 1000s of files; I wasn't going to make a gophermap for them.

    Sorry my reply was delayed - I've been having some FTN issues here.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/05/03 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From winston1138@1337:1/101 to paulie420 on Mon May 10 15:19:31 2021
    No worries. I ultimately spun up a new virtual server and have my hole running on Gophernicus. Now I'll move to secure it and change some of the permissions, documenting my changes along the way.

    I'm just glad I am finally running something. I have enjoyed the seemingly uncharted territory as there is very little documentation out there these days.


    Or perhaps just in comparison to what I am used to with regard to other software.

    --- Mystic BBS v1.12 A47 2020/12/04 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (1337:1/101)
  • From paulie420@1337:3/129 to winston1138 on Mon May 10 17:29:54 2021
    No worries. I ultimately spun up a new virtual server and have my hole running on Gophernicus. Now I'll move to secure it and change some of
    the permissions, documenting my changes along the way.

    Awesome; let us know if you do any of the more advanced stuff now that you're on Gophernicus. Even if its just a counter script.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/05/03 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From tallship@1337:3/116 to paulie420 on Mon May 31 22:38:31 2021
    On 10 May 2021, paulie420 said the following...

    No worries. I ultimately spun up a new virtual server and have my hol running on Gophernicus. Now I'll move to secure it and change some of

    Awesome; let us know if you do any of the more advanced stuff now that you're on Gophernicus. Even if its just a counter script.


    I've been happy With Gophernicus for a few years now. As I understand it, Pygopherd still hasn't finished with the rewrite to Python3, and I know that John said he wasn't going to do it.

    Bucktooth is also easy to get going, uses inetd, and is written in Perl, so it's basically duump the script, chown the dir tree and edit /etc/xinetd.conf

    I serve files up to around a Gbyte now from there so Gophernicus (or
    Geomyidae - gopher://gopher.r-36.net/1/scm/geomyidae are better suited for those roles IMO).

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: V'Ger - Vger.Cloud (1337:3/116)
  • From paulie420@1337:3/129 to tallship on Tue Jun 1 17:23:40 2021
    I've been happy With Gophernicus for a few years now. As I understand it, Pygopherd still hasn't finished with the rewrite to Python3, and I know that John said he wasn't going to do it.

    I've heard that Gophernicus will run the script(s) that I want with ease - I just haven't bothered to switch it over yet. Seems like each software displays gophermap's a bit differently and I'm scared that I'll have to rewrite things. I know Gopher is 'standard', but I swear that... either I'm not writing my Gophermap's correctly or the different servers do interpret maps differently.

    Thanks for the tip, tho... I didn't know that Pygopherd was not being developed anymore. Makes sense; my issue went unanswered... thx.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/05/03 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)
  • From 0zZ-U@1337:3/106 to paulie420 on Wed Jun 2 09:32:16 2021
    For those interested, I've made a few simple scripts to use
    with Gophernicus. A visitor counter and a random quote script.
    You can download it at:
    gopher://ozz.ddns.net
    Also available for download is a Phlogging script, that I found
    somewhere else but adapted it to make it easier to use with
    Gophernicus


    .:[ Exit stage left ]:.

    --- Mystic BBS v1.12 A45 2020/02/18 (Linux/64)
    * Origin: The Bottomless Abyss BBS * bbs.bottomlessabyss.net (1337:3/106)
  • From paulie420@1337:3/129 to 0zZ-U on Wed Jun 2 16:22:49 2021
    For those interested, I've made a few simple scripts to use
    with Gophernicus. A visitor counter and a random quote script.
    You can download it at:
    gopher://ozz.ddns.net

    Thanks for the link ; lol, without a counter on my current Gopher I don't know if I get enough traffic to make a switch to Gophernicus worthwhile... but with Pygopherd I can't run a counter script - and .... but --- OMG. :P

    Appreciate you sharing your scripts.. maybe one day I'll jump over and use yours/create my own 'Gopher magic'. You rock.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2021/05/03 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (1337:3/129)