changeset 98:5d41aa24adaf

elvish
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 23 Jun 2025 22:37:16 -0600
parents fc17d07c93db
children 587399dc0e07
files src/elvish.html.luan src/needed.html.luan
diffstat 2 files changed, 39 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/elvish.html.luan	Mon Jun 23 22:37:16 2025 -0600
@@ -0,0 +1,38 @@
+local Luan = require "luan:Luan.luan"
+local error = Luan.error
+local Io = require "luan:Io.luan"
+local Site_translator = require "luan:ai/Site_translator.luan"
+local get_lang = Site_translator.get_lang or error()
+local text_writer = Site_translator.text_writer or error()
+local Shared = require "site:/lib/Shared.luan"
+local head = Shared.head or error()
+local needed_header = Shared.needed_header or error()
+local luan_url = Shared.luan_url or error()
+
+
+return function()
+	Io.stdout = text_writer()
+%>
+<!doctype html>
+<html lang="<%=get_lang()%>">
+	<head>
+<%		head() %>
+		<title>Reactionary Software - Elvish Shell</title>
+	</head>
+	<body>
+<%		needed_header() %>
+		<div content>
+			<h1>Elvish Shell</h1>
+
+			<p><a href="bash.html">Bash</a> is old and reliable, but it is far from perfect.  Bash is clunky and is cryptic for writing shell scripts.  Of course most modern modern shell languages are horrible.  The only exception I found is <a href="https://elv.sh/">Elvish</a>.</p>
+
+			<p>Elvish has a clean design with none of the quirks of Bash.  The only problem is that Elvish doesn't work.  Elvish doesn't handle background processes properly as described <a href="https://github.com/elves/elvish/issues/307">here</a>.  This means that if you open an Elvish shell, launch a GUI app from the command line, and later close the shell, then this kills the GUI app.  That's pretty bad.</p>
+
+			<p>In general, no software written by modern programmers work properly.  Modern programmers have no conscientiousness.  They don't care about bugs and don't respond to user complaints.  The background process problem was what made me give up on Elvish, but presumably there are other problems that I didn't encounter.</p>
+
+			<p>So why bother with Elvish?  Because its design is really quite good.  A conscientious reactionary programmer could fix Elvish's bugs and make a great shell.</p>
+		</div>
+	</body>
+</html>
+<%
+end
--- a/src/needed.html.luan	Thu Jun 19 12:05:46 2025 -0600
+++ b/src/needed.html.luan	Mon Jun 23 22:37:16 2025 -0600
@@ -28,6 +28,7 @@
 				<li><a href="hg_dev.html">Mercurial Development</a></li>
 				<li><a href="laf.html">Swing Look and Feel</a></li>
 				<li><a href="java_fork.html">Java Fork</a></li>
+				<li><a href="elvish.html">Elvish Shell</a></li>
 			</ul>
 		</div>
 	</body>