9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] more miscellaneous changes
@ 2021-04-03  5:19 Xiao-Yong Jin
  0 siblings, 0 replies; only message in thread
From: Xiao-Yong Jin @ 2021-04-03  5:19 UTC (permalink / raw)
  To: 9front

1. cmd/vt: lighter border for blkbg
2. cmd/dict: translate more unicode symbols for pgw
3. cmd/cfs: prepare errstr for error
4. cmd/aux: add missing conswdir to mkfile
5. cmd/aan: suicide prevention; it is okay to get a rejection


diff -r cc26fdf57bb2 sys/src/cmd/vt/main.c
--- a/sys/src/cmd/vt/main.c	Sat Mar 13 14:57:53 2021 +0100
+++ b/sys/src/cmd/vt/main.c	Fri Apr 02 23:54:39 2021 -0500
@@ -326,7 +326,7 @@
 
 	red = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DRed);
 	green = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DGreen);
-	bordercol = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xCCCCCCCC);
+	bordercol = allocimage(display, Rect(0,0,1,1), screen->chan, 1, blkbg ? 0xCCCCCCCC : 0x333333CC);
 	highlight = allocimage(display, Rect(0,0,1,1), CHAN1(CAlpha,8), 1, 0x80);
 
 	for(i=0; i<8; i++){
diff -r cc26fdf57bb2 sys/src/cmd/dict/pgw.c
--- a/sys/src/cmd/dict/pgw.c	Sat Mar 13 14:57:53 2021 +0100
+++ b/sys/src/cmd/dict/pgw.c	Fri Apr 02 23:54:39 2021 -0500
@@ -132,6 +132,8 @@
 	{"abreve",	L'ă'},
 	{"acirc",	L'â'},
 	{"acute",		LACU},
+	{"adot",	L'ȧ'},
+	{"aemacr",	L'ǣ'},
 	{"aelig",		L'æ'},
 	{"agrave",	L'à'},
 	{"ahook",	L'ą'},
@@ -156,6 +158,7 @@
 	{"arba",	L'ب'},		/* baa U+0628 */
 	{"arha",	L'ه'},		/* ha U+0647 */
 	{"aries",	L'♈'},
+	{"aring",	L'å'},
 	{"arnun",	L'ن'},		/* noon U+0646 */
 	{"arnunfull",	L'ن'},		/* noon U+0646 */
 	{"arpa",	L'ه'},		/* ha U+0647 */
@@ -296,6 +299,7 @@
 	{"fflig",	MLFF},
 	{"ffllig",	MLFFL},
 	{"filig",	MLFI},
+	{"fist",	L'☞'},
 	{"flat",	L'♭'},
 	{"fllig",	MLFL},
 	{"frE",		L'E'},		/* should be curly */
@@ -525,6 +529,7 @@
 	{"q",		L'?'},		/* should be raised */
 	{"qamets",	L'ֳ'},		/* U+05B3 */
 	{"quaver",	L'♪'},
+	{"radic",	L'√'},
 	{"rar",		L'→'},
 	{"rasper",	MRAS},
 	{"rdot",	L'·'},
@@ -610,6 +615,7 @@
 	{"thbar",	L'þ'},		/* +bar */
 	{"theta",	L'θ'},
 	{"thinqm",	L'?'},		/* should be thinner */
+	{"thorn",	L'þ'},
 	{"tilde",	LTIL},
 	{"times",	L'×'},
 	{"tri",		L'∆'},
diff -r cc26fdf57bb2 sys/src/cmd/cfs/cfs.c
--- a/sys/src/cmd/cfs/cfs.c	Sat Mar 13 14:57:53 2021 +0100
+++ b/sys/src/cmd/cfs/cfs.c	Fri Apr 02 23:54:39 2021 -0500
@@ -696,11 +696,13 @@
 {
 	va_list arg;
 	static char buf[2048];
+	char err[ERRMAX];
 
+	errstr(err, sizeof err);
 	va_start(arg, fmt);
 	vseprint(buf, buf+sizeof(buf), fmt, arg);
 	va_end(arg);
-	fprint(2, "%s: %s\n", argv0, buf);
+	fprint(2, "%s: %s: %s\n", argv0, buf, err);
 	exits("error");
 }
 
diff -r cc26fdf57bb2 sys/src/cmd/aux/mkfile
--- a/sys/src/cmd/aux/mkfile	Sat Mar 13 14:57:53 2021 +0100
+++ b/sys/src/cmd/aux/mkfile	Fri Apr 02 23:54:39 2021 -0500
@@ -15,6 +15,7 @@
 	clog\
 	cpuid\
 	consolefs\
+	conswdir\
 	data2s\
 	depend\
 	disksim\
diff -r cc26fdf57bb2 sys/src/cmd/aan.c
--- a/sys/src/cmd/aan.c	Sat Mar 13 14:57:53 2021 +0100
+++ b/sys/src/cmd/aan.c	Fri Apr 02 23:54:39 2021 -0500
@@ -357,10 +357,6 @@
 
 			err[0] = '\0';
 			errstr(err, sizeof err);
-			if (strstr(err, "connection refused")) {
-				if(debug) fprint(2, "reconnect; server died...\n");
-				threadexitsall("server died...");
-			}
 			if(debug) fprint(2, "reconnect: dialed %s; %s\n", dialstring, err);
 			sleep(1000);
 		}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-03  8:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-03  5:19 [9front] more miscellaneous changes Xiao-Yong Jin

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git