From 5a8e63b2f016735364d17866d5e2bcb35d20c78b Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 29 Feb 2004 22:10:26 +0000 Subject: Fighting the good fight. Move libfmt, libutf into subdirectories of lib9. Add poll-based socket i/o to libthread, so that we can avoid using multiple procs when possible, thus removing dependence on crappy pthreads implementations. Convert samterm, acme to the single-proc libthread. Bring libcomplete, acme up-to-date w.r.t. Plan 9 distribution. --- src/cmd/acme/dat.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/cmd/acme/dat.h') diff --git a/src/cmd/acme/dat.h b/src/cmd/acme/dat.h index b2a443da..9101ca34 100644 --- a/src/cmd/acme/dat.h +++ b/src/cmd/acme/dat.h @@ -232,6 +232,7 @@ struct Window uchar isscratch; uchar filemenu; uchar dirty; + uchar autoindent; int id; Range addr; Range limit; @@ -486,6 +487,7 @@ enum /* editing */ Collecting, }; +uint globalincref; uint seq; uint maxtab; /* size of a tab, in units of the '0' character */ @@ -524,10 +526,11 @@ Image *tagcols[NCOL]; Image *textcols[NCOL]; int plumbsendfd; int plumbeditfd; -extern char wdir[]; +extern char wdir[]; /* must use extern because no dimension given */ int editing; int erroutfd; int messagesize; /* negotiated in 9P version setup */ +int globalautoindent; Channel *ckeyboard; /* chan(Rune)[10] */ Channel *cplumb; /* chan(Plumbmsg*) */ -- cgit v1.2.3