code: purgatorio

Download patch

ref: a5cb451b299b03f44154fac5780b6a57ca130ce0
parent: 1f6de2fe3823cc6e749b8254187e81e20589bae8
author: glenda <glenda@9front.local>
date: Thu Jul 8 02:12:11 EDT 2021

wm/sh: catch some edge cases (thanks joe7) ;; .hgignore→.gitignore

--- /dev/null
+++ b/.gitignore
@@ -1,0 +1,92 @@
+*.[8qkv5967o]
+*.obj
+*.patch
+*.diff
+*.log
+*.orig
+[8qkv965o].out
+[8qkv965o].emu
+obj.out
+obj.map
+vc*.pdb
+y.output
+y.tab.[ch]
+y.debug
+*.a
+emu/*/*.root.[ch]
+emu/*/errstr.h
+emu/*/srv.h
+emu/*/srvm.h
+[A-Z]*/*/bin/?[acl]
+[A-Z]*/*/bin/5coff
+[A-Z]*/*/bin/5cv
+[A-Z]*/*/bin/acid
+[A-Z]*/*/bin/asm
+[A-Z]*/*/bin/data2s
+[A-Z]*/*/bin/emu
+[A-Z]*/*/bin/limbo
+Linux/*/bin/*
+Nt/*/bin/?[acl].exe
+Nt/*/bin/5coff.exe
+Nt/*/bin/5cv.exe
+Nt/*/bin/acid.exe
+Nt/*/bin/asm.exe
+Nt/*/bin/data2s.exe
+Nt/*/bin/emu.exe
+Nt/*/bin/limbo.exe
+Nt/*/bin/ftl.exe
+Nt/*/bin/iar.exe
+Nt/*/bin/idea.exe
+Nt/*/bin/inm.exe
+Nt/*/bin/kprof.exe
+Nt/*/bin/ksize.exe
+Nt/*/bin/kstrip.exe
+Nt/*/bin/md5sum.exe
+Nt/*/bin/mkppcimage.exe
+Nt/*/bin/ms2.exe
+Nt/*/bin/ndate.exe
+Nt/*/bin/ntsrv.exe
+Nt/*/bin/sqz.exe
+Nt/*/bin/srclist.exe
+Nt/*/bin/styxtest.exe
+emu/Nt/*.map
+emu/Nt/*.exe
+keydb/keys
+keydb/countersigned
+keydb/signed
+keydb/signerkey
+tmp/*
+*.rej
+
+syntax: regexp
+^dis/.*.dis
+^dis/*/.*.dis
+^appl/.*.dis
+^appl/.*.sbl
+^acme/dis/.*.dis
+^acme/*/.*.dis
+^tmp/.*
+^contrib/.*
+^usr/\.*
+^grid/.*
+^libinterp/cryptmod.h
+^libinterp/drawmod.h
+^libinterp/freetypemod.h
+^libinterp/ipintsmod.h
+^libinterp/keyring.h
+^libinterp/keyringif.h
+^libinterp/loadermod.h
+^libinterp/mathmod.h
+^libinterp/runt.h
+^libinterp/sysmod.h
+^libinterp/tkmod.h
+^limbo/runt.h
+^libinterp/drawmod.h
+^libinterp/freetypemod.h
+^libinterp/keyring.h
+^libinterp/loadermod.h
+^libinterp/mathmod.h
+^libinterp/runt.h
+^libinterp/sysmod.h
+^libinterp/tkmod.h
+^limbo/runt.h
--- a/.hgignore
+++ /dev/null
@@ -1,93 +1,0 @@
-syntax: glob
-*.[8qkv5967o]
-*.obj
-*.patch
-*.diff
-*.log
-*.orig
-[8qkv965o].out
-[8qkv965o].emu
-obj.out
-obj.map
-vc*.pdb
-y.output
-y.tab.[ch]
-y.debug
-*.a
-emu/*/*.root.[ch]
-emu/*/errstr.h
-emu/*/srv.h
-emu/*/srvm.h
-[A-Z]*/*/bin/?[acl]
-[A-Z]*/*/bin/5coff
-[A-Z]*/*/bin/5cv
-[A-Z]*/*/bin/acid
-[A-Z]*/*/bin/asm
-[A-Z]*/*/bin/data2s
-[A-Z]*/*/bin/emu
-[A-Z]*/*/bin/limbo
-Linux/*/bin/*
-Nt/*/bin/?[acl].exe
-Nt/*/bin/5coff.exe
-Nt/*/bin/5cv.exe
-Nt/*/bin/acid.exe
-Nt/*/bin/asm.exe
-Nt/*/bin/data2s.exe
-Nt/*/bin/emu.exe
-Nt/*/bin/limbo.exe
-Nt/*/bin/ftl.exe
-Nt/*/bin/iar.exe
-Nt/*/bin/idea.exe
-Nt/*/bin/inm.exe
-Nt/*/bin/kprof.exe
-Nt/*/bin/ksize.exe
-Nt/*/bin/kstrip.exe
-Nt/*/bin/md5sum.exe
-Nt/*/bin/mkppcimage.exe
-Nt/*/bin/ms2.exe
-Nt/*/bin/ndate.exe
-Nt/*/bin/ntsrv.exe
-Nt/*/bin/sqz.exe
-Nt/*/bin/srclist.exe
-Nt/*/bin/styxtest.exe
-emu/Nt/*.map
-emu/Nt/*.exe
-keydb/keys
-keydb/countersigned
-keydb/signed
-keydb/signerkey
-tmp/*
-*.rej
-
-syntax: regexp
-^dis/.*.dis
-^dis/*/.*.dis
-^appl/.*.dis
-^appl/.*.sbl
-^acme/dis/.*.dis
-^acme/*/.*.dis
-^tmp/.*
-^contrib/.*
-^usr/\.*
-^grid/.*
-^libinterp/cryptmod.h
-^libinterp/drawmod.h
-^libinterp/freetypemod.h
-^libinterp/ipintsmod.h
-^libinterp/keyring.h
-^libinterp/keyringif.h
-^libinterp/loadermod.h
-^libinterp/mathmod.h
-^libinterp/runt.h
-^libinterp/sysmod.h
-^libinterp/tkmod.h
-^limbo/runt.h
-^libinterp/drawmod.h
-^libinterp/freetypemod.h
-^libinterp/keyring.h
-^libinterp/loadermod.h
-^libinterp/mathmod.h
-^libinterp/runt.h
-^libinterp/sysmod.h
-^libinterp/tkmod.h
-^limbo/runt.h
--- a/appl/wm/sh.b
+++ b/appl/wm/sh.b
@@ -770,9 +770,13 @@
 		r.rc <-= (nil, nil) =>
 			;
 		* =>
+			if(len rdreq > 0)
+				sendinput(t);
 			return;
 		}
 	* =>
+		if(len rdreq > 0)
+			sendinput(t);
 		return;	# requester has disappeared; ignore his request and try another
 	}
 	if(rawon)