Article View: comp.windows.x.apps
Article #571TERMSW and OpenWindows 3.1
From: Operator
Date: Tue, 29 Dec 1992 14:59
Date: Tue, 29 Dec 1992 14:59
66 lines
2532 bytes
2532 bytes
I've recently changed my system from running SunOS 4.1.2 and OpenWindows
2.0 to Solaris 2.0 and OpenWindows 3.1. Everything works fine except
for one remaining problem.
Every time I execute a particular utility or refresh its window, I
get the following warning:
ttysw_sigwinch, can't get tty process group: Inappropriate ioctl for device
I've traced this to the following xv_create:
obj = xv_create(owner, TERMSW,
XV_KEY_DATA, INSTANCE, ip,
XV_X, 0,
XV_Y, 148,
XV_WIDTH, WIN_EXTEND_TO_EDGE,
XV_HEIGHT, 288,
OPENWIN_SHOW_BORDERS, TRUE,
TEXTSW_BROWSING, TRUE,
TEXTSW_DISABLE_LOAD, TRUE,
TTY_ARGV, TTY_ARGV_DO_NOT_FORK,
NULL);
The exact line causing the problem is:
TTY_ARGV, TTY_ARGV_DO_NOT_FORK,
I don't get the warning message if I leave out this line, but then
my command prompt appears in the window - which is even more of
a problem then getting the warning.
The program does exactly what I want it to do, I just get that
annoying warning message. This worked fine under OpenWindows 2.0.
The only mention I can find on TERMSW in O'Reilly and Associates
XView Programming Manual is the following paragraph:
This book has never discussed the term subwindow. Basically,
it is a tty subwindow that can be edited like a text subwindow.
It may also contain a scrollbar. xv_termsw.c shows you how
to create a term subwindow.
A sample program then follows.
Is there anything I can do to not get this warning message displayed?
I also tried specifying TTYSW for the window type, and I believe
everything worked fine - except I no longer had a scroll bar and
I had to change all my '\n's to '\n\r's. A scroll bar is really
required for the application.
Any suggestions?
--
Joel D. Flatt Introl Corporation
Work: (612) 788-9391 jdf@intcorp.mn.org
Home: (612) 823-3390
--
Joel D. Flatt Introl Corporation
Work: (612) 788-9391 jdf@intcorp.mn.org
Home: (612) 823-3390
Technical Details
Message-ID:
<C010Aw.1up@intcorp.mn.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!uum1!kksys.com!edgar!technix!mishima!intcorp!rootShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.x.apps Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!umn.edu!uum1!kksys.com!edgar!technix!mishima!intcorp!root From: root@intcorp.mn.org (Operator) Subject: TERMSW and OpenWindows 3.1 Message-ID: <C010Aw.1up@intcorp.mn.org> Organization: Introl Corporation Date: Tue, 29 Dec 1992 14:59:19 GMT Lines: 66