merlyn@iwarp.intel.com (Randal Schwartz) (08/24/89)
In article <1377@jolnet.ORPK.IL.US>, swan@jolnet (Joel Swan) writes: | Thanks to all of those (at least 10) who reponded by mail and posting. | Here is a quick look at the ideas given. | | 1. s or w (save or save w/o header) the posting to a file and use Kermit or cat | to the screen | | 2. s /dev/tty or w /dev/tty and ascii capture | | 3. s|/dev/tty or w|/dev/tty and ascii capture Wrong wrong wrong. You are attemping then to execute commands typed in from the terminal. Essentially, you have said "run the shell script located at /dev/tty" ... which is the name for your terminal. The shell processing the "|" command will start reading commands from your terminal and executing them one by one, with the news article as standard-input! | 4. |cat or |/dev/tty and ascii capture Second one is the same thing!!! Wrong wrong wrong. | So far I've used method 1 for longer postings and file (with Kermit) and | method 4 and ascii caprutre for short uudecoded postings. | | Again, thanks for each and every person who replied. | (Hey, this group did a good job. Congrats. Some music amongst the noise :-) Just be careful and practice "safe computing"... you don't know where those answers came from. :-) Just another UNIX hacker, -- /== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\ | on contract to Intel, Hillsboro, Oregon, USA | | merlyn@iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn | \== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/
swan@jolnet.ORPK.IL.US (Joel Swan) (08/24/89)
In article <4841@omepd.UUCP> merlyn@iwarp.intel.com (Randal Schwartz) writes: +In article <1377@jolnet.ORPK.IL.US>, swan@jolnet (Joel Swan) writes: +| Thanks to all of those (at least 10) who reponded by mail and posting. +| Here is a quick look at the ideas given. . [I describe some methods] . +| 1. s or w (save or save w/o header) the posting to a file and use Kermit or cat +| 3. s|/dev/tty or w|/dev/tty and ascii capture +Wrong wrong wrong. You are attemping then to execute commands typed +in from the terminal. Essentially, you have said "run the shell [more explanation of why they shouldn't work] +| 4. |cat or |/dev/tty and ascii capture +Second one is the same thing!!! Wrong wrong wrong. +Just another UNIX hacker, +-- +/== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\ +| on contract to Intel, Hillsboro, Oregon, USA | +| merlyn@iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn | +\== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/ . Sorry, I forgot to mention that these work-arounds are performed from within RN. They work fine when using RN. (Well, at least they seem to work without a hitch so far.) Does this make a difference Randal? Or is it still not kosher? -- - Joel E. Swan [ swan@jolnet.UUCP <> PLINK ID: Amiga*joel ] [ "Amigas.... for the rest of us." <> CI$ : 74746,3240 ] [ "...peace with God through our Lord Jesus Christ." Romans 5:8 ]
merlyn@iwarp.intel.com (Randal Schwartz) (08/26/89)
In article <1396@jolnet.ORPK.IL.US>, swan@jolnet (Joel Swan) writes: | Sorry, I forgot to mention that these work-arounds are performed from within | RN. They work fine when using RN. | (Well, at least they seem to work without a hitch so far.) | Does this make a difference Randal? Or is it still not kosher? Wow!???!! You have demonstrated evidence that: s|/dev/tty works? I'll bet my UNIX guru card (#42) that it doesn't, or rn(1) has some very spooky code in it. You are saying: "take the article, and feed it into the stdin of a PROCESS running the command-or-shell-script found in the file /dev/tty." I'd believe: s /dev/tty and s|cat both work, but not the "combination" of piping and /dev/tty. It makes no sense. Still hanging on to my guru card... :-) -- /== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\ | on contract to Intel, Hillsboro, Oregon, USA | | merlyn@iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn | \== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/
swan@jolnet.ORPK.IL.US (Joel Swan) (08/27/89)
In article <4855@omepd.UUCP> merlyn@iwarp.intel.com (Randal Schwartz) writes: :In article <1396@jolnet.ORPK.IL.US>, swan@jolnet (Joel Swan) writes: :| Sorry, I forgot to mention that these work-arounds are performed from within :| RN. They work fine when using RN. :| (Well, at least they seem to work without a hitch so far.) :| Does this make a difference Randal? Or is it still not kosher? : :Wow!???!! : :You have demonstrated evidence that: : : s|/dev/tty : :works? I'll bet my UNIX guru card (#42) that it doesn't, or rn(1) has :some very spooky code in it. You are saying: Oops. No. Sorry about that. I humbly appologize for that mistake. I meant to say that s /dev/tty DOES work (I just did it to your notice) and |cat works (I also just did this). My appologies for mixing-up combinations. I think it's time to bring in the old brain for a lub-job. : :"take the article, and feed it into the stdin of a PROCESS running :the command-or-shell-script found in the file /dev/tty." : :I'd believe: : : s /dev/tty : :and : : s|cat : :both work, but not the "combination" of piping and /dev/tty. It :makes no sense. : :Still hanging on to my guru card... :-) As Emily Latella (sp?) said on Sat. Night Live.... "Never mind..." :/== Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ====\ :| on contract to Intel, Hillsboro, Oregon, USA | :| merlyn@iwarp.intel.com ...!uunet!iwarp.intel.com!merlyn | :\== Cute Quote: "Welcome to Oregon... Home of the California Raisins!" ==/ -- - Joel E. Swan [ swan@jolnet.UUCP <> PLINK ID: Amiga*joel ] [ "Amigas.... for the rest of us." <> CI$ : 74746,3240 ] [ "...peace with God through our Lord Jesus Christ." Romans 5:8 ]