🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by Mike Vanecek Thu, 13 Mar 2003 02:53
[slrn] pipe to command
#121776
Author: Mike Vanecek
Date: Thu, 13 Mar 2003 02:53
16 lines
1311 bytes
Now that I have the spell checker problem resolved, I would like to find
out why I am having a problem with pipe to a command.

If I press | I get the command prompt on the bottom of the screen as
expected. However, when I enter in a command and then press the space
bar to enter in command args, the prompt changes to show me the full
path of the command, but does not insert a space so that I can enter in
args. I found nothing in the manual, but probably missed it (the
discussion on pipe mentions nothing). 

Can anyone direct me as to where to look or tell me how to enter a pipe
command, e.g., |mod watch ??

Thanks.

Re: [slrn] pipe to command
#121787
Author: ireneo.funes
Date: Thu, 13 Mar 2003 08:22
32 lines
1656 bytes
12 Mar 2003 20:53:07 -0600, Mike Vanecek wrote:

> If I press | I get the command prompt on the bottom of the screen as
> expected. However, when I enter in a command and then press the space
> bar to enter in command args, the prompt changes to show me the full
> path of the command, but does not insert a space so that I can enter
> in args. I found nothing in the manual, but probably missed it (the
> discussion on pipe mentions nothing).

From manual.txt:

#v+

  5.3.13.  quoted_insert

  Default: "BACKTICK"

  Inserts the next key into the buffer, even if it is usually bound to a
  function.

#v-

> Can anyone direct me as to where to look or tell me how to enter a
> pipe command, e.g., |mod watch ??

Just type |mod` watch

HTH

-- 
less sucks more less than more: that's why we use more less and less more.
Re: [slrn] pipe to command
#121797
Author: Mike Vanecek
Date: Thu, 13 Mar 2003 17:58
32 lines
2122 bytes
On Thu, 13 Mar 2003 03:46:43 GMT, ras2 wrote:
> On 2003-03-13 02:53:07 GMT, Mike Vanecek <MikeV99@privacy.net>
>  wrote in <pv75k-u71.ln1@news.invalid.99computer>:
> 
>> If I press | I get the command prompt on the bottom of the screen as
>> expected. However, when I enter in a command and then press the space
>> bar to enter in command args, the prompt changes to show me the full
>> path of the command, but does not insert a space so that I can enter in
>> args.
> 
> I had sort of the same thing: I had "score" (executable) in /home/ras/bin
> and "score" (not executable) in /home/ras. When I entered "score" at
> slrn's pipe to command prompt and hit space, it would show "/home/ras/score".
> I also renamed /home/ras/score to "score.txt" and "scoret" and it would
> still switch to it. First when I renamed it to something that didn't 
> start with "score" was I allowed to enter a space.
> Very peculiar, especially since /home/ras isn't even in my $PATH.

I have both mod and score in my home directory. Hence, in mod, I use the
full path to execute score. Then, to execute mod with a pipe command, I
go a |./mod watch.  However, as the next poster suggests, I must enter
in 

|./mod` watch 

(with the back tick) in order to get things processed. I wanted to
finish testing them before putting them in local/bin.




Re: [slrn] pipe to command
#121798
Author: Mike Vanecek
Date: Thu, 13 Mar 2003 18:03
44 lines
2045 bytes
On 13 Mar 2003 08:22:11 GMT, ireneo.funes@virgilio.it wrote:
> 12 Mar 2003 20:53:07 -0600, Mike Vanecek wrote:
> 
>> If I press | I get the command prompt on the bottom of the screen as
>> expected. However, when I enter in a command and then press the space
>> bar to enter in command args, the prompt changes to show me the full
>> path of the command, but does not insert a space so that I can enter
>> in args. I found nothing in the manual, but probably missed it (the
>> discussion on pipe mentions nothing).
> 
> From manual.txt:
> 
> #v+
> 
>   5.3.13.  quoted_insert
> 
>   Default: "BACKTICK"
> 
>   Inserts the next key into the buffer, even if it is usually bound to a
>   function.
> 
> #v-
> 
>> Can anyone direct me as to where to look or tell me how to enter a
>> pipe command, e.g., |mod watch ??
> 
> Just type |mod` watch

Yes, I now type

|./mod` watch 

and it runs both programs.  Thank you very much.

However, I do not under why it is needed. What does it mean about
usually bond to a function?  

I would have never guessed that I needed the backtick without your help.
Thank you very much. Maybe the doco for pipe should have a little hint
about needing to use the backtick.

Mike.

Re: [slrn] pipe to command
#121805
Author: ireneo.funes
Date: Thu, 13 Mar 2003 21:13
18 lines
1454 bytes
13 Mar 2003 12:03:03 -0600, Mike Vanecek wrote:

> However, I do not under why it is needed. What does it mean about
> usually bond to a function?
>
> I would have never guessed that I needed the backtick without your
> help. Thank you very much. Maybe the doco for pipe should have a
> little hint about needing to use the backtick.

less manual.txt

/fault: "SPACE"

n

-- 
less sucks more less than more: that's why we use more less and less more.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads