🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.amiga.tech
4 messages
4 total messages Started by Mark Newton Sat, 10 Nov 1990 14:31
Re: PIPES
#7227
Author: Mark Newton
Date: Sat, 10 Nov 1990 14:31
10 lines
876 bytes
Original to: peter@sugar.hackercorp.com
Some of C-Shell's metacharacters, namely those concerned with histroy, can be
changed through the use of the "histchars" environment variable.
 
Is there any reason why the pipe metachar can't me treated in a similar way
under AmigaDos?  Then you could use any pipe character you wanted.
 
   -mark
--- TBBS v2.1/NM
 * Origin: ADAM, 2,100 MEGS R/W 32 line TBBS call us 08-370-5775 (680/805)
Re: PIPES
#7257
Author: Peter da Silva
Date: Fri, 07 Dec 1990 12:10
15 lines
1231 bytes
In article <18788@ultima.socs.uts.edu.au> mark.newton@f805.n680.fido.oz.au (Mark Newton) writes:
> Some of C-Shell's metacharacters, namely those concerned with histroy, can be
> changed through the use of the "histchars" environment variable.

(minor irrelevant nitpick, not all Cshells allow this. Sigh)

> Is there any reason why the pipe metachar can't me treated in a similar way
> under AmigaDos?  Then you could use any pipe character you wanted.

A good idea, though make it a shell-local variable rather than an environment
variable so you can set it in a script without screwing up everything else on
the system. Remember, Amiga environment variables are system-global.
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
Re: PIPES
#7354
Author: Pete Goodeve
Date: Sun, 09 Dec 1990 09:07
21 lines
1650 bytes
In  <7218@sugar.hackercorp.com> (7 Dec),
Peter da Silva (peter@sugar.hackercorp.com) writes:
> In article <18788@ultima.socs.uts.edu.au> mark.newton@f805.n680.fido.oz.au (Mark Newton) writes:
|>  Some of C-Shell's metacharacters, namely those concerned with histroy, can be
|>  changed through the use of the "histchars" environment variable.
|>  Is there any reason why the pipe metachar can't me treated in a similar way
|>  under AmigaDos?  Then you could use any pipe character you wanted.

        -- Another minor nitpick... I thought I already suggested this
        a couple of weeks back...!(:-))
>
> A good idea, though make it a shell-local variable rather than an environment
> variable so you can set it in a script without screwing up everything else on
> the system. Remember, Amiga environment variables are system-global.

I think it would be still better to have BOTH, so that you can let the user
set his favourite once and forget it, and still allow scripts their own
special preference if they need it.

                                                -- Pete --
Re: PIPES
#7302
Author: Peter da Silva
Date: Sun, 09 Dec 1990 14:10
22 lines
1399 bytes
In article <1990Dec9.090708.20063@agate.berkeley.edu> pete@violet.berkeley.edu (Pete Goodeve) writes:
> 
> I think it would be still better to have BOTH,

I disagree:

> so that you can let the user set his favourite once and forget it,

Put it in his shell RC file, and then all his interactive shells will have
it. That's effectively "global", without breaking scripts:

> and still allow scripts their own special preference if they need it.

No, batch scripts need to have a standard environment, particularly for things
like metacharacters.

If you have a global PIPECHAR variable, it needs to be ignored when not in
interactive mode. (This is the MOST hosed feature of the C shell on UNIX, that
scripts have to deal with whatever wacko stuff a user puts in their .cshrc)
-- 
Peter da Silva.   `-_-'
<peter@sugar.hackercorp.com>.
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