9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Stuart Morrow <morrow.stuart@gmail.com>
To: 9front@9front.org
Subject: [9front] small patches
Date: Tue, 13 Jul 2021 18:41:41 +0100	[thread overview]
Message-ID: <CABB-WO-mdeCuH=Xy0v+sC4VZv7yya5=UusaT7AqXXAJofCPPZg@mail.gmail.com> (raw)

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 = {

             reply	other threads:[~2021-07-13 23:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13 17:41 Stuart Morrow [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABB-WO-mdeCuH=Xy0v+sC4VZv7yya5=UusaT7AqXXAJofCPPZg@mail.gmail.com' \
    --to=morrow.stuart@gmail.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).