all repos — ryudo @ dc9e2af9f5ac117041b0383f98d9ef66bb1594b3

the floatiling window manager that flows; fork of rio from plan9port

use config.def.h -> config.h and document it in the manpage; v1.0
Iris Lightshard nilix@nilfm.cc
PGP Signature
-----BEGIN PGP SIGNATURE-----

iQJDBAABCAAtFiEEkFh6dA+k/6CXFXU4O3+8IhROY5gFAmFKvpwPHG5pbGl4QG5p
bGZtLmNjAAoJEDt/vCIUTmOYmlcP/17hXf3QhQ3jtB5V9UxS8xgMfDLTqc3yNiBL
hrSwxCwpo/kbikn0ILqXFpJGY4ZGEvtSB4jWrbdQoV9osWI3mW9TkfdR8umC0P1C
kSi8KSlyovbSZBOcpUcnS/ls18Jyvu6DkosDl9tHDwWZHkOZn+CLU54r6XL//cyl
a4AQBzgQoqiP9t3TeQzvuhHS73DbS2Pvxq8+Q4+OpAoqUpQqFALeQGfIIlmsgXI9
d5BUmDXQhSEefPSkjv9aK0OwXcYGX86W5X/MLS1zKXqxVjqtnHwhDbEhGleUP4ue
MvuhL1twYgPz4AE59Vw4J1EwPu3dsSPv/9a22zUPGR1hTWfbCIkSPWq3pqlEfcTi
QIM16Yxiohmta7gpMzMUZRX3jvuWYtMxTShuG/eoarYFmER3pziAxgjwj8VyV9L4
0eNVcew+Am9BsNc1vA7NX8FYBhF8sI2i84k2JyppC5Gqeyda8UnOyu4zgZ/YiXlL
Uk8j2yAHfaJKLmXdd24MIcUzMVWLxbwBjojKjgZGxFM1zY4I/slySrumVcFnqd+D
SegsOsHNWfdUDxemF1Rv9mlcI+Idmx+scbk+4VuVNXAZ+C/xRZVf1Yvn/G6v7LpK
GoTb0h1s/cnSx4s7Bv17cl54KV/kPs8nOZmwK8hVQDb11H/YTp7A0QsR0oGwbKie
FItAOXqB
=t+io
-----END PGP SIGNATURE-----
commit

dc9e2af9f5ac117041b0383f98d9ef66bb1594b3

parent

1ae3fe427740f66519a40a1716efeb0432e061e1

7 files changed, 13 insertions(+), 8 deletions(-)

jump to
M .gitignore.gitignore

@@ -1,2 +1,3 @@

*.o ryudo +config.h
M build.shbuild.sh

@@ -1,5 +1,9 @@

#!/bin/sh +if [! -e config.h ]; then + cp config.def.h config.h +fi + mk clean mk o.rio
M main.cmain.c

@@ -21,7 +21,7 @@ #include "fns.h"

#include "patchlevel.h" char* version[] = { - "ryudo version 0.6\nCopyright (c) 1994-1996 David Hogan,\n(c) 2004 Russ " + "ryudo version 1.0\nCopyright (c) 1994-1996 David Hogan,\n(c) 2004 Russ " "Cox,\n(c) 2019-2021 Derek Stevens", 0};
M ryudo.1ryudo.1

@@ -1,4 +1,4 @@

-.TH "RYUDO" "1" "June 2021" "" "" +.TH "RYUDO" "1" "September 2021" "" "" . .SH "NAME" \fBryudo\fR \- The floatiling window manager that flows

@@ -28,7 +28,7 @@ .P

If either \fBexit\fR or \fBrestart\fR is given, the appropriate message is sent to an already\-running \fBryudo\fR instance to execute the named action\. . .SH "CONFIGURATION" -Many configuration options have been enabled as compile\-time options configured in the \fBconfig\.h\fR configuration file\. The \fBconfig\.def\.h\fR file shipped with the source code documents all of the options in the comments\. After changing the configuration, it is necessary to run the \fBbuild\.sh\fR and/or \fBinstall\.sh\fR script again and restart the program\. +Many configuration options have been enabled as compile\-time options configured in the \fBconfig\.h\fR configuration file\. The \fBconfig\.def\.h\fR file shipped with the source code documents all of the options and contains what I hope are sane defaults\. If \fBconfig\.h\fR does not exist in the source directory, it will be copied from \fBconfig\.def\.h\fR on build\. After changing the configuration, it is necessary to run the \fBbuild\.sh\fR and/or \fBinstall\.sh\fR script again and restart the program\. . .SH "BUILDING AND INSTALLATION" Run the provided \fBbuild\.sh\fR and \fBinstall\.sh\fR scripts to build and install \fBryudo\fR\. If run as root, they will install the program and manual pages to the PLAN9 installation path\. If run as a regular user, they will install the program to \fB~/bin/9/\fR and not install the manual pages\.
M ryudo.1.htmlryudo.1.html

