⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 maketerm.ex

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 EX
字号:
e capsset noreadonlyg/^#/d/--- begin bool/+,/--- end bool/-w! bool/--- begin num/+,/--- end num/-w! num/--- begin str/+,/--- end str/-w! stre! bool1,$s/"	.*/", /1,$s/.*	"/"/1,10j2,$j1ichar *boolnames[] = {.$a0};.w! boolnamese bool1,$s/^[^"]*"[^"]*".//1,$s/"	.*/",/1,10j2,$j1ichar *boolcodes[] = {.$a0};.w>> boolnamese! bool1,$s;"[^"]*"[ 	]*".."	;/* ;1,$s;$; */;1,$s;^;	;1i    char.$a	lastbool;.w! boolvalse num1,$s/"	.*/", /1,$s/.*	"/"/1,$j1ichar *numnames[] = {.$a0};.w! numnamese num1,$s/^[^"]*"[^"]*".//1,$s/"	.*/",/1,$j1ichar *numcodes[] = {.$a0};.w>> numnamese! num1,$s;"[^"]*"[ 	]*".."	;/* ;1,$s;$; */;1,$s;^;	;1i    short.$a	lastnum;.w! numvalse str1,$s/"	.*/", /1,$s/.*	"/"/1,$-10g/^/.,+9j+,$j1ichar *strnames[] = {.$a0};.w! strnamese str1,$s/^[^"]*"[^"]*".//1,$s/"	.*/",/1,$-10g/^/.,+9j+,$j1ichar *strcodes[] = {.$a0};.w>> strnamese! str1,$s;"[^"]*"[ 	]*".."	;/* ;1,$s;$; */;1,$s;^;	strs.;$a	laststr;.w! strvals1,$df capnames.cr boolnamesr numnamesr strnamesw!1,$df term.hatypedef char *charptr;struct strs {    charptr.r strvals1,.s/strs\.//$a};struct term {.r boolvalsr numvalsa};#ifndef NONSTANDARDextern struct term *cur_term;#endif.1,$s/^	./\U&/0r boolvals.r numvals.r strvals.ka1,'av/^	/d1,'as/^	//1,.s/	[^	].*/	/1,.s/,/ /1,.s/.*/#define &	CUR \u&/1,.s/strs\.//1,.s/Strs.\(.\)/strs.\u\1/1,+g/;/da.$;?^}?;.i	struct strs strs;	struct strs2 strs2;	short Filedes;		/* file descriptor being written to */#ifndef NONSTANDARD	SGTTY Ottyb,		/* original state of the terminal */	      Nttyb;		/* current state of the terminal */#endif." clean up unused fields1,$s/[ 	]*$///Laststr/-s/,/;//Laststr/d/Lastbool/-s/,/;//Lastbool/d/Lastnum/-s/,/;//Lastnum/d" split strings into two groups < 100 to fit in ritchie compiler1;/CUR strs/+100;.,$s/CUR strs/CUR strs2//^struct strs/+101s/,/;/a};struct strs2 {    charptr.1i/* * term.h - this file is automatically made from caps and maketerm.ex. * * Guard against multiple includes. */#ifndef auto_left_margin.$a#endif auto_left_margin #ifdef SINGLEextern struct term _first_term;# define CUR	_first_term.#else# define CUR	cur_term->#endif.w!q

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -