Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0323/1

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


acme win: Delete on Del (experiment)
 [rsc] --rw-rw-r-- M 1061556 glenda sys 12447 Mar 23 10:13 acme/bin/source/win/main.c
	/n/sourcesdump/2006/0323/plan9/acme/bin/source/win/main.c:106,119 - 
	/n/sourcesdump/2006/0324/plan9/acme/bin/source/win/main.c:106,114
	  {
	  	while(*s==' ' || *s=='\t' || *s=='\n')
	  		s++;
	- 	if(strcmp(s, "Delete")==0){
	+ 	if(strcmp(s, "Delete")==0 || strcmp(s, "Del")==0){
	  		windel(w, 1);
	  		threadexitsall(nil);
	- 		return 1;
	- 	}
	- 	if(strcmp(s, "Del")==0){
	- 		if(windel(w, 0))
	- 			threadexitsall(nil);
	  		return 1;
	  	}
	  	if(EQUAL(s, "scroll")){


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].