🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ti.explorer
Article #58

RE: Run Shell Command?

#58
From: Jamie Zawinski
Date: Wed, 06 Sep 1989 18:59
30 lines
1619 bytes
Check out the code in /usr/jwz/public/rexec/ on spice.cs.cmu.edu,
accessible by anonymous FTP.  This code, by Eric Karlson, implements 
the rshell, rexec, and lpd protocols for the Explorer.

  > (net:rexec "teak" "pwd")
  Current login name is jwz for host teak.
  Type either password or loginname<space>password: jwz XXXXXXXX
  /usr2/users/jwz
  T

Rshell is like rexec, but it doesn't require a password if the
remote unix thinks the Explorer as a trusted host (I think).

This code also redefines the TI printer driver to use LPD, which
means that you can FINALLY print from a TI to a printer that is
attached to a Unix machine.  We have a LaserWriter attached to
a Sun, and it works fine.

The files /usr/jwz/public/_readme.text and _recent-changes.text
have short descriptions of everything in this archive.

I hadn't thought of using this to change the file protections; I'll
give it a shot.  Seems like an awful hack to have to open both an
FTP connection *and* an rexec connection to write a file, but...

Incidentally, I looked in to the "QUOTE UMASK" FTP server command,
and it is not implemented in the FTP servers on any of the four
unix machines I use.  Maybe someday.

	-- Jamie
Technical Details
Message-ID: <31147@ucbvax.BERKELEY.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!bionet!agate!ucbvax!jwz@teak.berkeley.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!bionet!agate!ucbvax!jwz@teak.berkeley.edu
From: jwz@teak.berkeley.edu (Jamie Zawinski)
Newsgroups: comp.sys.ti.explorer
Subject: RE: Run Shell Command?
Message-ID: <31147@ucbvax.BERKELEY.EDU>
Date: 6 Sep 89 18:59:10 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Lines: 30
In-reply-to: <2830096435-3948180@KSL-EXP-6>