OK, turing.

<- leave blank

Mon Nov 18 22:33:19 EST 2019

diff -r 9ad06889a5d1 sys/src/cmd/upas/fs/imap.c
--- a/sys/src/cmd/upas/fs/imap.c Mon Nov 18 01:06:02 2019 -0800
+++ b/sys/src/cmd/upas/fs/imap.c Mon Nov 18 19:33:19 2019 -0800
@@ -35,6 +35,7 @@
	uvlong uid;
	ulong sizes;
	ulong dates;
+ ulong flags;
 } Fetchi;

 typedef struct Imap Imap;
@@ -230,26 +231,29 @@
	"\\Stored", Fstored,
 };

-static void
-parseflags(Message *m, char *s)
+static int
+parseflags(char *s)
 {
	char *f[10];
- int i, j, j0, n;
+ int i, j, j0, n, flg;

	n = tokenize(s, f, nelem(f));
	qsort(f, n, sizeof *f, (int (*)(void*,void*))strcmp);
	j = 0;
- for(i = 0; i < n; i++)
+ flg = 0;
+ for(i = 0; i < n; i++){
		for(j0 = j;; j++){
			if(j == nelem(ftab)){
				j = j0; /* restart search */
				break;
			}
- if(strcmp(f[i], ftab[j].flag) == 0){
- m->flags |= ftab[j].e;
+ if(cistrcmp(f[i], ftab[j].flag) == 0){
+ flg |= ftab[j].e;
				break;
			}
		}
+ }
+ return flg;
 }

 /* "17-Jul-1996 02:44:25 -0700" */
@@ -356,8 +360,13 @@
			if(imap->nuid < imap->muid)
				imap->f[imap->nuid].uid = v;
		}else if(strcmp(f[i], "flags") == 0){
+ print("flags: %s\n", f[i + 1]);
+ l = parseflags(f[i + 1]);
+ idprint(imap, "ids: %d, %d, flags: %s (%lx)\n", imap->nuid, imap->muid,
f[i + 1], l);
			if(m)
- parseflags(m, f[i + 1]);
+ m->flags = l;
+ if(imap->nuid < imap->muid)
+ imap->f[imap->nuid].flags = l;
		}else if(strncmp(f[i], "body[]", 6) == 0){
			s = f[i]+6;
			o = 0;
@@ -949,6 +958,7 @@
			m->imapuid = f[i].uid;
			m->fileid = datesec(imap, i);
			m->size = f[i].sizes;
+ m->flags = f[i].flags;
			m->next = *ll;
			*ll = m;
			ll = &m->next;


Mon Nov 18 20:45:00 EST 2019
diff -r 9ad06889a5d1 sys/man/4/rio
--- a/sys/man/4/rio Mon Nov 18 01:06:02 2019 -0800
+++ b/sys/man/4/rio Tue Nov 19 12:15:00 2019 +1030
@@ -201,8 +201,10 @@
 .TP
 .B wctl
 may be read or written.
-When read, it returns the location of the window as four decimal integers
formatted
-in the usual 12-character style: upper left
+When read, it returns the location of the window as four decimal
+integers, padded to 12 characters as described in
+.IR image(6):
+upper left
 .I x
 and
 .IR y ,
@@ -210,7 +212,8 @@
 .I x
 and
 .IR y .
-Following these numbers are strings describing the window's state:
+Following these numbers are strings, also padded to 12 characters,
+describing the window's state:
 .B hidden
 or
 .BR visible ;


Mon Nov 18 20:36:01 EST 2019
diff -r 9ad06889a5d1 sys/man/4/rio
--- a/sys/man/4/rio Mon Nov 18 01:06:02 2019 -0800
+++ b/sys/man/4/rio Tue Nov 19 12:06:01 2019 +1030
@@ -210,7 +210,8 @@
 .I x
 and
 .IR y .
-Following these numbers are strings describing the window's state:
+Following these numbers are strings, also in 12-character style,
+describing the window's state:
 .B hidden
 or
 .BR visible ;


Mon Nov 18 20:28:32 EST 2019
diff -r 9ad06889a5d1 sys/src/cmd/rio/wind.c
--- a/sys/src/cmd/rio/wind.c Mon Nov 18 01:06:02 2019 -0800
+++ b/sys/src/cmd/rio/wind.c Tue Nov 19 11:58:31 2019 +1030
@@ -406,7 +406,7 @@
			t = "notcurrent";
			if(w == input)
				t = "current";
- pair.ns = snprint(pair.s, pair.ns, "%11d %11d %11d %11d %s %s ",
+ pair.ns = snprint(pair.s, pair.ns, "%11d %11d %11d %11d %11s %11s ",
				w->i->r.min.x, w->i->r.min.y,
				w->i->r.max.x, w->i->r.max.y, t, s);
			send(crm.c2, &pair);
			continue;


Mon Nov 18 20:12:19 EST 2019
diff -r fe7fc19b1e64 sys/src/cmd/rio/xfid.c
--- a/sys/src/cmd/rio/xfid.c Sun Nov 03 15:20:57 2019 +0100
+++ b/sys/src/cmd/rio/xfid.c Tue Nov 19 11:42:16 2019 +1030
@@ -670,9 +670,9 @@
		}
		c1 = crm.c1;
		c2 = crm.c2;
- t = emalloc(cnt+UTFmax+1); /* room to unpack partial rune plus */
+ pair.ns = cnt+UTFmax+1; /* room for partial rune and null byte */
+ t = emalloc(pair.ns);
		pair.s = t;
- pair.ns = cnt;
		send(c1, &pair);
		recv(c2, &pair);
		fc.data = pair.s;


Mon Nov 18 19:59:31 EST 2019
diff -r eebb0b47a1fd fqa0.ms
--- a/fqa0.ms Mon Nov 18 19:44:22 2019 -0500
+++ b/fqa0.ms Tue Nov 19 01:59:31 2019 +0100
@@ -765,7 +765,7 @@
 .ihtml h4

 In the year 2002, the fourth edition of Plan 9 was released under the
-.ihtml a <a href="http://9front.org/9front/lib/legal/lpl">
+.ihtml a <a
href="https://code.9front.org/hg/plan9front/file/9ad06889a5d1/lib/legal/lpl">
 Lucent Public License.
 .ihtml a
 This time, Theo de Raadt was not impressed:
diff -r eebb0b47a1fd fqa1.ms
--- a/fqa1.ms Mon Nov 18 19:44:22 2019 -0500
+++ b/fqa1.ms Tue Nov 19 01:59:31 2019 +0100
@@ -228,7 +228,7 @@
 .ihtml a

 •
-.ihtml a <a href="http://9front.org/9front/lib/rob">
+.ihtml a <a
href="https://code.9front.org/hg/plan9front/file/9ad06889a5d1/lib/rob">
 .CW /lib/rob
 .ihtml a
 and other new corpuses, suitable as fodder for
diff -r eebb0b47a1fd fqa6.ms
--- a/fqa6.ms Mon Nov 18 19:44:22 2019 -0500
+++ b/fqa6.ms Tue Nov 19 01:59:31 2019 +0100
@@ -63,7 +63,7 @@

 .B Note:
 A script for downloading all the RFCs is located in
-.ihtml a <a href="http://9front.org/9front/lib/rfc/grabrfc">
+.ihtml a <a
href="https://code.9front.org/hg/plan9front/file/9ad06889a5d1/lib/rfc/grabrfc">
 .CW /lib/rfc/grabrfc .
 .ihtml a
 It copies the files into


Mon Nov 18 18:05:11 EST 2019
[ 1443.970] (--) checkDevMem: using aperture driver /dev/xf86
[ 1444.235] (--) Using wscons driver on /dev/ttyC4
[ 1444.279]
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[ 1444.280] Build Operating System: OpenBSD 6.6 amd64
[ 1444.280] Current Operating System: OpenBSD k.attlocal.net 6.6 GENERIC#353 amd64
[ 1444.282] Build Date: 12 October 2019 11:22:22AM
[ 1444.283]
[ 1444.283] Current version of pixman: 0.38.4
[ 1444.283] Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 1444.283] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1444.284] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 18 18:02:24 2019
[ 1444.286] (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
[ 1444.287] (==) No Layout section.  Using the first Screen section.
[ 1444.287] (==) No screen section available.  Using defaults.
[ 1444.287] (**) |-->Screen "Default Screen Section" (0)
[ 1444.287] (**) | |-->Monitor "<default monitor>"
[ 1444.288] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 1444.289] (==) Automatically adding devices
[ 1444.289] (==) Automatically enabling devices
[ 1444.289] (==) Not automatically adding GPU devices
[ 1444.289] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 1444.290] (==) FontPath set to:
	/usr/X11R6/lib/X11/fonts/misc/,
	/usr/X11R6/lib/X11/fonts/TTF/,
	/usr/X11R6/lib/X11/fonts/OTF/,
	/usr/X11R6/lib/X11/fonts/Type1/,
	/usr/X11R6/lib/X11/fonts/100dpi/,
	/usr/X11R6/lib/X11/fonts/75dpi/