@@ -97,7 +97,7 @@ <p>If either <code>exit</code> or <code>restart</code> is given, the appropriate message is sent to an already-running <code>ryudo</code> instance to execute the named action.</p>

<h2 id="CONFIGURATION">CONFIGURATION</h2> -<p>Many configuration options have been enabled as compile-time options configured in the <code>config.h</code> configuration file. The <code>config.def.h</code> file shipped with the source code documents all of the options in the comments. After changing the configuration, it is necessary to run the <code>build.sh</code> and/or <code>install.sh</code> script again and restart the program.</p> +<p>Many configuration options have been enabled as compile-time options configured in the <code>config.h</code> configuration file. The <code>config.def.h</code> file shipped with the source code documents all of the options and contains what I hope are sane defaults. If <code>config.h</code> does not exist in the source directory, it will be copied from <code>config.def.h</code> on build. After changing the configuration, it is necessary to run the <code>build.sh</code> and/or <code>install.sh</code> script again and restart the program.</p> <h2 id="BUILDING-AND-INSTALLATION">BUILDING AND INSTALLATION</h2>

@@ -171,8 +171,8 @@

<h2 id="AUTHORS">AUTHORS</h2> <ul> -<li>Derek Stevens <a href="&#x6d;&#97;&#x69;&#x6c;&#116;&#x6f;&#58;&#x6e;&#x69;&#x6c;&#105;&#120;&#x40;&#x6e;&#105;&#108;&#102;&#x6d;&#46;&#x63;&#99;" data-bare-link="true">&#110;&#105;&#x6c;&#105;&#x78;&#64;&#x6e;&#x69;&#x6c;&#102;&#109;&#x2e;&#x63;&#99;</a></li> -<li>Russ Cox <a href="&#x6d;&#x61;&#105;&#108;&#116;&#111;&#58;&#114;&#x73;&#99;&#64;&#x73;&#119;&#x74;&#x63;&#x68;&#46;&#x63;&#x6f;&#x6d;" data-bare-link="true">&#x72;&#115;&#99;&#64;&#x73;&#x77;&#x74;&#99;&#x68;&#46;&#99;&#111;&#x6d;</a></li> +<li>Derek Stevens <a href="&#109;&#97;&#105;&#108;&#116;&#x6f;&#58;&#x6e;&#x69;&#x6c;&#105;&#x78;&#64;&#110;&#105;&#108;&#102;&#109;&#46;&#x63;&#x63;" data-bare-link="true">&#110;&#x69;&#x6c;&#105;&#120;&#x40;&#110;&#x69;&#108;&#102;&#x6d;&#46;&#x63;&#x63;</a></li> +<li>Russ Cox <a href="&#109;&#97;&#x69;&#x6c;&#x74;&#111;&#x3a;&#114;&#115;&#x63;&#64;&#x73;&#119;&#116;&#x63;&#x68;&#x2e;&#x63;&#111;&#109;" data-bare-link="true">&#114;&#115;&#x63;&#64;&#x73;&#x77;&#x74;&#99;&#x68;&#46;&#x63;&#x6f;&#109;</a></li> <li>David Hogan, RIP</li> </ul>

@@ -184,7 +184,7 @@

<ol class='man-decor man-foot man foot'> <li class='tl'></li> - <li class='tc'>June 2021</li> + <li class='tc'>September 2021</li> <li class='tr'>ryudo(1)</li> </ol>
M ryudo.1.mdryudo.1.md

@@ -23,7 +23,7 @@ If either `exit` or `restart` is given, the appropriate message is sent to an already-running `ryudo` instance to execute the named action.

## CONFIGURATION -Many configuration options have been enabled as compile-time options configured in the `config.h` configuration file. The `config.def.h` file shipped with the source code documents all of the options in the comments. After changing the configuration, it is necessary to run the `build.sh` and/or `install.sh` script again and restart the program. +Many configuration options have been enabled as compile-time options configured in the `config.h` configuration file. The `config.def.h` file shipped with the source code documents all of the options and contains what I hope are sane defaults. If `config.h` does not exist in the source directory, it will be copied from `config.def.h` on build. After changing the configuration, it is necessary to run the `build.sh` and/or `install.sh` script again and restart the program. ## BUILDING AND INSTALLATION