home *** CD-ROM | disk | FTP | other *** search
- /* generated by MKPTYPES (and edited a bit) */
-
- /* basic.c */
- bool backchar(int f, int n, int k);
- bool forwchar(int f, int n, int k);
- bool move_ptr(WINDOW *wp, long len, bool dot, bool fix, bool rel);
- bool wind_on_dot(WINDOW *wp);
- bool gotobob(void);
- bool gotoeob(void);
- bool forwline(int f, int n, int k);
- bool backline(int f, int n, int k);
- bool forwpage(int f, int n, int k);
- bool backpage(int f, int n, int k);
- bool setmark(void);
- bool swapmark(void);
- bool gotoline(int f, int n, int k);
-
- /* buffer.c */
- bool usebuffer(void);
- bool use_buffer(void);
- bool _usebuffer(char *bufn);
- bool killbuffer(void);
- bool _killbuffer(char *bufn);
- bool listbuffers(void);
- bool showsavebuf(void);
- bool popblist(void);
- bool makelist(void);
- bool addline(char *text);
- bool anycb(void);
- BUFFER *bfind(char *bname, int cflag);
- BUFFER *bcreate(char *bname);
- bool bclear(BUFFER *bp);
- bool next_buf(void);
- bool prev_buf(void);
- bool yank_buffer(void);
- bool _yankbuffer(char *bufn);
- bool buffername(void);
- bool killablebufs(BUFFER *bp);
- bool onebuf(BUFFER *bp);
- void funky_name(char *bname, int n);
- bool pickone(void);
- bool bufsizlock(void);
- void b_append_l(BUFFER *buf_p, LINE *lp);
- bool b_append_c(BUFFER *buf_p, int ch);
- void save_buf_init(void);
- void save_buf_home(void);
- D16 get_save_char(void);
-
- /* display.c */
- void vtinit(void);
- void vtfree(void);
- void vttidy(void);
- void vtmove(int row, int col);
- void vtputc(int c);
- bool vtputd(WINDOW *wp, int row);
- void bin_to_text(char *bin_buf, char *txt_buf, uint len, ROW_FMT *fmt_ptr);
- D16 get_int(uchar *w_buf);
- D32 get_long(uchar *w_buf);
- D64 get_double(uchar *w_buf);
- uint fill_buf(WINDOW *wp, LINE *lin, uint lin_off, char *w_buff, uint cnt);
- void vteeol(void);
- void update(void);
- uint get_currow(WINDOW *wp);
- uint get_curcol(WINDOW *wp);
- void modeline(WINDOW *wp);
- void writ_echo(char *buf);
- bool print(void);
-
- /* ebcdic.c */
- char to_ebcdic(int ch);
-
- /* echo.c */
- void eerase(void);
- bool eyesno(char *sp);
- bool ereply(char *fp, char *buf, int nbuf, char *arg);
- bool eread(char *fp, char *buf, int nbuf, int flag, char *ap);
- int getxtra(SYMBOL *sp1, SYMBOL *sp2, int cpos);
- void eformat(char *fp, char *ap);
- void eputi(int i, int r);
- void eputs(char *s);
- void eputc(int c);
- void err_echo(char *buf);
-
- /* extend.c */
- bool bindtokey(void);
- bool extend(int f, int n, int k);
- bool help(void);
- void sort_buf(BUFFER *b_ptr, int cnt);
- bool wallchart(int f, int n, int k);
- void check_extend(char *sfname);
- char *flook(char *fname, int hflag);
- bool load_extend(void);
- int find_keyval(char *name);
-
- /* file.c */
- bool fileread(void);
- bool fileinsert(void);
- bool file_visit(int f, int n, int k);
- bool viewfile(void);
- bool filevisit(void);
- bool load_file(char *fname, A32 start, A32 end);
- bool readin(char fname[], A32 start, A32 end);
- void makename(char bname[], char fname[]);
- bool filewrite(void);
- bool filesave(void);
- bool writeout(char *fn, A32 start, A32 end, int mode);
- bool filename(void);
- bool parse_f_name(char *fn, A32 *start, A32 *end);
-
- /* fileio.c */
- char ffropen(char *fn);
- #ifdef AMIGA
- A32 file_len(char *fname);
- #else
- A32 file_len(void);
- #endif
- bool ffwopen(char *fn, int mode);
- bool ffclose(void);
- bool ffputline(char buf[], int nbuf);
- bool ffgetline(char *buf, LPOS nbuf, LPOS *rbuf);
- A32 ffseek(A32 posn);
- bool fbackupfile(char *fname);
- void adjustcase(char *fn);
- int isvalid(char *name);
-
- /* format.c */
- void init_fmt(void);
-
- /* kbd.c */
- int getkey(void);
- int getctl(void);
- void keyname(char *cp, int k);
-
- /* line.c */
- LINE *lalloc(int size);
- void lfree(LINE *lp);
- void lchange(int flag);
- LINE *l_break_in_two(LINE *lp, LPOS lo, LPOS extra);
- bool linsert(int n, int c);
- bool ldelete(A32 n_bytes, int kflag);
- void lreplace(int n, int c);
- bool lrepl_str(int plen, LINE *rstr, LINE *mstr);
- void l_fix_up(LINE *line);
-
- /* main.c */
- void main(int argc, char *argv[]);
- bool execute(int c, int f, int n);
- void edinit(char bname[]);
- bool flush_all(void);
- bool flushnquit(int f, int n, int k);
- bool quit(int f, int n, int k);
- bool ctlxlp(int f, int n, int k);
- bool ctlxrp(int f, int n, int k);
- bool ctlxe(int f, int n, int k);
- bool ctrlg(int f, int n, int k);
- bool showversion(int f, int n, int k);
- void _lowercase(char *s);
- bool autosave(void);
-
- /* random.c */
- bool showcpos(int f, int n, int k);
- bool twiddle(void);
- bool quote(int f, int n, int k);
- bool insert_toggle(void);
- bool selfinsert(int f, int n, int k);
- bool insertunit(int f, int n, int k);
- bool fill_out(void);
- bool dec_chr_ok(char *char_buf, char *max_str, int chr, int pos);
- void set_mode_vars(void);
- bool asciimode(void);
- bool ebcdicmode(void);
- bool floatmode(void);
- bool decimalmode(void);
- bool hexmode(void);
- bool octalmode(void);
- bool binarymode(void);
- bool dispshift(int f, int n, int k);
- bool forwdel(int f, int n, int k);
- bool backdel(int f, int n, int k);
- bool dispsize1(void);
- bool dispsize2(void);
- bool dispsize4(void);
- bool dispswapbyte(int f, int n, int k);
- bool yank(int f, int n, int k);
- bool linkwind(void);
- void bad_key(int key);
- bool n_way_combine(int f, int n, int k);
- bool n_way_split(int f, int n, int k);
- void wind_on_dot_all(void);
-
- /* region.c */
- bool killregion(int f, int n, int k);
- bool copyregion(int f, int n, int k);
- bool getregion(REGION *rp);
- bool save_region(int f, int n, int k);
-
- /* search.c */
- bool forwsearch(void);
- bool backsearch(void);
- bool searchagain(void);
- bool queryrepl(int f, int n, int k);
- bool replaceit(void);
- bool forwsrch(void);
- bool backsrch(void);
- bool readpattern(void);
- bool recall(void);
- void next_pat(void);
- bool compare(void);
-
- /* spawn.c */
- bool spawncli(int f, int n, int k);
-
- /* symbol.c */
- SYMBOL *symlookup(char *cp);
- int symhash(char *cp);
- void keymapinit(void);
- void keyadd(int new, bool (*funcp )(void ), char *name, int modify);
- void keydup(int new, char *name);
-
- /* tcap.c */
- void putpad(char *str);
- void tcapopen(void);
- void tcapclose(void);
- void tcapmove(int row, int col);
- void tcapeeol(void);
- void tcapeeop(void);
- void tcaprev(int state);
- void putnpad(char *str, int n);
-
- /* termcap.c */
- #ifdef OS2
- int tgetent(char *bp, char *name);
- int tgetflag(char *id);
- int tgetnum(char *id);
- char *tgetstr(char *id, char **area);
- char *do_esc(char *out, char *in);
- char *tgoto(char *cm, int destcol, int destline);
- void tputs(char *cp, int affcnt, int (*outc )(int ));
- #endif
-
- /* termio.c */
- #ifdef UNIX
- void ttopen(void);
- void ttclose(void);
- void ttraw(void);
- void ttcooked(void);
- int ttputc(int c);
- void ttflush(void);
- int ttgetc(void);
- int ttkeyready(void);
- #endif
-
- /* text.c */
-
- /* tty.c */
- void ttinit(void);
- void tttidy(void);
- void ttmove(int row, int col);
- void tteeol(void);
- void tteeop(void);
- void ttbeep(void);
- void asciiparm(int n);
- void ttnowindow(void);
- void ttcolor(int color);
-
- /* ttyio.c */
- #ifdef MSDOS
- void ttopen(void);
- void ttclose(void);
- void ttflush(void);
- int ttputc(int c);
- void putline(int row, int startcol, int stringsize, char *string);
- int ttkeyready(void);
- int ttgetc(void);
- void ttraw(void);
- void ttcooked(void);
- void set_crt_type(void);
- #endif
-
- /* ttykbd.c */
- void ungetkey(int k);
- int getkbd(void);
- void ttykeymapinit(void);
- char *keystrings(int key);
-
- /* wangpc.c */
- void is_wang(void);
- #ifdef MSDOS
- int getsysconfig(union REGS *outregs, struct SREGS *segregs);
- #endif
- char getscreenstate(void);
-
- /* window.c */
- bool reposition(void);
- bool nextwind(void);
- bool prevwind(void);
- bool mvdnwind(int f, int n, int k);
- bool mvupwind(int f, int n, int k);
- bool onlywind(void);
- bool delwind(void);
- bool splitwind(void);
- bool enlargewind(int f, int n, int k);
- bool shrinkwind(int f, int n, int k);
- WINDOW *wpopup(void);
- bool refresh(void);
- bool screen_rows(int f, int n, int k);
-
- /* word.c */
- bool backunit(int f, int n, int k);
- bool forwunit(int f, int n, int k);
- bool delfunit(int f, int n, int k);
- bool delbunit(int f, int n, int k);
-