[ 1444.290] (==) ModulePath set to "/usr/X11R6/lib/modules"
[ 1444.290] (II) The server relies on wscons to provide the list of input devices.
	If no devices become available, reconfigure wscons or disable
	AutoAddDevices.
[ 1444.292] (II) Loader magic: 0xc43c0290000
[ 1444.292] (II) Module ABI versions:
[ 1444.292] X.Org ANSI C Emulation: 0.4
[ 1444.292] X.Org Video Driver: 24.0
[ 1444.292] X.Org XInput driver : 24.1
[ 1444.292] X.Org Server Extension : 10.0
[ 1444.294] (--) PCI:*(0@0:1:0) 0666:0666:0000:0000 rev 0, Mem @
0xf0000000/4194304
[ 1444.294] (II) LoadModule: "glx"
[ 1444.298] (II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
[ 1444.309] (II) Module glx: vendor="X.Org Foundation"
[ 1444.310] compiled for 1.20.5, module version = 1.0.0
[ 1444.310] ABI class: X.Org Server Extension, version 10.0
[ 1444.310] (==) Matched vesa as autoconfigured driver 0
[ 1444.310] (==) Assigned the driver to the xf86ConfigLayout
[ 1444.310] (II) LoadModule: "vesa"
[ 1444.313] (II) Loading /usr/X11R6/lib/modules/drivers/vesa_drv.so
[ 1444.314] (II) Module vesa: vendor="X.Org Foundation"
[ 1444.314] compiled for 1.20.5, module version = 2.3.4
[ 1444.314] Module class: X.Org Video Driver
[ 1444.314] ABI class: X.Org Video Driver, version 24.0
[ 1444.315] (II) VESA: driver for VESA chipsets: vesa
[ 1444.316] (II) Loading sub module "vbe"
[ 1444.316] (II) LoadModule: "vbe"
[ 1444.321] (II) Loading /usr/X11R6/lib/modules/libvbe.so
[ 1444.322] (II) Module vbe: vendor="X.Org Foundation"
[ 1444.322] compiled for 1.20.5, module version = 1.1.0
[ 1444.322] ABI class: X.Org Video Driver, version 24.0
[ 1444.323] (II) Loading sub module "int10"
[ 1444.323] (II) LoadModule: "int10"
[ 1444.328] (II) Loading /usr/X11R6/lib/modules/libint10.so
[ 1444.329] (II) Module int10: vendor="X.Org Foundation"
[ 1444.329] compiled for 1.20.5, module version = 1.0.0
[ 1444.329] ABI class: X.Org Video Driver, version 24.0
[ 1444.329] (II) VESA(0): initializing int10
[ 1444.330] (EE) VESA(0): Cannot read int vect
[ 1444.331] (II) UnloadModule: "vesa"
[ 1444.331] (II) UnloadSubModule: "int10"
[ 1444.332] (II) Unloading int10
[ 1444.332] (II) UnloadSubModule: "vbe"
[ 1444.332] (II) Unloading vbe
[ 1444.332] (EE) Screen(s) found, but none have a usable configuration.
[ 1444.333] (EE)
Fatal server error:
[ 1444.333] (EE) no screens found(EE)
[ 1444.334] (EE)
Please consult the The X.Org Foundation support
	 at http://wiki.x.org
 for help.
[ 1444.334] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[ 1444.334] (EE)
[ 1444.357] (EE) Server terminated with error (1).  Closing log file.


Mon Nov 18 18:05:04 EST 2019
OpenBSD 6.6 (GENERIC) #353: Sat Oct 12 10:45:56 MDT 2019
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 2130706432 (2032MB)
avail mem = 2053566464 (1958MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0
acpi at bios0 not configured
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz, 2563.23 MHz, 06-3d-04
cpu0:
FPU,PSE,TSC,MSR,PAE,CX8,PGE,CMOV,PSE36,MMX,FXSR,SSE,SSE2,SSE3,PCLMUL,SSSE3,CX16,PCID,SSE4.1,SSE4.2,MOVBE,POPCNT,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,3DNOWP,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
cpu0: using Broadwell MDS workaround
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel Core 2G Host" rev 0x00
vga1 at pci0 dev 1 function 0 unknown vendor 0x0666 product 0x0666 rev 0x00
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
virtio0 at pci0 dev 2 function 0 "Qumranet Virtio Network" rev 0x00
vio0 at virtio0: address aa:10:5a:6a:c8:87
virtio0: irq 9
virtio1 at pci0 dev 3 function 0 "Qumranet Virtio Network" rev 0x00
vioblk0 at virtio1
scsibus1 at vioblk0: 2 targets
sd0 at scsibus1 targ 0 lun 0: <VirtIO, Block Device, >
sd0: 238475MB, 512 bytes/sector, 488397168 sectors
virtio1: irq 7
virtio2 at pci0 dev 4 function 0 "Qumranet Virtio Network" rev 0x00
vioblk1 at virtio2
scsibus2 at vioblk1: 2 targets
sd1 at scsibus2 targ 0 lun 0: <VirtIO, Block Device, >
sd1: 360MB, 512 bytes/sector, 738240 sectors
virtio2: irq 5
isa0 at mainbus0
isadma0 at isa0
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
com0 at isa0 port 0x3f8/8 irq 4: ns16450, no fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16450, no fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (2f69cff714fa6742.a) swap on sd0b dump on sd0b


Mon Nov 18 17:07:56 EST 2019
; m/find -is from ori@eigenstate.org | tail -2 | m/fmt
✉1927 ori@eigenstate.org cinap_lenrek@felloff.net 9front@9front.org
Re: [9front] ahci led: reset spins.
✉1948 ori@eigenstate.org 9front@9front.org
[9front] [Patch] show read flags in acme.


Mon Nov 18 16:43:47 EST 2019
Принц лучится довольством: "Я верил, что могу рассчитывать на вашу преданность."
Он уводит девочку, держа за руку нежно.  Стражники не препятствуют этому - значит,
прогулку лорд Эддард дозволил.
Джейн, смотрящая завороженно за подругой и принцем, идёт наконец следом в
сопровождении молодого гвардейца.  Белый Плащ что-то говорит ей тихо, она
улыбается.
Идиллию нарушает лишь Клиган, идущий последним.  Хотя от Сансы с Джоффри его
отделяют сир Эйрис и Джейн, Старк чувствует его взгляд.  К счастью, рядом с
любимым ей бояться нечего.

Они идут по галлерее, над которой - изумительной красоты витражи.  Едва ли король
Роберт так любил искусство, но, среди пасторальных сцен, в центре композиции - то,
чего не могло быть при Таргариенах: чёрный олень, склонивший голову, чтобы принять
поднесённую златокудрой девицей корону.
Щит принца прочищает горло, будто стремясь от чего-то избавиться, но взмывший над
дворцовой залой переход, где они впятером, не даёт разглядеть Клигана за широкой
спиной сира Эйриса.

Mon Nov 18 16:37:34 EST 2019
I cannot get enough of Lennart Poettering's software.  There is something in the
air.  I can't decide whether I have been looking for something for my own use, or
whether I have been looking for it for others.  I have seen the world through the
eyes of Poettering's software.  If it isn't there, it is not there.  There is a
very good chance that Poettering has built a world for you as well.

So far, I have used my Poettering software for writing.  I am writing my book
about software and I've been very impressed with it.  I've been reading the latest
magazines, I have been writing my essays.  I have spent hours watching the
computer in the shop, I've tried out my word processors, I've taken notes.  And
I'm beginning to use my web browser to search for information.  It's like I am
being taken back in time.  I want to have something to read as I walk past my
local bookstore.  I feel

prev | next