🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: netcom.general
Article #51

Re: Printing From trn?

#51
From: Will Estes
Date: Tue, 06 Oct 1992 18:54
34 lines
1526 bytes
barr@pop.psu.edu (David Barr) writes:

>In article <1992Oct5.234128.17631@netcom.com> westes@netcom.com (Will Estes) writes:
>>barr@pop.psu.edu (David Barr) writes:
>>
>>>In article <1992Oct4.213425.3041@netcom.com> westes@netcom.com (Will Estes) writes:
>>>>How does one print an article from trn?  Where do you set the print
>>>>string?
>>
>>>| lpr
>>
>>So far so good.  But your solution leads me to my next question: how do I configure
>>trn so that it uses csh instead of sh as the environment in which to
>>execute the piped command?

>did you try:

>setenv SHELL /bin/csh

>?  (This is all rather clearly documented in the man page)

Yes, I execute setenv SHELL /bin/csh from my .cshrc, but it doesn't take
hold. trn is still using /bin/sh.


>Why do you need csh in this case, anyway?

Because I have an alias that prints to a postscript printer like this:
	(cat .ps-prefix; cat ) | print -h -PNEC

For misc. reasons, I would rather have that as an alias than a script.

Thanks,
Will
Technical Details
Message-ID: <1992Oct6.185426.22046@netcom.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!decwrl!netcomsv!netcom.com!westes
References: <1992Oct4.213425.3041@netcom.com> <_4x1Hg08&9@atlantis.psu.edu> <1992Oct5.234128.17631@netcom.com> <-1!1Hqaw$9@atlantis.psu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!decwrl!netcomsv!netcom.com!westes
From: westes@netcom.com (Will Estes)
Newsgroups: netcom.general,netcom.software,news.software.readers
Subject: Re: Printing From trn?
Message-ID: <1992Oct6.185426.22046@netcom.com>
Date: 6 Oct 92 18:54:26 GMT
Article-I.D.: netcom.1992Oct6.185426.22046
References: <1992Oct4.213425.3041@netcom.com> <_4x1Hg08&9@atlantis.psu.edu> <1992Oct5.234128.17631@netcom.com> <-1!1Hqaw$9@atlantis.psu.edu>
Organization: Mail Group
Lines: 34