1
0
mirror of https://github.com/ShadowKatStudios/OC-Minitel.git synced 2024-11-09 20:08:06 +11:00
OC-Minitel/FRequest/OpenOS
2018-07-28 05:52:37 +10:00
..
etc/rc.d replaced a bunch of different configuration options in the minitel daemon with a single command 2018-07-28 05:52:37 +10:00
usr/bin added the -s flag to fget for getting file sizes 2018-07-27 03:38:45 +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.