Re: Terminal types, recognition of...

From: William Kaufman <wkaufman_at_us.oracle.com>
Date: Thu, 13 Aug 1992 21:03:57 GMT
Message-ID: <1992Aug13.210357.22834_at_oracle.us.oracle.com>


In article <1992Aug12.212237.17532_at_unixg.ubc.ca> george_at_unixg.ubc.ca (George chow) writes:
] In article <1992Aug12.022036.9693_at_oracle.us.oracle.com>, wkaufman_at_us.oracle.com (William Kaufman) writes:
] |>
] |> Well, it'll look for a terminal named "xterm" in your oraterm.r. If
] |> it doesn't find it (and, in the default oraterm.r, it might not), the
] |> program will warn you and halt.
]
] Ah, so oraterm.r is an index of sorts...

    Ummm, not sure how you mean "index". It's the default resource file: unless you specify one with the "-c" option, your terminal name better be listed in there.

] Maybe I should have said that I was really more interested in the file oraterm.r.
] I was slightly confused because my ORATERMPATH points to a directory which
] contains xterm.r, vt100.r, and a few others.

    ...and oraterm.r, I hope!

] Since I know that if I come in from
] a vt100 terminal that things are okay, I couldn't understand why coming in from
] an xterm would be different. So, the answer is that oraterm.r needs to have an
] entry for xterm inside it before it will even start looking for xterm.r.

    The tools (Forms, Menu, etc.) will only look at one file--oraterm.r, or whatever you specify; {terminal}.r won't be looked at. And, most product lines ship an oraterm.r that only contains definitions for the VT terminals--that's why your VT worked OK, but your xterm didn't.

    A single resource file *can* contain more than one terminal, though. If you've got a set of terminals that always get used, you can put them all in a single oraterm.r using the "oraterm" program. Then, you only have to be sure that the default terminal is set properly--on UNIX, that means setting your $TERM variable correctly.

    (Convert the above into your OS's language,...)

  • Bill K.
William P.D. Kaufman         Voice: (415) 506-2447     500 Oracle Parkway
wkaufman_at_us.oracle.com         Fax: (415) 506-7221     Box 659411
Tools & Multimedia                                     Redwood Shores, CA 94065
Received on Thu Aug 13 1992 - 23:03:57 CEST

Original text of this message