Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #1055

Re: TaskWindow launch an app and get its output

From Dave Higton <davehigton@dsl.pipex.com>
Newsgroups comp.sys.acorn.programmer
Subject Re: TaskWindow launch an app and get its output
Date 2011-11-20 14:56 +0000
Organization Home
Message-ID <93a4253552.davehigton@dsl.pipex.com> (permalink)
References <9d722e3152.davehigton@dsl.pipex.com> <314050ac-9837-4f22-9ba8-dcc0a2f338a2@e2g2000vbb.googlegroups.com> <4ae9c93452.davehigton@dsl.pipex.com> <bdedbce6-15b9-4afd-9ef7-8dc5a46c63e0@m7g2000vbc.googlegroups.com>

Show all headers | View raw


In message <bdedbce6-15b9-4afd-9ef7-8dc5a46c63e0@m7g2000vbc.googlegroups.com>
          James Lampard <dontreplytothis@mailinator.com> wrote:

> On Nov 19, 10:14 pm, Dave Higton <davehig...@dsl.pipex.com> wrote:
> > In message
> > <314050ac-9837-4f22-9ba8-dcc0a2f33...@e2g2000vbb.googlegroups.com>      
> >     James Lampard <dontreplytot...@mailinator.com> wrote:
> 
> [snip]
> 
> >
> > I then tried redirecting the output of my Absolute app to a log
> > file, to see if I could catch the control characters.  It logs:
> >
> > 1C 28 5B 77 24 04 17 01 00 00 00 00 00 00 00 00
> > 17 10 01 FE 00 00 00 00 00 00
> >
> > Even with the output from the Absolute file supposedly redirected,
> > the output from the first app is still affected.
> >
> > Does this put us any further forward in diagnosing what's happening?
> 
> Yes, that's what Wimp_CommandWindow likes to output.
> Digging out an old text file from 2006 shows that RO4 typically
> outputs:
> 
> 1C 0A 4D 4E 32                    (define text window)
> 04                                (split cursors)
> 17 01 00 00 00 00 00 00 00 00     (disable cursor)
> 17 10 01 FE 00 00 00 00  00 00    (disable scroll protection)
> 
> However I got this but I got from intercepting the output of the
> parent task window, not the child task.
> 
> I've got a new idea to get around this problem. On my machine
> VDU21:SYS "Wimp_StartTask","Command":VDU 6
> appears to work without the unwanted text window being used by Zap.
> Now I just need to re-write my Basic library to remove the hideous
> bodge I was using before.

Brilliant, James, thanks!  It works perfectly using Zap.  With
Edit, there are five spurious printed characters - but I think
that will be OK, with a warning in the Help file.

StrongED seems to go wrong with "Internal error: abort on data
transfer at &00041BC8" immediately, i.e. before it gets as far
as launching the Absolute app.  I have no idea why.  This is a
new installation of SE 4.68; I don't normally use SE, being a
Zap user for many years, but I thought I should check
compatibility.  Failed, sadly.

Dave

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


Thread

TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-12 22:07 +0000
  Re: TaskWindow launch an app and get its output druck <news@druck.org.uk> - 2011-11-14 19:40 +0000
    Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-19 22:45 +0000
      Re: TaskWindow launch an app and get its output druck <news@druck.freeuk.com> - 2011-11-19 23:49 +0000
      Re: TaskWindow launch an app and get its output Thomas Milius <Thomas-Milius@t-online.de> - 2011-11-20 11:48 +0100
  Re: TaskWindow launch an app and get its output Erik G <erikg@noname.invalid> - 2011-11-16 16:53 +0100
    Re: TaskWindow launch an app and get its output Martin Wuerthner <spamtrap@mw-software.com> - 2011-11-16 17:29 +0100
  Re: TaskWindow launch an app and get its output James Lampard <dontreplytothis@mailinator.com> - 2011-11-18 03:35 -0800
    Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-19 22:14 +0000
      Re: TaskWindow launch an app and get its output druck <news@druck.freeuk.com> - 2011-11-19 23:44 +0000
      Re: TaskWindow launch an app and get its output James Lampard <dontreplytothis@mailinator.com> - 2011-11-20 02:39 -0800
        Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-20 14:56 +0000
          Re: TaskWindow launch an app and get its output James Lampard <dontreplytothis@mailinator.com> - 2011-11-25 09:24 -0800
            Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-25 21:00 +0000
              Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-27 13:56 +0000
                Re: TaskWindow launch an app and get its output "Ste (news)" <steve@revi11.plus.com> - 2011-12-20 13:48 +0000
  Re: TaskWindow launch an app and get its output Gerph <gerph@gerph.org> - 2011-11-20 05:09 -0800
    Re: TaskWindow launch an app and get its output Dave Higton <davehigton@dsl.pipex.com> - 2011-11-22 17:07 +0000

csiph-web