Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* ISO VT320 emulator with key-bindings for Oracle Forms
@ 1999-06-01  4:00 Frampton Steve R
  1999-06-02  4:00 ` Frank da Cruz
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Frampton Steve R @ 1999-06-01  4:00 UTC (permalink / raw)


Hello:

I'm in need of a VT320 emulator with key-bindings for Oracle
SQL*Forms; it needs to either run under Linux/Unix or else be
an old DOS-based application that I can try running under
"dosemu" (a Windows-based app through Wine would not be
suitable, however).

I'm either looking for an Open Source solution (read: free), or
else something from Digital that my place of employment can get
through the Campus-Wide Software License.

Someone suggested "kermit", but unfortunately I don't know the
key-bindings for the various forms application keys (ie. Menu,
Commit, Find, etc.).  I've tried other supposed VT320 emulators
native to *nix as well -- but found them compliant in the very
loosest sense of the world!

Years ago I used something which I believe was called "setterm"
or "sethost" (the name escapes)... a DOS-based application from
Digital which I believe would fit the bill quite nicely through
dosemu -- but I can't find that software, and my organization
has *long* since discarded all that old DOS-based software media.

I've searched for a suitable solution several times in the past
but I'm still unable to use Forms-based applications from within
a *nix telnet session.  ;-(

*Surely* somebody out there is using a *nix-based system to
communicate with a Vax-based Oracle application server who would
be able to hand me a clue?

Any advice would be greatly appreciated.  Thanks in advance.

--------------< LINUX: The choice of a GNU generation. >--------------
Steve Frampton  <3srf@qlink.queensu.ca>  http://qlink.queensu.ca/~3srf



^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: ISO VT320 emulator with key-bindings for Oracle Forms
@ 1999-06-10  4:00 Frank da Cruz
  1999-06-10  4:00 ` Frank da Cruz
  1999-06-11  4:00 ` Peter da Silva
  0 siblings, 2 replies; 18+ messages in thread
From: Frank da Cruz @ 1999-06-10  4:00 UTC (permalink / raw)


peter@baileynm.com (Peter da Silva) wrote:
: In article <7jjshc$ere$1@newsmaster.cc.columbia.edu>,
: Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
: > ...
: > b. Inconsistent among different UNIX platforms and versions (e.g. the
: >    APIs differ -- even a simple function like tputs() has practically
: >    infinite combinations of return type and argument types, thus preventing
: >    any program that uses it from being portable without including hundreds
: >    of #ifdefs);
: 
: I haven't run into this problem, and I've written and ported an awful lot of
: curses-based code between UNIX systems. Some code did a good job of
: encapsulating the slight differences between implemetations of the termlib
: API, and other code made no attempt to hide system dependencies and just
: scattered ifdefs all over the place. Even otherwise well-written code like
: early versions of Kermit had that problem.
: 
tputs() can be void or int.  The third argument of tputs(), which is a pointer
to a function to put a character, can be void, int, or char.  The argument
to that function can be void or char.  Thus there are at least 2 x 3 x 2 = 12
combinations that must be accounted for in any portable code that uses tputs().
Probably more like 30 when you take into account that int or char can be
signed or unsigned.  Of course the ugliness is encapsulated, but that doesn't
make any less ugly.  I have never understood the force impels UNIX
implementors to change data types of widely used APIs every time they get a
chance.

: > c. Dependent on buggy and/or incomplete databases;
: 
: That's something the end-user can fix.
: 
If the end-user knows how to.  This is a rather obscure and dying art; one
does not rely on end-users to have mastery of it.  In these times, end-users
expect software to "just work".

: > d. Offer only an incomplete and sketchy model of any real terminal,
: >    not even close to sufficient for defining an accurate emulation;
: 
: My vt100 emulator, which used raw termlib, did a better job of vt100
: emulation than most commercial packages.  It didn't try and provide
: perfect visuals: double-wide and double-high letters, for example, were
: simply not addressed. But it passed the vt100 torture test.
: 
Then it didn't run strictly from termcap/terminfo information; otherwise, it
wouldn't have been a vt100 emulator, it would have been an emulator of every
terminal that had an entry in the database, right?  The database only encodes
certain information about a terminal, not all the information needed to make
a fully functional emulator.  Such items as report requests and responses,
forms-filling, and blockmode spring to mind.

: > e. Notorious for refusing to work due to library version mismatches;
: > f. Sometimes not available at all.
: 
: That's an easy fix. Same solution as B.
: 
It's easy if you understand cryptic messages about shared libraries, and
are familiar with the politics regarding curses vs ncurses, libc vs glibc,
competing numbering schemes, etc, and what to do about them.

: >And that in any case, this does not solve the original problem:
: >
: >  How do I map Shift-Alt-F7 to such-and-such a function?
: >
: >The answer will still be: "you can't, because the software has no way of
: >knowing that you pressed Shift-Alt-F7".
: 
: With a keyboard mapping file that maps escape sequences to symbols that
: the user's interested in.
: 
If xmodmap recognizes your keyboard and can see Shift-Alt-F7 as distinct from
other key combinations, then yes, but only for xterm.  A separate solution is
required for the console.  Remote (non-X) sessions haven't a prayer.

You win some and lose some.  UNIX is a general-purpose multiuser operating
system designed originally to be accessed from a terminal, and in fact a
variety of terminals.  The idea of a UNIX workstation with its own keyboard
and screen was grafted on later and is still not a good fit.

DOS and Windows, on the other hand, are single-user operating systems designed
to be used ONLY from the built-in keyboard, mouse, and screen, and therefore
include APIs (or direct hardware access) that make terminal emulation possible
in the sense that most people expect.  But this is at the expense of
generalized accessibility.

It is hard to explain this to people who expect UNIX to be like Windows.
While it might be possible to write a true terminal emulator for a specific
UNIX variety on specific hardware that runs only in an X window (and in fact
there are numerous examples -- xterm, Xfree86 xterm, the xterm versions from
HP, IBM, and other companies that emulate their own proprietary terminal
types), it is not possible in the general case, due to differences in hardware
(e.g. different keyboards), windowing systems (in the X environment), screen
drivers (in the console environment), APIs, and access methods.

- Frank



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~1999-06-12  4:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-01  4:00 ISO VT320 emulator with key-bindings for Oracle Forms Frampton Steve R
1999-06-02  4:00 ` Frank da Cruz
1999-06-02  4:00 ` Walter Harms
1999-06-02  4:00 ` Richard S. Shuford
1999-06-03  4:00   ` Scott G. Hall
1999-06-03  4:00     ` Jeffrey Altman
1999-06-03  4:00     ` Frank da Cruz
1999-06-08  4:00       ` Scott G. Hall
1999-06-08  4:00         ` Frank da Cruz
1999-06-09  4:00           ` Peter da Silva
  -- strict thread matches above, loose matches on Subject: below --
1999-06-10  4:00 Frank da Cruz
1999-06-10  4:00 ` Frank da Cruz
1999-06-11  4:00   ` Peter da Silva
1999-06-11  4:00     ` T.E.Dickey
1999-06-12  4:00       ` Peter da Silva
1999-06-11  4:00 ` Peter da Silva
1999-06-11  4:00   ` Frank da Cruz
1999-06-12  4:00     ` Peter da Silva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox