Groups | Search | Server Info | Login | Register


Groups > comp.sys.acorn.misc > #21556

Re: Newshound and NNTPS

From Paul Stewart <phorefaux@gmail.com>
Newsgroups comp.sys.acorn.misc
Subject Re: Newshound and NNTPS
Date 2025-02-08 20:45 +0000
Organization i2pn2 (i2pn.org)
Message-ID <a95e21ec5b.Paul@phorefaux> (permalink)
References (2 earlier) <780ddbe85b.chris@mytardis> <5be8dd8809News03@avisoft.f9.co.uk> <mpro.sr2nrg034gd3q03qf.news@stevefryatt.org.uk> <236310ec5b.DaveMeUK@BeagleBoard-xM> <5b0e19ec5b.Paul@phorefaux>

Show all headers | View raw


In message <5b0e19ec5b.Paul@phorefaux>
          Paul Stewart <phorefaux@gmail.com> wrote:

> In message <236310ec5b.DaveMeUK@BeagleBoard-xM>
>           David Higton <dave@davehigton.me.uk> wrote:

>> If anyone is interested: NewsHound is old fashioned in that it keeps
>> its configuration within the app.  This has been frowned on for years.
>> Trouble is, it's going to be difficult to write code that puts the
>> config in Choices$Write for new users, but doesn't just blindly look
>> there and start up without a configuration if someone simply copies a
>> new version over an old.  Thoughts welcome!

> Could you not have Newshound do a check on start up for an existing config
> stored inside the app and automatically move this to Choices?  Then it can
> just blindly look there and the user will know no difference.

Replying to my own message here I know.
Just moved my own config into choices$write (may not be bullet proof but 
does work)

Adjusted
!Boot file
Commented out existing NewsHound$ConfigDir line and added new one as 
follows: If "<NewsHound$ConfigDir>" = "" Then Set NewsHound$ConfigDir 
<Choices$Write>.Newshound

!Run file
Commented out the two lines for existing NewsHound$ConfigDir and replaced 
with: If "<NewsHound$ConfigDir>" = "" Then Set NewsHound$ConfigDir 
<Choices$Write>.Newshound

After the IconSprites line have added: -

|Move config to choices$write
ifthere <Newshound$Dir>.Config.Config then copy <Newshound$Dir>.Config 
<choices$write>.NewsHound R ~C D ~V

Newshound now starting up, checking for config inside Newshound, if found, 
then move to choices$write.newshound

Now starts up with config located in choices$write

-- 
Paul Stewart
Sent from A9home running RISC OS 4.42

Back to comp.sys.acorn.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2024-05-15 22:28 +0100
  Re: Newshound and NNTPS Stuart <Spambin@argonet.co.uk> - 2024-05-15 22:00 +0000
  Re: Newshound and NNTPS "John Williams (News)" <UCEbin@tiscali.co.uk> - 2024-05-15 23:00 +0100
  Re: Newshound and NNTPS Chris Newman <mec@npost.uk> - 2024-05-15 23:08 +0100
    Re: Newshound and NNTPS "Richard Darby (news)" <news@rjdarby.co.uk> - 2024-05-16 10:28 +0100
    Re: Newshound and NNTPS Alan Griffin <ajg@argonet.co.uk> - 2024-05-16 18:15 +0000
  Re: Newshound and NNTPS Martin <News03@avisoft.f9.co.uk> - 2024-05-15 23:25 +0100
    Re: Newshound and NNTPS Chris Newman <mec@npost.uk> - 2024-05-16 10:14 +0100
      Re: Newshound and NNTPS Martin <News03@avisoft.f9.co.uk> - 2024-05-16 11:10 +0100
    Re: Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2024-05-16 11:17 +0100
      Re: Newshound and NNTPS Martin <News03@avisoft.f9.co.uk> - 2024-05-16 12:49 +0100
      Newshound and NNTPS Evan Clark <news@ejclark.force9.co.uk> - 2024-05-16 17:25 +0100
      Re: Newshound and NNTPS Chris Newman <mec@npost.uk> - 2024-05-16 21:30 +0100
        Re: Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2024-05-16 21:51 +0100
          Re: Newshound and NNTPS Chris Newman <mec@npost.uk> - 2024-05-16 22:22 +0100
        Re: Newshound and NNTPS Stuart <Spambin@argonet.co.uk> - 2024-05-24 16:30 +0000
  Re: Newshound and NNTPS Dave <dave@triffid.co.uk> - 2024-05-16 07:04 +0100
  Re: Newshound and NNTPS John <newsmcc@blueyonder.co.uk> - 2024-05-16 10:46 +0100
    Re: Newshound and NNTPS Chris Hughes <news13@noonehere.co.uk> - 2024-05-16 11:35 +0100
  Re: Newshound and NNTPS Brian Jordan <brian.jordan9@btinternet.com> - 2024-05-16 11:25 +0100
  Re: Newshound and NNTPS Harriet Bazley <harriet@bazleyfamily.co.uk> - 2024-05-18 20:34 +0100
    Re: Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2024-05-18 21:09 +0100
  Re: Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2024-05-19 16:45 +0000
    Re: Newshound and NNTPS Chris Hughes <news13@noonehere.co.uk> - 2024-05-19 18:42 +0100
    Re: Newshound and NNTPS Brian Jordan <brian.jordan9@btinternet.com> - 2024-05-19 18:53 +0100
    Re: Newshound and NNTPS Chris Newman <mec@npost.uk> - 2024-05-20 12:06 +0100
    Re: Newshound and NNTPS Stuart <Spambin@argonet.co.uk> - 2024-05-24 17:00 +0000
  Re: Newshound and NNTPS Rob Hemmings <rhemmings@rgvk.co.uk> - 2024-08-04 15:42 +0100
  Re: Newshound and NNTPS Paul Stewart <phorefaux@gmail.com> - 2025-02-02 11:03 +0000
    Re: Newshound and NNTPS Chris Hughes <news13@noonehere.co.uk> - 2025-02-02 12:08 +0000
      Re: Newshound and NNTPS Chris Newman <newslists@npost.uk> - 2025-02-02 12:30 +0000
      Re: Newshound and NNTPS Martin <News03@avisoft.f9.co.uk> - 2025-02-02 12:36 +0000
        Re: Newshound and NNTPS Steve Fryatt <news@stevefryatt.org.uk> - 2025-02-02 20:04 +0000
          Re: Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2025-02-08 17:40 +0000
            Re: Newshound and NNTPS Paul Stewart <phorefaux@gmail.com> - 2025-02-08 19:14 +0000
              Re: Newshound and NNTPS Martin <News03@avisoft.f9.co.uk> - 2025-02-08 19:46 +0000
                Re: Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2025-02-08 21:36 +0000
              Re: Newshound and NNTPS Paul Stewart <phorefaux@gmail.com> - 2025-02-08 20:45 +0000
              Re: Newshound and NNTPS David Higton <dave@davehigton.me.uk> - 2025-02-08 21:34 +0000
                Re: Newshound and NNTPS Paul Stewart <phorefaux@gmail.com> - 2025-02-08 22:11 +0000
            Re: Newshound and NNTPS Harriet Bazley <harriet@bazleyfamily.co.uk> - 2025-02-08 21:26 +0000
      Re: Newshound and NNTPS Paul Stewart <phorefaux@gmail.com> - 2025-02-02 16:27 +0000

csiph-web