File:  [Research Unix] / researchv9 / jtools / src / pi / srctext.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv9-SUN3_old, researchv9-SUN3, HEAD
researchv9-SUN3(old)

#ifndef SRCTEXT
#define SRCTEXT
#ifndef UNIV_H
#include "univ.h"
#endif
>pri
#include <CC/stdio.h>
>

class SrcText : public PadRcv { friend Stmt; friend SrcDir;
class	Pad	*pad;
>pub
	char	pub_filler[40];
>pri
class	Source	*source;
	int	lastline;
	char	**edge;
	char	*body;
	int	current;
	char	*path;
	int	fd;
	long	compiletime;
	char	*prevpat;
	short	warned;
	short	promoted;

	void	promote();
	void	reopen();
class	Core	*core();
	char	*read(class Menu&);
class	Process	*process();
	void	go();
	void	currentstmt();
	void	stmtstep(long);
	void	stepinto();
	void	free();
	void	banner();
>
PUBLIC(SrcText,U_SRCTEXT)
		SrcText(Source*, long );
	void	open();
	void	linereq(long,Attrib=0);
	void	select(long,long=0);
	void	userclose();
	char	*kbd(char*);
	char	*help();
	char	*contextsearch(int,char*,int);
	char	*srcline(long);
};
#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.