1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-12-26 10:18:07 +11:00
OC-Minitel/FRequest/OpenOS
2020-03-13 13:29:52 +11:00
..
etc/rc.d fixed some temporary hangs in fserv 2020-03-13 13:29:52 +11:00
usr/bin convert all the applications to require minitel rather than net 2018-08-11 13:59:44 +10:00
README.md updated fget to use a better URL parser from the KittenOS version 2018-04-18 10:22:59 +10:00

FRequest for OpenOS

This package includes the FRequest daemon, in etc/rc.d/frequest.lua, and the fget FRequest client, in usr/bin/fget.lua.

fget client

Installation

With OPPM

  1. Run oppm install fget

Manual

  1. Place fget.lua into /usr/bin

Invocation

fget can be used to get both directory listings and files, provided the server allows it.

To use fget, run:

fget <host[:port]>/<path>

So, for example:

fget sks-srv:70/OpenOS

fserv daemon

fserv is the FRequest server. It provides directory listing and file transfer.

Installation

With OPPM

  1. Run oppm install frequestd

Manual

  1. Place fserv.lua into /etc/rc.d
  2. Run rc frequestd enable; rc minitel start

Configuration

The fserv daemon does not keep a configuration file, so settings have to be set every boot.

To change a setting, one invokes:

rc fserv set_<option> value

Available settings

  • port: the minitel port the FRequest server runs on
  • path: the root path of the server

In addition, one can invoke rc fserv debug to get large amounts of debug output.