Article View: comp.sys.sun
Article #7581Using Sunview TTY subwindows
From: "System admin"
Date: Sat, 27 Apr 1991 00:00
Date: Sat, 27 Apr 1991 00:00
17 lines
1312 bytes
1312 bytes
Maybe someone out there can help me with this Sunview problem. I have an application which creates a TERM subwindow (TERM is an undocumented subwindow type I stumbled across in cmdtool.c source, which behaves pretty much the same as a TTY subwindow). I start a shell in this subwindow, then send commands to the shell by calling the Sunview function ttysw_input(). So far so good. What I would like to do is have my application then capture the output of the shell commands which are executed in the TERM subwindow. For example, if I send it the command "foo", I would like to know if it outputs "foo me?" or "foo you!". Thanks in advance for your help. Mark Tooker Newbridge Networks Corp. Kanata, Ontario, Canada K2K 2E6 (613)591-3600
Technical Details
Message-ID:
<2629@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request
From: dang@newbridge.com ("System admin")
Newsgroups: comp.sys.sun
Subject: Using Sunview TTY subwindows
Keywords: Windows
Message-ID: <2629@brchh104.bnr.ca>
Date: 27 Apr 91 00:00:00 GMT
Sender: news@brchh104.bnr.ca
Organization: Sun-Spots
Lines: 18
Approved: Sun-Spots@rice.edu
X-Original-Date: Tue, 23 Apr 1991 19:15:05 GMT
X-Sun-Spots-Digest: Volume 10, Issue 88, message 15
X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu