🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #274

Re: Selection (?) of print device for SNews

#274
From: Brian {Hamilton Kelly}
Date: Wed, 14 Jan 1998 00:00
61 lines
3246 bytes
In article <884757921snz@pdlmail.demon.co.uk>
           pete$no$pam@pdlmail.demon.co.uk  writes:

> In article <884532989snz@dsl.co.uk>
>            bhk@dsl.co.uk "Brian {Hamilton Kelly}" writes:
> 
> [Sorry for the late response - please ignore if you've fixed
>  the problem.]
> > ...
> > My girlfriend uses SNews in a DOS box under Win'95 on her machine which
> > is networked to my OS/2 system (which holds the newsbase, etc).  However,
> > ...
> 
> Do you have the facility to issue net device assignments
> from the command line (or batch file)?  If so you could
> try temporarily remapping LPT1 during the SNEWS section
> thereby hiding the real LPT1 - eg. in DEMON.BAT:
>    ...
>    :news
>    cd C:\DEMON\SNEWS
> >> {netassign} LPT1 \\BHK-OS2PC\LPT1
>    snews
> >> {netassign} LPT1 /DELETE
>    if %ONCE%.==Y. goto end
>    goto loop
>    ...

Wonderful: now why didn't *I* think of that?

Anyway, it works perfectly (using NET USE for {netassign} above).

[If anyone else is interested, there is a .BAT file on my GF's computer,
invokable through a short-cut.  This BAT file copies her .RC file over
SNEWS.RC on *my* disk, issues (now) the NET USE command to assign LPT1,
and executes SNEWS executable.  Her .RC file refers to all necessary
paths via the network drive already globally assigned on her machine.
She only runs SNEWS (and PCELM) on her machine: I run DEMON.BAT on mine
alone (including running NET.EXE).]

> Finally, I don't detect a great amount of support for the
> 'print lpt1' resource option, but if you'd like me to build
> a one-off from the official snews130 sources, I'll happily
> do that.  Probably best to send me mail (to just 'pete')
> as this isn't (apparently) of general d.i.d interest.

I believe we should talk "off-line".  I did have some ideas about making
SNEWS really flexible for use in a multi-host situation, and posted here
in d.i.d about October'ish.  When I came to try to compile, I found that
a lot of C++isms had been intruded into the code, which made compilation
awkward under plain C (although I managed that) and a couple of modules
caused me too many difficulties to tackle at that time.

Perhaps you could e-mail me, I'll tell you my philosophy for the changes,
and we can take it from there?

-- 
Brian {Hamilton Kelly}                                         bhk@dsl.co.uk
        "The fundamental design flaws [of the products of the Micros^WSirius
        Cybernetics Corporation]  are completely hidden by their superficial
        design flaws."  SLATFATF 1983 --- wasn't Douglas Adams prescient?:-)
Technical Details
Message-ID: <884770511snz@dsl.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <884532989snz@dsl.co.uk> <884757921snz@pdlmail.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,472149e7c60beaec
X-Google-Attributes: gid10bb05,public
From: bhk@dsl.co.uk (Brian {Hamilton Kelly})
Subject: Re: Selection (?) of print device for SNews
Date: 1998/01/14
Message-ID: <884770511snz@dsl.co.uk>
X-Deja-AN: 315816272
References: <884532989snz@dsl.co.uk> <884757921snz@pdlmail.demon.co.uk>
X-Mail2News-User: bhk@dsl.co.uk
X-Complaints-To: abuse@demon.net
X-Mail2News-Path: dragnhll.demon.co.uk
X-Trace: mail2news.demon.co.uk 884772591 4748 bhk dsl.co.uk
Organization: Dragonhill Systems Ltd
Newsgroups: demon.ip.developers