ftp.nice.ch/pub/next/unix/editor/joe2.3.N.bs.tar.gz#/joe2.3.N.bs/rc.h

This is rc.h in view mode; [Download] [Up]

#ifndef _Irc
#define _Irc 1

#include "kbd.h"
#include "macro.h"

typedef struct options OPTIONS;
struct options
 {
 OPTIONS *next;
 char *name;
 int overtype;
 int lmargin;
 int rmargin;
 int autoindent;
 int wordwrap;
 int tab;
 int indentc;
 int istep;
 char *context;
 char *lmsg;
 char *rmsg;
 int linums;
 int readonly;
 int french;
 int spaces;
 MACRO *mnew;		/* Macro to execute for new files */
 MACRO *mold;		/* Macro to execute for existing files */
 MACRO *msnew;		/* Macro to execute before saving new files */
 MACRO *msold;		/* Macro to execute before saving existing files */
 };

extern OPTIONS pdefault;
void setopt();

/* KMAP *getcontext(char *name);
 * Find and return the KMAP for a given context name.  If none is found, an
 * empty kmap is created, bound to the context name, and returned.
 */
KMAP *getcontext();

/* int procrc(char *name);  Process an rc file
   Returns 0 for success
          -1 for file not found
           1 for syntax error (errors written to stderr)
*/
int procrc();

int glopt();
int umode();
void izhelp();

#endif

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.