shithub: rc

Download patch

ref: 98e1f3efd944dc8b9b942c871fde344e52aee80c
parent: dc2cf82f3b8d54c0dbaad1256ccd206b7f8ec65e
author: qwx <qwx@sciops.net>
date: Sun Apr 20 20:52:35 EDT 2025

tx: allow for different users with explicit dialstrings

--- a/bin/tx
+++ b/bin/tx
@@ -1,5 +1,6 @@
 #!/bin/rc
-if(~ $#* 1)
-	*=(ssh tcp!$1!x)
-#vt -xf /lib/font/bit/fixed/unicode.6x10.font $*
-vt -xf /lib/font/bit/terminus/unicode.12m.font $*
+if(~ $#* 1){
+	if(! ~ $1 *@* && ! ~ $1 tcp!*)
+		*=(tcp!$1!x $*(2-))
+}
+vt -xf /lib/font/bit/terminus/unicode.12m.font ssh $*
--