Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0324/4

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


tcs: new html character codes, print verbose listing with usage
 [rsc] --rw-rw-r-- M 1115807 rsc sys 7318 Mar 24 12:23 sys/src/cmd/tcs/html.c
	[diffs elided - too long]
	[diff -c /n/sourcesdump/2006/0324/plan9/sys/src/cmd/tcs/html.c /n/sourcesdump/2006/0325/plan9/sys/src/cmd/tcs/html.c]
 [rsc] --rw-rw-r-- M 1115807 glenda sys 15545 Mar 24 12:19 sys/src/cmd/tcs/tcs.c
	/n/sourcesdump/2006/0324/plan9/sys/src/cmd/tcs/tcs.c:119,124 - 
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/tcs/tcs.c:119,125
	  usage(void)
	  {
	  	EPR "Usage: %s [-slv] [-f cs] [-t cs] [file ...]\n", argv0);
	+ 	verbose = 1;
	  	list();
	  	EXIT(1, "usage");
	  }
	/n/sourcesdump/2006/0324/plan9/sys/src/cmd/tcs/tcs.c:426,438 - 
	/n/sourcesdump/2006/0325/plan9/sys/src/cmd/tcs/tcs.c:427,439
	  	{ "ebcdic", "EBCDIC", Table, (void *)tabebcdic },	/* 6f is recommended bad map */
	  	{ "euc-k", "Korean EUC: ASCII+KS C 5601 1987", From|Func, 0, (Fnptr)uksc_in },
	  	{ "euc-k", "Korean EUC: ASCII+KS C 5601 1987", Func, 0, (Fnptr)uksc_out },
	- 	{ "gb", "GB2312-80", From|Func, 0, (Fnptr)gb_in },
	- 	{ "gb", "GB2312-80", Func, 0, (Fnptr)gb_out },
	+ 	{ "gb", "GB2312-80 (Chinese)", From|Func, 0, (Fnptr)gb_in },
	+ 	{ "gb", "GB2312-80 (Chinese)", Func, 0, (Fnptr)gb_out },
	  	{ "html", "HTML", From|Func, 0, (Fnptr)html_in },
	  	{ "html", "HTML", Func, 0, (Fnptr)html_out },
	  	{ "jis", "guesses at the JIS encoding", From|Func, 0, (Fnptr)jis_in },
	- 	{ "jis-kanji", "ISO 2022-JP", From|Func, 0, (Fnptr)jisjis_in },
	- 	{ "jis-kanji", "ISO 2022-JP", Func, 0, (Fnptr)jisjis_out },
	+ 	{ "jis-kanji", "ISO 2022-JP (Japanese)", From|Func, 0, (Fnptr)jisjis_in },
	+ 	{ "jis-kanji", "ISO 2022-JP (Japanese)", Func, 0, (Fnptr)jisjis_out },
	  	{ "koi8", "KOI-8 (GOST 19769-74)", Table, (void *)tabkoi8 },
	  	{ "latin1", "ISO 8859-1", Table, (void *)tab8859_1 },
	  	{ "macrom", "Macintosh Standard Roman character set", Table, (void *)tabmacroman },


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.