HDTenEightyP/NetNews huggingface dataset:
From: jsc@saxon.Eng.Sun.COM (John Cooper)
Newsgroups: comp.windows.open-look
Subject: Re: Selecting olwm/olvwm from the command line.
Followup-To: comp.windows.open-look
Date: 11 Jan 93 12:03:45
Organization: SunSoft, Inc., Mountain View, CA
NNTP-Posting-Host: saxon
In-reply-to: dhiltz@whsun1.whoi.edu's message of Sat, 9 Jan 93 03:02:54 GMT

>> David Hiltz writes:

 David>    How can I indicate which window manager I want to use
 David>    (olwm/olvwm) from the command line?  I didn't see anything in
 David>    the openwin script file.  Can I do it through an environment
 David>    variable?  If so, what is it called and what is the syntax
 David>    for it?  I'm running OpenWindows on a Sun/SS2 4.1.3.

By default, olwm is started by the OpenWindows startup script
$OPENWINHOME/lib/Xinitrc

This file is *only* run if you don't have your own ~/.xinitrc OR you
haven't specified an alternate file using the XINITRC environment
variable.

To fix your problem, you can copy this file into your own ~/.xinitrc and
modify it to run olwm/olvwm/twm or whatever. It's a shell script so use
you imagination ;-)

For example, here's an excerpt from my .xinitrc:

#
# Window Manager.
#
if [ "$OPENWINHOME" = "" ]
then
    twm&
else
    olvwm&
#   /home/intrinsics/nayeem/motif/usr/bin/X11/mwm&
fi

--
	--- John
Newsgroups: comp.windows.open-look
From: dhiltz@whsun1.whoi.edu (David Hiltz)
Subject: Selecting olwm/olvwm from the command line.
Followup-To: comp.windows.open-look
Organization: NOAA-NMFS
Date: Sat, 9 Jan 93 03:02:54 GMT

   How can I indicate which window manager I want to use (olwm/olvwm) from the
   command line?  I didn't see anything in the openwin script file.  Can I do
   it through an environment variable?  If so, what is it called and what is
   the syntax for it?  I'm running OpenWindows on a Sun/SS2 4.1.3.

   For now I renamed olwm to something else inside of /usr/openwin/bin and
   copied the olvwm to olwm in /usr/openwin/bin. 

   Also, this is a FAQ I'm sure, but how to apply the patch for olvwm to bring
   it up to version 3.3 from version 3.0?

   Thanks in advance of course.

   David Hiltz 
   dhiltz@whsun1.wh.whoi.edu
   ###&@&###
From: sdo@piccolo.East.Sun.COM (Scott Oaks - Sun Consulting NYC)
Newsgroups: comp.windows.open-look
Subject: Re: Mouse controlled desktop scroll in olvwm ?
Date: 4 Jan 1993 18:44:30 GMT
Organization: Sun Microsystems, Inc.
Distribution: world
Reply-To: sdo@piccolo.East.Sun.COM
NNTP-Posting-Host: piccolo.east.sun.com

In article 27427@kuusi.metla.fi, valsta@kuusi.metla.fi (Lauri Valsta) writes:
> I would like to move by mouse the active desktop area within the virtual
> desktop provided by olvwm. The desktop should scroll when I try to move
> the mouse pointer over the edge of the screen. I have seen this once on
> a Tadpole SPARCBook. Don't know if it is their special hack. A similar
> behavior is provided by Stepping Out on Macs.

The Tadpole feature you saw is embedded in their server.  The server on the
tadpole is emulating an 1152x900 pixel screen even though it's much smaller;
it does this emulation by having the server scroll the view when the mouse hits
the screen edge.  It does this independent of which window manager you're using;
you'll see the same thing with, say, twm. In fact, if you are using olvwm, you'll
notice that it only scrolls like that within one logical screen area of the virtual 
desktop, and you'll still need to do the standard things (arrow keys, clicking in the 
VDM, etc.) to move between logical areas of the virtual desktop.

In fact, this sort of functionality can really only be embedded in the server anyway,
as the window manager will not know that the mouse is at the screen boundary if the
mouse happens to be over an application at the time.

-sdo

---
----------
Scott Oaks
Sun Microsystems	(scott.oaks@sun.com)

Newsgroups: comp.windows.open-look
From: db@sunbim.be (Danny Backx)
Subject: Re: Xrdb broken under OpenWindows 3.1/Solaris 2
Reply-To: db@sunbim.be
Organization: BIM n.v. Everberg Belgium
Date: Thu, 7 Jan 93 09:21:13 GMT

/usr/openwin/bin/xrdb runs fine to my NCD X server. Are you sure xrdb is to
blame ? Xnews is known to have lots of bugs.

	Danny
--
	Danny Backx
	System Engineer

E-Mail: db@sunbim.be    (or uunet!mcsun!ub4b!sunbim!db)

Telephone: +32(2)759.59.25	Fax : +32(2)759.47.95

Postal Mail :
	Danny Backx
	BIM
	Kwikstraat 4
	3078 Everberg
	Belgium

Newsgroups: comp.windows.open-look
From: adam@iset.scan.mc.xerox.com (Adam Stein)
Subject: Why doesn't OW3 rootmenu command POSTSCRIPT shutdownserver work?
Reply-To: adam@iset.scan.mc.xerox.com
Organization: Imaging Science Engineering & Technology, Xerox Corporation
Date: Fri, 8 Jan 1993 19:32:20 GMT


In OW2, the postscript command 'shutdownserver' worked fine.  This was even
documented in the olwm man page (under the BUGS section I think).  The OW3.0
version of olwm still has this in there, but it no longer works.  News (?)
complains that shutdownserver is undefined.  What gives?

I'm using it to shut down my X server.  I can't use the normal EXIT because
I'm runnign a program called unclutter.  This doesn't die, so the normal
EXIT command doesn't work.  If you know of a better way to close down than
to use POSTSCRIPT shutdownserver, I would appreciate knowing about it.

Thanx for any info.

							Adam Stein

-- 
Adam Stein @ Xerox Corporation         Email: adam@iset.scan.mc.xerox.com
                                              stein.wbst129@xerox.com
Disclaimer: Any/All views expressed	      ...!uunet!xerox.com!stein.wbst129
here have been proved to be my own.           <Rent this space cheap!>
Xref: sparky comp.windows.open-look:4966 alt.toolkits.xview:1176
From: buzz@bear.com (Buzz Moschetti)
Newsgroups: comp.windows.open-look,alt.toolkits.xview
Subject: Re: Mem leaks in Xview?
Date: 6 Jan 93 14:04:22 GMT
Reply-To: buzz@bear.com (Buzz Moschetti)
Organization: Bear, Stearns & Co. - FAST
In-reply-to: alex@animal.Bell.CA's message of 5 Jan 93 22:28:18 GMT

If you hope to see your process memory usage drop by 4k when you
deallocate during PANEL_LIST_DELETE, you won't.  Memory allocated by the
process cannot be returned to the pool -- that's Un*x, not X or XView.
Newsgroups: comp.windows.open-look
From: dew@rocky.cadence.com (Dave Wilson)
Subject: Open Look International Extensions
Originator: dew@rocky
Organization: Cadence Design Systems
Distribution: usa
Date: Wed, 6 Jan 1993 14:33:10 GMT


I am trying to write an international xview applicaition.  The internationalized
XView programming manual references the OPEN LOOK GUI Functional Specification, International Extension, Unix International, Internationalization Working Group 
and the OPEN LOOK GUI Functional Specification, Japanese Extension, Unix
International, Internationalization Working Group.  Does anyone know where I 
could get copies of these documents.  Thanks








Xref: sparky comp.windows.open-look:4956 comp.windows.x.intrinsics:706
From: swf@tools3teradata.com (Stan Friesen)
Newsgroups: comp.windows.open-look,comp.windows.x.intrinsics
Subject: Re: OLIT WAIT call
Date: 5 Jan 93 00:43:45 GMT
Distribution: world
Organization: NCR Teradata Database Business Unit

In article <1993Jan2.154226.7505@afterlife.ncsc.mil>, dpkemp@afterlife.ncsc.mil (David P. Kemp) writes:
|> 
|> You shouldn't have to simulate it, you should be able to use it.  The
|> notifier (according to it's documentation in the XVIEW manual) does not
|> actually need XVIEW to run - it can be used by any code, XVIEW or not.

I can attest to the truth of this:  I have written a network daemon using the
notifier to multiplex the connections.  It works quite well.

-- 
sarima@teradata.com			(formerly tdatirv!sarima)
  or
Stanley.Friesen@ElSegundoCA.ncr.com
From: sanner@track.physics.usfca.edu (David Sanner)
Newsgroups: comp.windows.open-look
Subject: Need Sun's OL fonts in BDF format
Date: 9 Jan 93 04:08:08 GMT
Organization: University of San Francisco
X-Newsreader: TIN [version 1.1 PL7]


 
We need to run some of your xview applications on our DECStation 5000.
 
Unfortunately it does not have any of the lucida-sans fonts or
the olcursor or olglyph fonts so I can not run any OL apps.
 
I figure if I can get the bdf files of these fonts I can compile them
on my DECStation.
 
Does anyone know where I can gets these fonts or another way around
this typical Sun font problem?
 
                Thanks,
 


--

                                    David Sanner   (sanner@usfca.edu)
                                    U of S.F. Physics Research Laboratory
                                    SF, CA 94117   (415) 666-2962
Newsgroups: comp.windows.open-look,alt.toolkits.xview
From: alex@animal.Bell.CA (Alex Laney)
Subject: Mem leaks in Xview?
Organization: Bell Canada, Ottawa, Ontario
X-Newsreader: TIN [version 1.1 PL8]
Date: Tue, 5 Jan 1993 22:28:18 GMT


I seem to be seeing a 4k memory leak everytime i do a

	xv_set( scroll_list, PANEL_LIST_STRING, row, string );

call on a panel list. That is, if the row already exists. I also don't
seem to see any deallocation if I do a PANEL_LIST_DELETE, PANEL_LIST_INSERT
before I do the PANEL_LIST_STRING.

Arrgh!

--
Opinions expressed are my own, and are not necessarily those of Bell,BCE,etc.,
or any corporation, agency or association I may be affiliated with.
  Alex Laney, Independent User Interface Guru, IWS/TRACS Project.
  Addr: xela@pinetree.org
Newsgroups: comp.windows.open-look
From: detorres@nosc.mil (Andy de Torres)
Subject: Re: Positioning Panel_items
Organization: Naval Ocean Systems Center, San Diego, CA
Date: Mon, 11 Jan 1993 22:35:51 GMT

I guess I'll clarify what I was after.

Without having to do major detective work, I would like to know, for example,

if I set PANEL_LABEL_Y for a PANEL_CHOICE to 12, what have I done?  What is
going to be at 12?  The top of the tallest character in the PANEL_LABEL?  The
bottom of the descenders?  And if I don't specify a PANEL_VALUE_Y, how will
the choice box/es be positioned?  Surely there's some method to this madness.
But I haven't seen it documented.  Anytime I try to align things on a grid, I
end up having to move my text fields up or down a little and my choices up or
down by a different amount, etc.

If anyone has figured this out or found it documented, please let me know.

Thanks.

-Andy, detorres@nosc.mil
Newsgroups: comp.windows.open-look
From: shansen@adobe.com (Steve Hansen)
Subject: Running "olwm" remotely
Summary: Need help running "olwm" from a remote display server
Organization: Adobe Systems Incorporated
Distribution: usa
Date: Fri, 8 Jan 1993 22:02:47 GMT

I am an X novice who has a Mac running X server software.  I want to
login into a remote Sun and use the Open Look window manager to drive my
X display (which is a "rooted" window).  The Sun is a Sparc 4
running SunOS 4.1.

It looks like the script "openwin" was designed for launching X locally
on the Sun, and does not support the use of an X server which is remote.
So I took much of the stuff from "openwin" and created my own X startup
script, but I'm still having some problems.

Has anyone created an X startup script that supports a remote display
server?  Or does anyone know if Sun does in fact support this easily?

Steve
Newsgroups: comp.windows.open-look
From: vladd@ups.com (Vladimir Dimanshteyn CONSULTANT)
Subject: New Pixmap Editor for X
Organization: UPS Research and Development
Date: Thu, 7 Jan 1993 21:16:06 GMT

I have posted a question about creating X pixmap a few days ago.
Most people suggested using iconedit utility but it only allows
128x128 pixmap creation max. I would like to create something like
800x800 or any other size. 

I also talked about third party MOTIF pixmap editor widgets and 
Mr. Bryan Boreham answered me that it does not matter if I am using
MOTIF or OLIT for pixmap creation. Yes that is true, pixmap is the same 
under both of these toolkits. But I can not bring in third party
MOTIF pixmap editor wifget into any of my OLIT applications. Thus, I
can not use this third party MOTIF widget to create a pixmap.

Once again, if anyone knows a utility to create pixmaps, larger
then small ones which can be created using iconedit, please let me
know. Thank you in advance.

Vladimir Dimanshteyn
UPS R&D
From: liqun@bioch.ox.ac.uk (Liqun Wang)
Newsgroups: comp.windows.open-look
Subject: Redundant repainting of XView canvas
Date: 8 Jan 93 11:45:58 GMT
Followup-To: alt.toolkits.xview
Organization: Department of Biochemistry, University of Oxford
Originator: liqun@maclaurin.bioch


I noticed that each time the frame which contains a canvas gets resized, the
canvas repaint gets called twice at least. Is it supposed to a feature of XView
or am I doing something wrong? Any enlightenment is greatly appreciated. 

liqun
Newsgroups: comp.windows.open-look
From: oper7@ee21.ee.ncu.edu.tw (Anthony Shih Hao Lee)
Subject: Stupid OLIT  prototype .h
Organization: Dep. of EECS, National Central University, Chungli, Taiwan, R.O.C.
Date: Wed, 6 Jan 1993 07:59:37 GMT

Hi, all programmers of OLIT;

I think the OLIT do not consider the C++ programmer, am I not ?

I met a serious problem and it seems no solution for it:
For a common use of TextEdit Widget, we usually use OlTextEditCopyBuffer()

it's prototype mentioned in Young's OLIT book is :
Boolean OlTextEditCopyBuffer ( TextEditWidget, char ** ) ;

but in OLIT 3.0:Xol/TextEdit.h
it became : 
extern Boolean OlTextEditCopyBuffer () ;
I knew that such declaration is for the sake of unlimit the argument type
and number, but why not use ANSI variable arguments?

any suggest are appreciately welcomed, please directly e-mail me if I am
wrong.
tony
-- 
>>> Anthony Li <Li3, Shih4 Hao2><Li:fruit's Name><Shih:Scholar><Hao:Hero>   <<<
<<< Institute of CSEE, National Central Univ, Chungli, Taoyuan, Taiwan, ROC >>>
>>> Internet:	oper7@mbox.ee.ncu.edu.tw	 oper2@ncuee.ncu.edu.tw	    >>>
Newsgroups: comp.windows.open-look
From: s29@osiris.cso.uiuc.edu (R.Mills)
Subject: XAW widgets
Organization: University of Illinois at Urbana
Date: Thu, 7 Jan 1993 22:46:07 GMT
Keywords: xaw openwindows openlook

Where can I get a copy of the Xaw (athena widgets) for sun os 4.1.2?

Don Ingli
don@scsmo1.attmail.com
From: stevel@Autodesk.COM (Steven W. Litras)
Newsgroups: comp.windows.open-look
Subject: OLIT in Solaris 2.1
Date: 11 Jan 93 16:26:47 GMT
Organization: Autodesk Inc., Sausalito CA, USA

Hey everyone, pardon if this has become a FAQ, but has anyone else seen 
Scrolling List widgets Segment Faulting under OLIT in solaris 2.1? If
so, is there a workaround?

Thanks
Steve

--
Steven W. Litras          /\     |                                     /\
Autodesk, Inc.	         //\\    | Just Another {Perl, C, Network}    //\\
stevel@autodesk.com     ///\\\   |             Hacker.               ///\\\
(415)332-2344x2510     Autodesk  |                                  Autodesk
Newsgroups: comp.windows.open-look
From: ian@sq.sq.com (Ian Darwin)
Subject: Re: Pixmap Editor for X
Cc: ian@sq.com
Organization: SoftQuad Inc., Toronto, Canada
Date: 	Wed, 6 Jan 1993 12:29:04 -0500
X-Mail-Failed-To: vladd@ups.com

Vladimir Dimanshteyn CONSULTANT (vladd@ups.com) writes:
> I would like to display a multi-colored logo in my application. Sun
> does not provide any utilities for creating pixmaps...

I'm not sure I understand your problem. Sun does provide a utility
called "iconedit" with OpenWindows; the OW V3 version of iconedit
supports color files in the semi-standard "X Pixmap" format. Is this
not what you want?

Ian Darwin
ian@sq.com
From: rickg@eng.sun.com (The Tankster)
Newsgroups: comp.windows.open-look
Subject: Re: Positioning Panel_items
Date: 11 Jan 93 13:09:58
Organization: SunSoft, Inc.
Reply-To: rickg@eng.sun.com
NNTP-Posting-Host: irondude
In-reply-to: detorres@nosc.mil's message of Mon, 11 Jan 1993 18:14:05 GMT


   Newsgroups: comp.windows.open-look
   From: detorres@nosc.mil (Andy de Torres)
   Organization: Naval Ocean Systems Center, San Diego, CA
   Date: Mon, 11 Jan 1993 18:14:05 GMT

   Can anyone fill in the following blanks for me?  Or refer me to some decent
   documentation?

   When I set the PANEL_LABEL_X of _____ to x/y, the _____ edge/corner/other will be
		  PANEL_LABEL_Y
		  PANEL_VALUE_X
		  PANEL_VALUE_Y

   at x/y.

   It seems to me that the answer is (totally) different for different Panel_items.


you seem to have answered your own question here, since not all
Panel Item's have value's associated with them (buttons, messages),
PANEL_VALUE_X/Y may not be meaningful.  certainly, XV_X/Y or XV_RECT
will give you the coordinates of the Item's bounding rect.


<<tank
--

*********************************************************************

	Richard M. "Tank" Goldstein		rickg@Eng.Sun.COM
	Window Developer Environment,
	SunSoft, Inc.

	"I'm a scientist.  I don't think, I observe."
			-Dr. Clayton Forrester

*********************************************************************
Newsgroups: comp.windows.open-look
From: emiller@anaconda.cis.ohio-state.edu (eric john miller)
Subject: Scrollbar Placement (Both Right and Left) in an Application
Organization: The Ohio State University Dept. of Computer and Info. Science
Date: Tue, 5 Jan 1993 15:01:59 GMT

Could someone offer suggestions on how to force scrollbars to be placed
on both the right and left side of canvases in a multi-canvas application.
I am interested in certain canvases having scrollbars on the left and
certain canvases having scrollbars on the right.  Any suggestions
would be apprectiated.

Thanks in advance...

Eric J. Miller
emiller@cis.ohio-state.edu
ejm@rsch.oclc.org
Newsgroups: comp.windows.open-look
From: valsta@kuusi.metla.fi (Lauri Valsta)
Subject: How to link DevGuide w/ c AND FORTRAN?
Organization: Metsantutkimuslaitos
Date: Tue, 12 Jan 93 15:14:17 GMT

I would like to use blocks of FORTRAN code w/ an interface generated by
DevGuide. So along with the GUI I need to link both c and FORTRAN object
modules. (In the xxxx_stubs.c file I call my FORTRAN routines from c.)
According to Sun FORTRAN manual, I would need to call f77 in the linking
stage to get the correct libraries (for FORTRAN, I presume). However,
the DevGuide makefile calls cc (?) and I get error messages (due to the
FORTRAN subroutines) in the linking stage, such as:

ld: Undefined symbol 
   _e_wsle 
   _do_l_out 
   _s_wsle 
*** Error code 2. 

Is it possible to edit the makefile so that the relevant FORTRAN
libraries get included in linking, or should I try to use f77 linker
with DevGuide (and c ?) libraries to get the job done?

Thanks for any help,

-- 
| Lauri T. Valsta   Finnish Forest Research Institute |
| valsta@metla.fi   Helsinki, Finland                 |
From: eric@aisg.com, (Hua-Wen Wang {Accura})
Newsgroups: comp.windows.open-look
Subject: HELP! Associate colormap to all the widgets
Date: 12 Jan 93 14:36:56 GMT
Reply-To: eric@aisg.com
Organization: Gateway Conversion Tech.

I'm porting XView libraries and applications to Motif.
I had a librarey which will create my private colormap and provide API to the      application to associate the new colormap to all the window objects.

In XView, the API will be called right before 
  xv_main_loop(main_frame);
and take the main_frame as the argument.
Inside the API, I use FRAME_NTH_SUBFRAME to get all the FRAMEs or FRAME_CMDs from 
  the main_frame,
 for each FRAME or FRAME_CMD, I use XQueryTree() to get its children window list,
 and use XSetWindowColormap() and XSetWMColormapWindows() to associate the 
 private colormap to all the children windows

Now my problem is in Motif, it seems that there's no such an attribute (similar 
 to FRAME_NTH_SUBFRAME) so that I can get all the dialog shell widgets base on
 the application shell widget.
Is there any way to associate a private colormap to all the widgets given an
 application shell?
Thanks!!

P.S. Please e-mail your response to me directly, since I got a tight schedule
      may not have too much time to browse through the News.
My e-mail add: eric@aisg.com
Newsgroups: comp.windows.open-look,alt.toolkits.xview
From: hue@island.COM (Pond Scum)
Subject: Re: Mem leaks in Xview?
Organization: Island Graphics Corp.
Date: Thu, 7 Jan 1993 07:47:23 GMT

buzz@bear.com (Buzz Moschetti) writes:
>If you hope to see your process memory usage drop by 4k when you
>deallocate during PANEL_LIST_DELETE, you won't.  Memory allocated by the
>process cannot be returned to the pool -- that's Un*x, not X or XView.

It's your malloc, not UNIX.  I have an application that runs on SunOS 4.1.x
and it sometimes grows to 60 or 70MB when the user does certain operations,
and then shrinks to two or three megabytes when the operations complete
and resources are freed.

However, from what I can tell, there is a 20 byte leak every time you
xv_create something.  It looks like xv_destroy doesn't free that twenty
bytes.  Purify tells me it's in generic_init, which I guess is the init
function for the base XView class.

-Jonathan		hue@island.COM
Newsgroups: comp.windows.open-look,alt.toolkits.xview
From: alex@animal.Bell.CA (Alex Laney)
Subject: Re: Mem leaks in Xview?
Followup-To: comp.windows.open-look,alt.toolkits.xview
Organization: Bell Canada, Ottawa, Ontario
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 8 Jan 1993 19:20:11 GMT

