XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions
main.cpp File Reference
#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>
Include dependency graph for main.cpp:

Classes

struct  GopherLink
 

Macros

#define GOPHER_MAX_PAGE   (32 * 1024)
 
#define GOPHER_MAX_LINKS   64
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ GOPHER_MAX_LINKS

#define GOPHER_MAX_LINKS   64

◆ GOPHER_MAX_PAGE

#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.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)