9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] small patches
@ 2021-07-13 17:41 Stuart Morrow
  2021-07-18 23:00 ` [9front] " Stuart Morrow
  0 siblings, 1 reply; 8+ messages in thread
From: Stuart Morrow @ 2021-07-13 17:41 UTC (permalink / raw)
  To: 9front

libdraw: topbottom(): rm double-check of n
rio(4): document 'resize ±n' commands
	someone that knows how is going to have to tidy up my troff.
	I don't know how to avoid these g a p s.
man: make -P work in acme
page: cmdmenu: perfectly balanced, as all things should be

--- //.git/fs/object/e8259861da3a55c03491904e4d11c5c15b7577c5/tree/sys/src/libdraw/window.c
+++ sys/src/libdraw/window.c
@@ -150,8 +150,6 @@
 			return;
 		}

-	if(n==0)
-		return;
 	b = bufimage(d, 1+1+2+4*n);
 	if(b == nil)
 		return;

--- //.git/fs/object/e8259861da3a55c03491904e4d11c5c15b7577c5/tree/sys/man/4/rio
+++ sys/man/4/rio
@@ -225,7 +225,7 @@
 .B wctl
 accepts messages to change the size or placement of the associated window,
 and to create new windows.
-The messages are in a command-line like format, with a command name,
+The messages are in a command-line-like format, with a command name,
 possibly followed by options introduced by a minus sign.
 The options must be separated by blanks, for example
 .B -dx 100
@@ -275,14 +275,17 @@
 and
 .B new
 commands accept
-.B -minx
+.B -minx [±]
 .IR n ,
 .B -miny
+[±]
 .IR n ,
 .B -maxx
+[±]
 .IR n ,
 and
 .BR -maxy
+[±]
 .I n
 options to set the position of the corresponding edge of the window.
 They also accept an option

--- //.git/fs/object/e8259861da3a55c03491904e4d11c5c15b7577c5/tree/rc/bin/man
+++ rc/bin/man
@@ -50,7 +50,11 @@

 fn page {
 	if(test -d /mnt/wsys/acme)
-		/bin/page -w
+		@{
+			rfork n
+			unmount /mnt/acme /dev
+			/bin/page -w
+		}
 	if not
 		/bin/page
 }


--- //.git/fs/object/e8259861da3a55c03491904e4d11c5c15b7577c5/tree/sys/src/cmd/page.c
+++ sys/src/cmd/page.c
@@ -114,7 +114,7 @@
 Menu cmdmenu = {
 	nil,
 	cmdmenugen,
-	-1,
+	7,
 };

 Cursor reading = {

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-21 22:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 17:41 [9front] small patches Stuart Morrow
2021-07-18 23:00 ` [9front] " Stuart Morrow
2021-07-19  8:50   ` Kurt H Maier
2021-07-19 12:06     ` Stuart Morrow
2021-07-19 19:40   ` Amavect
2021-07-19 19:52     ` ori
2021-07-21 21:19   ` Stuart Morrow
2021-07-21 21:20     ` Stuart Morrow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).