File:  [Research Unix] / researchv10no / ncurses / screen / termcap.ed
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:35 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Norman

e caps
g/^#/d
/--- begin bool/+,/--- end bool/-w bool
/--- begin num/+,/--- end num/-w num
/--- begin str/+,/--- end str/-w str
e bool
1,$s/"/'/
1,$s/"/'/
1,$s/	*'[^	]*'	*"//
1,$s/".*//
1,$s/\(.*\),\(.\)\(.\)/	case two('\2','\3'): rv = \1; break;
w
e num
1,$s/"/'/
1,$s/"/'/
1,$s/	*'[^	]*'	*"//
1,$s/".*//
1,$s/\(.*\),\(.\)\(.\)/	case two('\2','\3'): rv = \1; break;
w
e str
1,$s/"/'/
1,$s/"/'/
1,$s/	*'[^	]*'	*"//
1,$s/".*//
1,$s/\(.*\),\(.\)\(.\)/	case two('\2','\3'): rv = \1; break;
w
e termcap.form
/BOOL/d
-r bool
/NUM/d
-r num
/STR/d
-r str
w termcap.c
q

unix.superglobalmegacorp.com

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