Article View: comp.terminals.tty5620
Article #10Re: Can a 630MTG program call Windowproc routines?
From: Jeffrey L. Bromberger
Date: Fri, 10 Apr 1992 19:08
Date: Fri, 10 Apr 1992 19:08
78 lines
4530 bytes
4530 bytes
In article <18443@smoke.brl.mil> gwyn@smoke.brl.mil (Doug Gwyn) writes:
>In article <1992Apr7.000402.69@unixg.ubc.ca> I write:
>>re-implement the Windowproc to handle all the escape sequences I want.
>
>This has been done, in the new-S package (licensed by AT&T). There
>were a few bugs which I have fixed in our version; if you want the
>"diff" listing showing the bug fixes, let me know.
Uh-oh. You said the naughty word - licenced. Us poor starving grad
students are outta luck when it comes to that. And since it's really
a part of S, that means you have to licence the entire package and
not just the driver. It seems unusual to licence drivers (as opposed
to the code that uses them).
>>The second option ... is to use the ROM image of Windowproc as a sort
>>of library.
>What I would also like to know is how one can do this decently.
I never said that I had all the ideas worked out! :-) I came to this
conclusion because I seem to recall that there was a "memory map" of
the old 5620 roms in the back of the programmers manual. I thought
that maybe you could call upon these routines like 6502 assembler
programmers used to call on the ROM routines that drove BASIC
interpreters. Maybe we can "persuade" the folks at Bell Labs to make
available the source to Windowproc (yeah, and I'm still waiting for
3B1 source code!). If not the source, how about relocatable objects?
A second thought - has anyone tried either the TEK or HP24?? emulator
for the 630? How well does it work? Could something be designed like
that?
>Even
>if you build in your own terminal emulator, you still lose the scroll
>bars and mouse editing.
Come to think of it, I don't remember seeing *anything* at all in the
programming manuals for use of the scroll bars and/or the mouse
yank/put functions. That means there's a lot of novel code in the
ROMS, and it'd be nice to use it. The only problem that I can forsee
is that there had better be a symbol table of sorts, else whatever you
write will be stuck with absolute addresses (and therefore is limited
by the ROM release in your 630).
>I'd like to be able to construct essentially
>the following in the terminal
>
> HOST_CHANNEL <----> FILTER <----> DEFAULT_WINDOWPROC
>
>where the "FILTER" is a downloaded application that inspects data
>traffic and either passes it along or else consumes it with some
>special action. For example, in the case of the S terminal part,
>it would look for a "begin graphics mode" code and once seen would
>intercept all subsequent data, making plots etc. until an "end
>graphics mode" code were seen. (While not in graphics mode, one
>would have full use of the Windowproc text support features.)
While this filter (which is exactly what I'm looking to do, BTW) would
be nice on the 630's processor, can't you do something with a pty or
stream and filter the code on the host side of things? I don't know
enough about either the XT driver scheme or STREAMS as to the
feasability of this project.
>This is basically a job for "STREAMS", which the 630 doesn't appear
>to have, but perhaps there is an adequate substitute available. If
>so, I hope somebody tells us about it!
I have another brilliant question. What is the most current release
of the 630 development (compiler) tools? I seem to have 1.1 and I
fear that it's a bit dated. Was there anything else released? I am
still hopping mad about the fact that proof and cip for the 630 is
available only via toolchest. I have to pick up not only the
licencing tab, but also a long-distance phone bill. Donna talk to me
about Ma Bell's stupid code distribution methods!
j
--
Jeffrey L. Bromberger--- System Manager --- Tramway Unix Consulting
jeffrey@tram.com Anywhere!{van-bc,ccnysci,icus}!tram!jeffrey
Technical Details
Message-ID:
<1992Apr10.190848.11132@unixg.ubc.ca>Path:
arc1-ca.pugleaf.net!sparky!news.UU.NET!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!unixg.ubc.ca!jeffreyReferences:
<1992Apr7.000402.69@unixg.ubc.ca> <18443@smoke.brl.mil>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!news.UU.NET!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!van-bc!ubc-cs!unixg.ubc.ca!jeffrey From: jeffrey@squid.tram.com (Jeffrey L. Bromberger) Newsgroups: comp.terminals.tty5620 Subject: Re: Can a 630MTG program call Windowproc routines? Keywords: ROM subroutines escape sequences Message-ID: <1992Apr10.190848.11132@unixg.ubc.ca> Date: 10 Apr 92 19:08:48 GMT Article-I.D.: unixg.1992Apr10.190848.11132 References: <1992Apr7.000402.69@unixg.ubc.ca> <18443@smoke.brl.mil> Sender: news@unixg.ubc.ca (Usenet News Maintenance) Reply-To: jeffrey@squid.tram.com (Jeffrey L. Bromberger) Organization: Tramway Unix Systems Lines: 78 Nntp-Posting-Host: kynok.ucs.ubc.ca