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

📄 arm_patch_2.32

📁 e3 是一个全屏的用户友好的文本编辑器
💻 32
字号:
diff -urN e3c_old/Makefile e3c_new/Makefile--- e3c_old/Makefile	Sun Dec 10 15:34:54 2000+++ e3c_new/Makefile	Sat Apr 27 17:41:54 2002@@ -9,22 +9,26 @@ MANSEC='1' MANDIR='$(PREFIX)/man/man$(MANSEC)' +GCC='/opt/Embedix/tools/bin/arm-linux-gcc'+STRIP='/opt/Embedix/tools/bin/arm-linux-strip'+#GCC='gcc'+#STRIP=strip  ##_____________________________________________________________  CTARGET=e3c CSOURCES=e3.c-CFLAGS = -Wall  -g -O2 -fomit-frame-pointer+CFLAGS = -Wall  -g -O2  all: $(CTARGET)   $(CTARGET): $(CSOURCES) Makefile-	gcc $(CFLAGS) -DLIBDIR=\"$(PREFIX)/lib\" $(CSOURCES) -o $(CTARGET)-	strip $(CTARGET)+	$(GCC) $(CFLAGS) -DLIBDIR=\"$(PREFIX)/lib\" $(CSOURCES) -o $(CTARGET)+	$(STRIP) $(CTARGET)  list:	$(CSOURCES) Makefile-	gcc $(CFLAGS) -Wa,-a -c -g -DLIBDIR=\"$(PREFIX)/lib\" $(CSOURCES) >e3c.list+	$(GCC) $(CFLAGS) -Wa,-a -c -g -DLIBDIR=\"$(PREFIX)/lib\" $(CSOURCES) >e3c.list  install: $(CTARGET) 	install -d $(PREFIX) $(BINDIR) $(LIBDIR) $(MANDIR)diff -urN e3c_old/e3.c e3c_new/e3.c--- e3c_old/e3.c	Wed Dec 12 20:01:03 2001+++ e3c_new/e3.c	Sat Apr 27 17:43:29 2002@@ -845,7 +845,7 @@ 	eax = *(long*)edx;		// each 16 bit lines,columns 	if (!eax)  eax = 0x00500018;	// i.e. (80<<16)+24  (assume 80x24) 	lines = (eax-1)&0xFF;		// without status line-#if 0+#if 1 	// this is not portable: maybe 32bit Linux plus some Un*x systems ?  	columns = eax >> 16;		// columns > 255 are ignored... #else@@ -1515,7 +1515,7 @@ 	PUSH(edi);			// important e.g. for asksave 	CALL(InitStatusLine,153); 	ecx = columns;			// width-	if (ecx < (stdtxtlen+15+5+2)) goto RSno_lineNr;	// this window is too small+	if (ecx < (stdtxtlen+1 +5+2)) goto RSno_lineNr;	// this window is too small 	screenline[1] = changed; 	ebx = (int)542330441;		//(' SNI');		// Insert 	if (insstat==1) goto RSL1;@@ -1529,13 +1529,13 @@ 	ebx >>=8;	 	*((unsigned char*)&(screenline[7])) = (char)ebx; 	edi = (long)(screenline+stdtxtlen);-	ecx-=(stdtxtlen+15+5);		// space for other than filename+	ecx-=(stdtxtlen+1+5);		// space for other than filename 	esi = (long)&filepath; RSL2:	eax=*(unsigned char*)esi++; 	if (!eax) goto RSL4; 	*(unsigned char*)edi++=eax; 	if (--ecx) goto RSL2;-RSL4:	edi = (long)&(screenline[-15]);+RSL4:	edi = (long)&(screenline[-2]); 	edi+=columns; 	eax = columne; 	++eax;				// start with 1

⌨️ 快捷键说明

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