shithub: winview

Download patch

ref: d48958a8da1274585911fc43dd1c6fffd7f78f8a
parent: 11948e5234a86097c64e59fdf0a7507e834ad362
author: sirjofri <[email protected]>
date: Sun Sep 1 09:44:41 EDT 2024

s/Readme.txt/README

--- /dev/null
+++ b/README
@@ -1,0 +1,41 @@
+
+     WINVIEW(1)                                             WINVIEW(1)
+
+     NAME
+          winview - visual winwatch
+
+     SYNOPSIS
+          winview [ -w windir ] [ -x amount ] [ -t milliseconds ]
+
+     DESCRIPTION
+          Winview behaves like winwatch(1), but it displays downscaled
+          screenshots of the windows.
+
+          The windir parameter is used to specify the rio filesystem,
+          default is /dev/wsys. The amount parameter determines how
+          much to downscale the windows.  Windows will be halved
+          amount times, for example a value of 4 halves the windows 4
+          times.  Valid values for amount are from 1 to 5.
+          Milliseconds is the amount of milliseconds to wait for each
+          update.
+
+          General usage is very similar to winwatch:
+
+          •    Left mouse button to activate the window.
+
+          •    Middle mouse button to set the window label.
+
+          •    Right mouse button to (un)hide the window.
+
+          The amount value can also be adjusted at runtime by using
+          the , and . keys.
+
+     SOURCE
+          winview.c
+
+     SEE ALSO
+          winwatch(1)
+
+     BUGS
+          Sure.
+
--- a/Readme.txt
+++ /dev/null
@@ -1,41 +1,0 @@
-
-     WINVIEW(1)                                             WINVIEW(1)
-
-     NAME
-          winview - visual winwatch
-
-     SYNOPSIS
-          winview [ -w windir ] [ -x amount ] [ -t milliseconds ]
-
-     DESCRIPTION
-          Winview behaves like winwatch(1), but it displays downscaled
-          screenshots of the windows.
-
-          The windir parameter is used to specify the rio filesystem,
-          default is /dev/wsys. The amount parameter determines how
-          much to downscale the windows.  Windows will be halved
-          amount times, for example a value of 4 halves the windows 4
-          times.  Valid values for amount are from 1 to 5.
-          Milliseconds is the amount of milliseconds to wait for each
-          update.
-
-          General usage is very similar to winwatch:
-
-          •    Left mouse button to activate the window.
-
-          •    Middle mouse button to set the window label.
-
-          •    Right mouse button to (un)hide the window.
-
-          The amount value can also be adjusted at runtime by using
-          the , and . keys.
-
-     SOURCE
-          winview.c
-
-     SEE ALSO
-          winwatch(1)
-
-     BUGS
-          Sure.
-
--- a/mkfile
+++ b/mkfile
@@ -5,9 +5,9 @@
 
 </sys/src/cmd/mkone
 
-man:V: Readme.txt
+man:V: README
 
-Readme.txt: winview1
+README: winview1
 	@{
 		rfork n
 		bind . /sys/man/1