Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6351
| Path | csiph.com!aioe.org!yBIfwlcYvPp0VbqA9SeaOg.user.46.165.242.75.POSTED!not-for-mail |
|---|---|
| From | Kevin Wells <kev@kevsoft.co.uk> |
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Problem returning from WGET from within an assembler prog |
| Date | Sat, 09 Apr 2022 20:23:39 +0100 |
| Organization | Aioe.org NNTP Server |
| Lines | 50 |
| Message-ID | <13d593d659.Kevin@Kevsoft> (permalink) |
| References | <59d5e28a96bob@sick-of-spam.invalid> <t2p8ka$1db3$1@gioia.aioe.org> <59d600739fbob@sick-of-spam.invalid> <6a8503d659.harriet@bazleyfamily.co.uk> <59d6672366bob@sick-of-spam.invalid> <mpro.ra2pxr01s2b8u07k5.news@stevefryatt.org.uk> <59d68649a5bob@sick-of-spam.invalid> |
| Injection-Info | gioia.aioe.org; logging-data="52766"; posting-host="yBIfwlcYvPp0VbqA9SeaOg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; |
| User-Agent | Messenger-Pro/8.05wpb1 (MsgServe/8.05) (RISC-OS/5.29) NewsHound/v1.52-32 |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Xref | csiph.com comp.sys.acorn.programmer:6351 |
Show key headers only | View raw
In message <59d68649a5bob@sick-of-spam.invalid>
Bob Latham <bob@sick-of-spam.invalid> wrote:
>In article <mpro.ra2pxr01s2b8u07k5.news@stevefryatt.org.uk>,
> Steve Fryatt <news@stevefryatt.org.uk> wrote:
>> On 9 Apr, Bob Latham wrote in message
>> <59d6672366bob@sick-of-spam.invalid>:
>
>> > 'Invalid Wimp operation in this context.'
>
>> Ah. Wimp_StartTask must be called from a Wimp application which is
>> already calling Wimp_Poll.
>
>> I think your options are either to look at the Arthur way of doing
>> stuff (fiddle with the environment and shift things around in
>> memory) or do without WGet.
>
>> If you're using RISC OS 5, could you use the built-in HTTP fetcher?
>> As a module called by SWIs, that might run as part of your
>> application (I don't know; I've not looked at how it works, so I'm
>> not sure if it expects to be called from a polling application or
>> not). If so, that would sidestep the problem of launching a
>> separate task to do the fetching.
>
>Thanks Steve.
>
>I did look into that but quickly realised this is beyond my baby
>steps.
>
>Must admit, it surprises me that fetching a file from the net is so
>difficult to do.
From BASIC wget is easy to fetch files from the internet I use the
followiong:
SYS "Wimp_StartTask", "wget ...
Whilst fetching the computer is single tasking,
>
>Thanks again.
>
>Bob.
>
--
Kev Wells
http://kevsoft.co.uk/ https://ko-fi.com/kevsoft
carpe cervisium
24 hours in a day and 24 beers in a case. Hmmm..
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-08 12:07 +0100
Re:Problem returning from WGET from within an assembler prog Steve Drain <steve@kappa.me.uk> - 2022-04-08 13:08 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-08 17:33 +0100
Re: Problem returning from WGET from within an assembler prog Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-04-08 18:07 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-08 20:05 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-09 12:15 +0100
Re: Problem returning from WGET from within an assembler prog Steve Fryatt <news@stevefryatt.org.uk> - 2022-04-09 14:10 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-09 17:55 +0100
Re: Problem returning from WGET from within an assembler prog Kevin Wells <kev@kevsoft.co.uk> - 2022-04-09 20:23 +0100
Re: Problem returning from WGET from within an assembler prog David Higton <dave@davehigton.me.uk> - 2022-04-09 22:29 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-10 09:38 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-10 09:36 +0100
Re: Problem returning from WGET from within an assembler prog Kevin Wells <kev@kevsoft.co.uk> - 2022-04-10 13:05 +0100
Re: Problem returning from WGET from within an assembler prog Kevin Wells <kev@kevsoft.co.uk> - 2022-04-11 18:09 +0100
Re: Problem returning from WGET from within an assembler prog Harriet Bazley <harriet@bazleyfamily.co.uk> - 2022-04-10 13:01 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-10 13:36 +0100
Re: Problem returning from WGET from within an assembler prog druck <news@druck.org.uk> - 2022-04-11 13:59 +0100
Re: Problem returning from WGET from within an assembler prog Theo <theom+news@chiark.greenend.org.uk> - 2022-04-09 14:15 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-09 17:56 +0100
Re: Problem returning from WGET from within an assembler prog Steve Fryatt <news@stevefryatt.org.uk> - 2022-04-08 19:15 +0100
Re: Problem returning from WGET from within an assembler prog Bob Latham <bob@sick-of-spam.invalid> - 2022-04-08 20:07 +0100
csiph-web