|
XenevaOS
|
#include <stdint.h>#include <_xeneva.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/_keproc.h>#include <sys/_kefile.h>#include <sys/socket.h>#include <sys/netdb.h>#include <arpa/inet.h>
Classes | |
| struct | GopherLink |
Macros | |
| #define | GOPHER_MAX_PAGE (32 * 1024) |
| #define | GOPHER_MAX_LINKS 64 |
Functions | |
| int | main (int argc, char *argv[]) |
| #define GOPHER_MAX_LINKS 64 |
| #define GOPHER_MAX_PAGE (32 * 1024) |
Gopher client for XenevaOS (terminal app, RFC 1436).
Usage: gopher <host> [port] [selector] (default port 70)
Renders menus with numbered links; type a number to follow it. Type 7 (search) prompts for a query. 'u <host>' switches servers, 'q' quits. Text (0) and directory (1) listings render inline.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |