CDE question

CDE question

Post by Bigdaki » Fri, 11 Aug 2000 04:00:00



I have a script which I'd like to execute after loging in. The script would
fire off several different xterm and cmdtool commands. The question is, is
there some way in the script I could direct the xterms and cmdtools to specific
virtual windows?

I have a bunch of these things.. and it gets old after a while to have to
manually direct them to specific windows..

Thanx in advance,
Stuart
Dr. Stuart A. Weinstein
Ewa Beach Institute of Tectonics
"To err is human, but to really foul things up
requires a creationist"

 
 
 

CDE question

Post by Darren Moffat - Solaris Sustaining Engineerin » Fri, 11 Aug 2000 04:00:00



> I have a script which I'd like to execute after loging in. The script would
> fire off several different xterm and cmdtool commands. The question is, is
> there some way in the script I could direct the xterms and cmdtools to specific
> virtual windows?

Set things up the way you want and then use dtstyle to set your home
session.  This will create a file ~/.dt/sessions/home/dt.session which
shows how this is done.

--
Darren J Moffat

 
 
 

1. CDE Question

Hi,

I am researching writing a GUI application that uses an open source library.
The open source library is know to work on just about every flavor of UNIX
including HP-UX and Solaris.  Instead of using the API directly, I want to
take a layered approach and create a class wrapper for the open source
library.  The GUI will use the wrapper object instead of the API directly.

The idea is to make the wrapper class hide the details of the APIs
interaction with itself (like allocating and freeing resources) so GUI apps
can be similarly designed then compiled for different platforms that use the
same (or different) desktop environments.

Basically this is a traditional three-tiered architecture (Data, Business
Logic, Presentation).  The data in this case happens to be system resources:

OS API <-> C++ wrapper <-> GUI

In the Linux world there is Qt (a widget library) and KDE.  In the Solaris
and HP worlds, there is ??? and CDE.  Note that we are targeting HP-UX 11
and Solaris 8/9.

So, on to the questions:

1. Any URL references that can help me teach myself?
2. What is the widget library in CDE?  For HP-UX? For Solaris?  Are they
different?  If so How?
3. How do I program for CDE?
4. What is the development environment for HP-UX?
5. What is the development environment fo Solaris?
6. Since HP-UX and Solaris both use CDE, can I write one piece of code and
simply compile it on each platform and expect it to work?

Thanks, your answers are much appreciated.

Nick.

2. sendmail error

3. CDE: questions

4. openwindows environment troubles in 2.3

5. CDE question

6. 2.5: ewrk3 signature cleanup, changelog, and revision bump

7. Solaris 2.5.1 & CDE question

8. LINUX FEVER magazine ... Check it out!

9. A couple of CDE questions

10. CDE question: How to configure frontpanel?

11. Newbie CDE question

12. Basic CDE question on Sol 2.6

13. XDMCP - Remote CDE Question