X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd588,8303dd7d2b170534 X-Google-Attributes: gidfd588,public X-Google-Thread: f996b,8303dd7d2b170534 X-Google-Attributes: gidf996b,public X-Google-Thread: fbb9d,8303dd7d2b170534 X-Google-Attributes: gidfbb9d,public X-Google-Thread: 110f55,8303dd7d2b170534 X-Google-Attributes: gid110f55,public From: Lawrence Lim Subject: Talk: How to have PERL script execute automagically for random .sig Date: 1995/04/27 Message-ID: <3noh6o$1td@gagme.wwa.com>#1/1 X-Deja-AN: 101578148 approved: boba@wwa.com sender: boba@gagme.wwa.com references: <3n301h$oh5@gagme.wwa.com> <3nbfcp$gfj@gagme.wwa.com> <3neshg$1cp@gagme.wwa.com> organization: WorldWide Access - Chicagoland Internet Services newsgroups: alt.ascii-art.animation,rec.arts.ascii,alt.ascii-art,alt.binaries.pictures.ascii On 22 Apr 1995, Bob Allison wrote: > You execute the script by simply typing in its name in your shell, i.e.: > sigscript Pardon me... But I've no knowledge of C lang ... So these Unix cmds will not make too much sense to me... > That's it. If you want to see the changes made automagically on every post, > then add the following line to your .login file: > > setenv NEWSPOSTER '~/sigs/sigscript\;Pnews -h %h' > > where ~/sigs/sigscript is the full path and name of the script. What does the Pnews mean??... For my newsgrps I use somethin called tin... So what are the neccessary amendments??... Also when I tried doin a `sh' on the file there's an error on the line with srand... Says somethin bout unexpected... Perl gives no err.. but then the random feature is still not invoked... 8PP... Thanx for any help... Oh BTW... Does this work in pine (ie email??)... Just asked... If I can sort out the mess for tin... I might work on pine as well... ***** ***** ` ... Life plan out before my birth, nothing could I say Had no chance to see myself, moulded day by day... ' / \ \ / _ _ _ _ _ _ _ \ / \/ | | | /| | | | / \ | \ / | |-- | /--| | | | | |- - -\ / | |_ _ | / | |_ _ |_ _ | \_ _/ | \ / DISCLAIMER : You know the usual; So TAKE IT or LEAVE IT !! \ ** **