Blob
- Date:
- Message:
- acme: add log file in acme root directory Reading /mnt/acme/log reports a log of window create, put, and delete events, as they happen. It blocks until the next event is available. Example log output: 8 new /Users/rsc/foo.go 8 put /Users/rsc/foo.go 8 del /Users/rsc/foo.go This lets acme-aware programs react to file writes, for example compiling code, running a test, or updating an import block. TBR=r R=r https://codereview.appspot.com/89560044
- Actions:
- History | Blame | Raw File
1 <$PLAN9/src/mkhdr3 TARG=acme4 DIRS=mail6 OFILES=\7 acme.$O\8 addr.$O\9 buff.$O\10 cols.$O\11 disk.$O\12 ecmd.$O\13 edit.$O\14 elog.$O\15 exec.$O\16 file.$O\17 fsys.$O\18 logf.$O\19 look.$O\20 regx.$O\21 rows.$O\22 scrl.$O\23 text.$O\24 time.$O\25 util.$O\26 wind.$O\27 xfid.$O\29 HFILES=dat.h\30 edit.h\31 fns.h\33 <$PLAN9/src/mkone34 <$PLAN9/src/mkdirs36 edit.$O ecmd.$O elog.$O: edit.h38 likeplan9:V:39 mkdir -p likeplan940 rm -f likeplan9/*41 for i in *.c42 do43 9 sed 's/->(fcall|lk|b|fr|ref|m|u|u1)\./->/g;44 s/\.(fcall|lk|b|fr|ref|m|u|u1)([^a-zA-Z0-9_])/\2/g45 s/&(([a-zA-Z0-9_]|->|\.)*)->(fcall|lk|b|fr|ref|m|u|u1)([^a-zA-Z0-9_])/\1\4/g46 s/range\(([^,()]+), ([^,()]+)\)/(Range){\1, \2}/g47 ' $i >likeplan9/$i48 done50 diffplan9:V:51 mk likeplan952 9 diff -n plan9 likeplan9 | sed 's;likeplan9/;;'