[comp.windows.open-look] XView 2, Printtool - how to customize ?

sinkwitz@ifi.unizh.ch (Rainer Sinkwitz) (02/01/91)

Has anybody succeeded to change defaults of a XView application
which don't fall under the resources described in the xview.1 manpage ?

Here are some defaults I'd very much like to be able to change:
- internal fonts
  The -font, -fn, -Wt arguments only specify the default font of the 
  application. To be able to run the printtool, perfmeter and calendar
  programs against another X-Server I was forced to convert, compile and 
  install the fonts lucidasans-9, lucidasans-bold-9, screen.r.9 and 
  Helvetica (alias) for the other server.

- default printer in printtool
  I'm especially annoyed that the OpenWindows printtool doesn't read
  the PRINTER environment variable. When I start it, it always takes 
  the first printer in /etc/printcap. This is not my printer. 
  "printtool -\?" also doesn't yield further information.

- default user@host in the calendar manager
  Since we have many workstations and some servers it is better to 
  have all calendars on the same server host. So my default calendar
  should not be user@localhost but user@serverhost. I'm not able to 
  change this.

- default mail address in the calendar manager

All this can normally be done if applications are built with the
X-Toolkit (at the risk of breaking the application). With XView it
is easier to change defaults (properties) if they are changeable. 
But if they are not ... ;-(

Any ideas ?
  With regards... Rainer



-- 

Rainer Sinkwitz            | E-mail: sinkwitz@ifi.unizh.ch
Dept. of Computer Science  |     {backbone}!mcsun!unizh!sinkwitz
University of Zuerich      |         K114970@CZHRZU1A.bitnet

js9g@ccwf.cc.utexas.edu (S.H. Snyder, Jr. (Jay)) (02/02/91)

sinkwitz@ifi.unizh.ch writes (in article <1991Feb1.101927.837@ifi.unizh.ch>)...
|Has anybody succeeded to change defaults of a XView application
|which don't fall under the resources described in the xview.1 manpage ?
|
|Here are some defaults I'd very much like to be able to change:

[stuff deleted which I can't help with, and would like to know myself!]

|- default user@host in the calendar manager
|  Since we have many workstations and some servers it is better to 
|  have all calendars on the same server host. So my default calendar
|  should not be user@localhost but user@serverhost. I'm not able to 
|  change this.
|
|- default mail address in the calendar manager

For this, the solution I have used for about 3 weeks now is:

rsh serverhost cm

This has given me no problems with the DISPLAY variable, etc.  Of
course, I have all all kinds of wierd stuff in my .cshrc & .login
files to track which machine I've logged in on originally, so I may
actually be doing all the work myself & have just forgotten about it.

Of course, if you have problems with this, you could use batch files
to do the work for you.

Good luck.

I remain,
-- 
___________________________________________________________________________
"Diane, I'm holding in my hand a small box of  |      SILENCE=DEATH
chocolate bunnies." -- Dale Cooper             |   Live free or shut up.
Hey! I didn't eat the mousse! -Meaning of Life |  js9g@ccwf.cc.utexas.edu