Buzz Moschetti (buzz@bear.com) wrote:
: If you hope to see your process memory usage drop by 4k when you
: deallocate during PANEL_LIST_DELETE, you won't.  Memory allocated by the
: process cannot be returned to the pool -- that's Un*x, not X or XView.

But why doesn't it get re-used? Someone else has mentioned to me that
X11R4 leaks memory. How about X11R5?

To the previous poster:

That wasn't the actual code, I always null terminate xv_set() calls.

And an OH YES (OY):

The mem leak occurs (or is more pronounced) when I use the
PANEL_LIST_FONT attribute:

xv_set(list,
       PANEL_LIST_INSERT, i, 
       PANEL_LIST_FONT, i, fixed_font, 
       PANEL_LIST_STRING, i, string, 0);

later, when the string data changes I do:

xv_set(list,
       PANEL_LIST_STRING, i, string, 0);

And the mem allocated jumps by 4k approx.

I can't convince the powers that be to get a source copy of the XView
toolkit. If only to look at what's going on internally. My guess is the
process of drawing/allocating pixmaps/whatever is messed up. They are not
being re-used.

I can understand that the list is not designed for dynamic data like this, but
what else is there in XView?

--
Opinions expressed are my own, and are not necessarily those of Bell,BCE,etc.,
or any corporation, agency or association I may be affiliated with.
  Alex Laney, Independent User Interface Guru, IWS/TRACS Project.
  Addr: xela@pinetree.org
Newsgroups: comp.windows.open-look
From: bryan@alex.com (Bryan Boreham)
Subject: Re: Pixmap Editor for X
Organization: Alex Technologies Ltd, London, England
Apparently-To: mail2news@demon.co.uk
Date: Wed, 6 Jan 1993 12:03:50 +0000

In article <1993Jan5.200402.13740@ups.com>, vladd@ups.com (Vladimir Dimanshteyn CONSULTANT) writes:
> I would like to display a multi-colored logo in my application. Sun
> does not provide any utilities for creating pixmaps. 

What about $OPENWIN/bin/iconedit?

> There are some
> third party pixmap widgets for MOTIF but I am using OLIT.

You can set the background pixmap of any X window, regardless of
widget set.  You might want to use an OLIT button, in which case
you need an image rather than a pixmap.

As an aside, iconedit seems to write out in XPM version 2 format,
and pbmplus as distributed can't read this.  I fetched the latest
version of the xpm code, which has a new xpmtoppm, but it only
reads version 1 and 3, not 2.  So I hacked it to read every kind
of xpm file I could find, but I would still like to know if there
is a "one true xpmtoppm" that would be better than my own hack.  

Bryan Boreham
bryan@alex.com