HDTenEightyP/NetNews huggingface dataset:
From: tvu@stingray.ess.harris.com (Thu Vu)
Subject: Re: ol(v)wm and menu fonts
Date: 14 Sep 92 16:04:01
Organization: Harris Corporation, Electronic Systems, Melbourne, FL

In article <1992Sep14.131717.23013@muppet.bt.co.uk> carlj@muppet.bt.co.uk (Carl Johnson) writes:

   Ok, I give up, I've read every manual I can think of (and some I couldnt :),
   all I want to do is to change the font in the workspace menu.  I could do it
   in sunview can anyone give me a clue on how to do it in OW3?

I have these lines in ~/.Xdefaults

OpenWindows.ButtonFont:                 lucidasans-16
OpenWindows.TextFont:                   lucidasans-16
OpenWindows.TitleFont:                  avantgarde-demi-18
--


   Thu V. Vu -- tvu@stingray.ess.harris.com
   ____________________________________________________________________
   harris corporation, ms 102-4844, p.o. box 94000, melbourne, fl 32902
Newsgroups: comp.windows.open-look
From: lee@sq.sq.com (Liam R. E. Quin)
Subject: Re: ToolTalk, PageView, Filemgr
Organization: SoftQuad Inc., Toronto, Canada
X-Feet: bare
Date: Sun, 6 Sep 92 22:52:29 GMT

km@mathcs.emory.edu writes:
> rouquett@Aig.Jpl.Nasa.Gov (Nicolas Rouquette) writes:
>>
>>With 'strings pageview' I can tell that the program can respond
>>to a tooltalk protocol. Does anyone know what message format needs to be
>>broadcasted for a pageview to accept it and display a postscript file?

I don't know...

>As it sits, pageview is less flexible than suntroff since it can only
>take a file (or a drop) as input.

You can also do
	programs | that | generate -PostScript | pageview -
to get pageview to read stdin.
You can't edit the postScript for some reason, but you can still Print.

>What I
>really want is an application that brings up a textedit window, with a
>button that runs the window contents through a specified pipeline, and
>uses tooltalk to bring up (or reuse) a pageview to rasterize the
>output. No temp files, no multiple clicks, just one click to update the
>preview.

Hmm, the old xvps demo did this for simple PostScript.

>If there was a program that would take its stdin, use tooltalk to 
>bring up (or reuse) a pageview, triggering the rasterize, you could
>approximate this with editor side mapping/macros.
>

The help viewer also takes ToolTalk messages, I think, as that seems to be
how AnswerBook controls it.  It might be worth looking at.

Lee

-- 
Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com
  latest released version: 1.10; ftp: ftp.cs.toronto.edu in directory: pub
  If Adultery is for Adults, is Juvenal for Juveniles?
Newsgroups: comp.windows.open-look
Distribution: world
Date: Tue, 15 Sep 92 12:17:47 PDT
From: wolinsky@isys.com (Jeff Wolinsky)
Subject: Running X over a modem connection

Scene:  2 Sun SPARCstations running SUNOS4.1.1 OW2,
        2 Telebit T2500 modems, 1 phone line

Question:

What's the best way to talk X (client <-> server) over the phone?
I'm rather a novice....  I've heard of SLIP and PPP, though I
don't know if they're in the public domain, require kernel
reconfiguration, etc.  I've also heard that an extended version
of tip ('tipx', I think) supports SLIP.

Can someone give me a brief summary of the options available
and/or the easiest way to get up and running?  (Or is it so slow
that I shouldn't even bother?)

Thanks.

- Jeff

/---------------------------------------------------------------------------\
|                     | Isys Controls, Inc.      |                          |
| Jeffrey Wolinsky    | 2417 Mariner Square Loop | The sooner               |
| Software Engineer   | Alameda, California      |    you get behind...     |
|                     | 94501  USA               |                          |
| wolinsky@isys.com   |                          | the more time            |
| uunet!isys!wolinsky | Tel: (510) 865-9882      |    you have to catch up. |
|                     | Fax: (510) 865-9927      |                          |
\---------------------------------------------------------------------------/
Xref: sparky comp.windows.open-look:3796 alt.toolkits.xview:857
From: freund@sakura.cs.ucdavis.edu (Jason Freund)
Newsgroups: comp.windows.open-look,alt.toolkits.xview
Subject: Text pane with TTY and TEXTSW ??
Date: 11 Sep 92 00:28:06 GMT
Followup-To: comp.windows.open-look
Organization: Department of Computer Science, University of California, Davis

I'm writing a new tiptool program that will let you run "tip" from a
window.  I built it with devguide 3 and "gxv" and modified the
"tip_stubs.c" file to make all the buttons work.

Everything works fine except that I want my TTY frame to have a
scrollbar like the one that was originally there when I built the
interface in devguide (by dragging a "text pane" into my window).
Unfortunately, when I changed the xv_create for the frame from TEXTSW to
TTY, it did let me run the tty in the text pane like I wanted, but it
took away my scrollbar.

My xv_create now looks like this:

tty = temp = obj = xv_create(owner, TTY,  /* _was_ TEXTSW instead of TTY */
	XV_KEY_DATA, INSTANCE, ip,
	XV_X, 0,
	XV_Y, (int)xv_get(ip->controls1, XV_Y) +
	      (int)xv_get(ip->controls1, XV_HEIGHT),
	XV_WIDTH, WIN_EXTEND_TO_EDGE,
	XV_HEIGHT, WIN_EXTEND_TO_EDGE,
	OPENWIN_SHOW_BORDERS, TRUE,
	NULL);

I can't put both "TTY, TEXTSW" in there.  And "TTY|TEXTSW" won't work.
How can I get the scrollbar back?

Thanks.
Jason Freund
summer address: jasonf@wayfarer.EBay.Sun.COM
Newsgroups: comp.windows.open-look
From: lee@sq.sq.com (Liam R. E. Quin)
Subject: Re: xvttool, crttool availablility
Organization: SoftQuad Inc., Toronto, Canada
X-Feet: bare
Date: Tue, 15 Sep 92 04:24:13 GMT

[I'm posting this since it will represent a change in the FAQ -- Liam]

eugene@maui.cs.ucla.edu (Eugene Yuzheng Ding) writes:
> FAQ says "xvttool" is on titan.rice.edu. But seems that host is no longer
> there (I got "unknown host" from several machines). I'll appreciate it
> if anyone can give an alternative site or so.

You can get xvttool and crttool (I know nothing about the latter except that,
as for xvttool, there are both OpenWindows and SunView versions) by
anonymous ftp from sites listed below, according to archie.

If you are running OpenWindows 3, you could also try $OPENWINHOME/demo/jet,
which is a terminal emulator that does a reasonable basic vt100 emulation,
athough you don't get GOLD keys, etc.

The Bristol Group has a commercial VT* terminal emulator for OpenWindows
that looks quite reasonable, judging by the demo version on the Catalyst
CD/Ware 3 cd/rom, although I couldn't actually get it to give me a shell,
presumably because it was a demo.

Here's the list of ftp sites for the xvttool and crttool terminal emulators.

Lee


Host srawgw.sra.co.jp   (133.137.4.3) Last updated 17:14  5 May 1992
    Location: /.a/sranha-bp/arch/arch/comp.archives/auto/comp.windows.x
    FILE      rw-r--r--      1594  Jan 13 21:46   OpenWindows-version-of-vttool
    Location: /.a/sranha-bp/arch/arch/comp.archives/x11/terminal
    DIRECTORY rwxr-xr-x       512  Feb  8  1991   xvttool
 
Host src.doc.ic.ac.uk   (146.169.2.1) Last updated 17:24  5 May 1992
    Location: /usenet/comp.archives/x11/terminal
    DIRECTORY rwxr-xr-x       512  May  3  1991   xvttool

Host srawgw.sra.co.jp   (133.137.4.3) Last updated 17:14  5 May 1992
    Location: /.a/sranha-bp/arch/arch/comp.archives/x11/terminal
    DIRECTORY rwxr-xr-x       512  Feb  8  1991   xvttool

Host cs.dal.ca   (129.173.4.5) Last updated 04:42 17 Jul 1992
    Location: /pub/comp.archives/comp.windows.x
    FILE      r--r--r--      1310  Jan 13  1992   openwindows-version-of-vttool
    Location: /pub/comp.archives
    DIRECTORY rwxrwxrwx       512  Feb  8  1991   xvttool

Host qiclab.scn.rain.com   (147.28.0.97) Last updated 16:30  5 May 1992
    Location: /pub/X11
    FILE      rw-r--r--    322715  Nov  4 02:30   crttool-2.0.tar.Z
 
Host src.doc.ic.ac.uk   (146.169.2.1) Last updated 17:24  5 May 1992
    Location: /usenet/comp.archives
    DIRECTORY rwxr-xr-x       512  May  3  1991   crttool
    Location: /sun/misc
    DIRECTORY rwxr-xr-x       512  Oct 29  1991   crttool


-- 
Liam Quin, lee@sq.com, SoftQuad, Toronto, 416 239-4801; the barefoot programmer
  lq-text (Unix text retrieval package) mailing list: lq-text-request@sq.com

Newsgroups: comp.windows.open-look
From: gibbons@chdasic.sps.mot.com (Alan Gibbons)
Subject: Virtual Desktop in OL3
Reply-To: gibbons@chdasic.sps.mot.com
Organization: Motorola ASIC Division
Date: Fri, 11 Sep 1992 23:00:09 GMT

I am using Open Look v3.0 (Virtual Desktop) on a Solbourne and have
two questions;

1	Is there any way to get the "sticky bit" of an icon to be
	recognized by Save Workspace ?

2	How can you get Save Workspace to save the position of the
	Virtual Desktop ?

Any help will be appreciated.

Thanks,
Alan






Newsgroups: comp.windows.open-look
From: haim@csa.technion.ac.il (Haim Roman)
Subject: Re: Missing subject header
Organization: Technion, Israel Inst. Tech., Haifa
Date: Sun, 13 Sep 1992 12:54:50 GMT
Keywords: X11R5, SunOS 4.1.2

In article <1992Sep09.153032.13894@watson.ibm.com>, johndew@watson.ibm.com (John Dewysocki) writes:
|> We have upgraded to SunOs 4.1.2 and X11R5, my problem is that
|> I can't start up openwindows any more.  When I try to execute
|> openwin it complains in the following way, then dies:
|> 
|> Couldn't get base SunWindow
|> /usr/openwin/bin/xinit:  Connection refused (errno 61): unable to
|> connect to X server
|> 
|> I have all the correct env. variables set up correctly, the right
|> path ahead of /usr/bin/X11, and have been able to run
|> /usr/openwin/bin/xinit by itself (running olwm) w/out a problem.
|> 
|> It seems the problem is with xnews (which complains about the
|> base SunWindow - above).  Unfortunately, I do not have any
|> X11/NeWS literature to refer to.  Can anyone give me any
|> pointers?  Is this a X11R5/NeWS problem?
|> Thanks,
|> --
|> 
|>      ~    John    ~
|> |///////////\\\\\\\\\\\|

I have experienced the same problem.  If anyone knows anything about
this, I would appreciate it.  We would like to install X11R5, but not
at the expense of the xnews server.

-- 
+---------------------------------------------------------------------+
| Haim (Howard) Roman	| 					      |
| Systems Staff 	| E-MAIL: haim@cs.technion.ac.il	      |
| Computer Science Dept	| PHONE:  04-294350	(from  inside Israel) |
| Technion		|         +972-4-294350 (from outside Israel) |
| Haifa, Israel		|					      |
+---------------------------------------------------------------------+
Newsgroups: comp.windows.open-look
From: smiles@NMC.ED.RAY.COM (Kevin Ruddy)
Subject: Building a panel before xv_main_loop
Organization: Equipment Division, Raytheon Company
Date: Thu, 10 Sep 92 23:32:57 GMT


I have a very small program that isn't working.  All its supposed to do
is read some entries from a DBM file, and put them into a PANEL_CHOICE.
I can't do this in the xv_create call, because I can't build a list of
arguments to pass.  (If I could pass an array of strings instead, this
wouldn't be an issue.)  So, basically, I do

	initialize
	xv_create(PANEL_CHOICE)
	loop {
		read database
		xv_set(PANEL_CHOICE_STRING, n++, entry)
	}
	xv_main_loop

The problem is that the xv_set bombs (segmentation fault).  I'm guessing
that it's because the panel isn't realized until xv_main_loop, and the
xv_set is assuming that the panel has already been realized.  How do
other people get around this?  Any suggestions?  I have no idea where to
go from here.  There doesn't appear to be a PANEL_CREATE_PROC that might
be triggered when the panel is created.  If there was, I could read the
database then and do the xv_sets.

Any help anyone can offer would be very appreciated.

Kevin.Ruddy@NMC.ED.RAY.COM
-- 
Kevin.Ruddy@NMC.ED.RAY.COM
Newsgroups: comp.windows.open-look
From: johndew@watson.ibm.com (John Dewysocki)
Subject: Openwindows startup problem
Date: Fri, 11 Sep 1992 16:34:52 GMT
Disclaimer: This posting represents the poster's views, not necessarily those of IBM
Organization: IBM T.J. Watson Research Center

We have upgraded to SunOs 4.1.2 and X11R5, my problem is that
I can't start up openwindows any more.  When I try to execute
openwin it complains in the following way, then dies:

Couldn't get base SunWindow
/usr/openwin/bin/xinit:  Connection refused (errno 61): unable to 
connect to X server

I have all the correct env. variables set up correctly, the right
path ahead of /usr/bin/X11, and have been able to run 
/usr/openwin/bin/xinit by itself (running olwm) w/out a problem.

It seems the problem is with xnews (which complains about the
base SunWindow - above).  Unfortunately, I do not have any 
X11/NeWS literature to refer to.  Can anyone give me any
pointers?  Is this a X11R5/NeWS problem?
Thanks,  

John
..................
-- 

     ~    John    ~ 
|///////////\\\\\\\\\\\|
Newsgroups: comp.windows.open-look,comp.windows.x.openlook
From: rogerr@netcom.com (roger reynolds)
Subject: Sample Widget Code Wanted
Date: Sat, 12 Sep 92 02:02:06 GMT
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Followup-To: poster


	Hi there OLIT experts.
	
	I am considering using OLIT widgets for an upcoming project
	and I have a few questions for anybody who would be so kind
	as to answer...

	I have SunOs 4.1.1, 4.1.2 and Openwindows versions 2 and 3
	available,  what is the best combination?

	I have been writing custom Motif widgets for a while, and
	have been greatly aided by having access to the source code
	for the Motif library.  Is there any way to get source code
	for the OLIT library that Sun ships? 
	Failing that, can you suggest some "sample OLIT" widgets
	that are publicly available as an alternative resource?

	Thanks for your time,  please respond by email to,

	rogerr@netcom.com
Newsgroups: comp.windows.open-look
From: euamol@eua.ericsson.se (Mats Larsson)
Subject: Re: Mailtool line-editing
Reply-To: euamol@eua.ericsson.se
Organization: Ellemtel Telecom Systems Labs, Stockholm, Sweden
Date: Thu, 10 Sep 1992 15:54:22 GMT

[...]

>thus here is my question.  is it possible for a user to compose an
>email and prior to sending it off, invoke a command which will insert
>returns when needed?  i have already written that command (called
[...]

If you look at the "Text Pane" menu in the compose window
you will find an entry called "Extras". This entry reads
the /usr/lib/text_extras_menu by default See textedit(1) or
DeskSet Reference Guide p. 337 for more information on how
to customize the "Extras" menu.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mats Larsson            | Email: Mats.Larsson@eua.ericsson.se
Ellemtel Telecom Labs   | Phone: +46 8 727 3658
S-125 25 Alvsjo, SWEDEN | Fax:   +46 8 47 82 76
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: gillett@rice-chex.ai.mit.edu (Walter E. Gillett)
Newsgroups: comp.windows.open-look
Subject: How do I make an item look inactive but keep it active in XView or LispView?
Keywords: n
Date: 4 Sep 92 17:57:49 GMT
Organization: MIT Artificial Intelligence Lab

Hi, Folks
    I'm trying to make, among other things, a tristate check box.  I'd like the
box to toggle between on, off, and inactive (or stippled out).  In Xt I'd just
set the widget's backgroundPixmap to an Xmu stipple pixmap.  How do I do this
in XView (or, even better, in LispView)?

    My reason for doing this is that I have an editor for a group of objects,
and I want the user to be able to change a subset of the fields of these objects
without effecting the other fields.  So only the active-looking items will
actually cause the fields in the edited objects to change.  I intend to apply
this technique to other sorts of items like text type-ins and scrolling lists as
well.  Is there a better way (short of having a "field will change" check-box
next to every item in the editor) of doing this?

			Thanks in advance for any help you can offer.
---------------------------------------------------------------
Joe Shapiro (NOT Walter Gillett, though I'm using his account!)
Please send replies to:                        joe@ConSolve.com
From: leue@galen.crd.ge.com (Bill Leue)
Newsgroups: comp.windows.open-look
Subject: Xlib Error Processing - Help!
Keywords: X Errors, XLib, XView, FRAME_BUSY
Date: 15 Sep 92 14:12:31 GMT
Organization: General Electric Research & Development

Don't you just love X Error processing?  NOT!

I've run across a problem that I can't understand which involves
interpreting a very obscure ( to me, at least) error message that
seems to originate somewhere down in the bowels of XLib.  The
invocation seems harmless enough:

(context: OW 3.0, SunOS 4.1.1, Sparcstation 2)

Frame myframe;
.
.
.
    
myframe = xv_create(NULL, FRAME,
		    XV_LABEL, "Foo",
		    FRAME_SHOW_LABEL, 1,
		    XV_WIDTH, 100,
		    XV_HEIGHT, 100,
		    0);

.
.
xv_set(myframe, FRAME_BUSY, TRUE, NULL);


At the xv_set() call, whammo!:

Xlib: sequence lost  (0x10063 >0x8e2) in reply type 0x1!

And the program is history!

Does anyone understand what X is trying (not very hard, IMHO) to tell
me here?  It looks like an internal error to me, since I've used
FRAME_BUSY lots of times before with no problems. And while we're on
the subject, who's the cretin that "designed" error handling in X and
Xview?

-Bill Leue
leue@crd.ge.com
From: km@mathcs.emory.edu (Ken Mandelberg)
Newsgroups: comp.windows.open-look
Subject: Re: Xview and process blocking?
Date: 5 Sep 92 15:10:14 GMT
Article-I.D.: emory.9479
Reply-To: km@mathcs.emory.edu
Organization: Emory University, Dept of Math and CS

In article 164826@bnkc08.Bell.CA, alex@bnkc08.Bell.CA (Alex Laney) writes:
>
>I'm using OW2 and I find that if I set FRAME_BUSY, do some other code, that
>the X server is locked up, i.e., no other window will get an event if I click
>on a FRAME_BUSY window. If I don't do a click on a FRAME_BUSY window,
>everything is fine. Of course, all this plays havoc in a development
>environment. You have to have a serial terminal or something to do some
>process killing.

I wish there was a way to avoid this problem, however, we do have a
trick a little easier than finding a serial terminal, for killing the
process. As part of our openwin-init we bring up an iconified Sunview
cmdtool in the corner of the screen. The way the sunview compatibility
mode works, sunview apps get their events independently even when the
"X server is locked up". So at a lockup, we just open the sunview
cmdtool and kill the FRAME_BUSY client, unlocking the server. Except
for the Sunview icon eating a small bit of screen space, there is not
much loss in this.

For me the tougher problem is not killing runaway FRAME_BUSY windows,
but dealing with windows that are FRAME_BUSY during a normal, but long
processing delay.  I run over slip from home, and lots of clients that
think a network access will be very quick end up being FRAME_BUSY for a
relatively long time. If you accidentally touch one of its buttons
while its BUSY, you just have to sit through the lockup (or kill it).
(For example, if xvnews starts an automatic rescan, and you touch a
buttom without noticing, there will be a few minutes of lockup).



---
Ken Mandelberg      | km@mathcs.emory.edu          PREFERRED
Emory University    | {rutgers,gatech}!emory!km    UUCP 
Dept of Math and CS | km@emory.bitnet              NON-DOMAIN BITNET  
Atlanta, GA 30322   | Phone: Voice (404) 727-7963, FAX 727-5611
Newsgroups: comp.windows.open-look,comp.lang.postscript,comp.windows.x.apps
Newsgroups: comp.windows.open-look
Distribution: world
Date: Wed, 9 Sep 92 11:03:09 EDT
From: fgreco@fis1026.shearson.com (Frank Greco)
Subject: Re: Font problems - Sun, Open-look V3

> I need a font which is eight-bit, iso-8859-1, clean, and fixed-spaced,
> i.e. suitable for shelltool windows.  The only ones my ol3 system
> seems to have that meet that criteria are Courier fonts - which, even
> though they are quite ugly, I could deal with, were it not for the
> fact that there are problems with them:

	Try lucidasanstypewriter.

> My questions are these:
> 
> 1:  Is there any ftp'able font editor for ol fonts?

	True "OL" (do you mean OW?) fonts are F3 fonts (perhaps Type 1
	in the future?).  Creating a new scaleable (F3) font can be
	done with the TypeMaker; but it's a non-trivial task if you're
	starting from scratch.  TypeMaker is an unbundled product from Sun.

> 2:  What is the name of the default font in ol2 and ol3 (they are
>     different) ?

	I believe its the same font, but its more correct in OW 3.0

> 3:  Why are some font specifications scaleable, i.e. the -scale
>     extra_large option yields a larger font, and others not?

	Because not all fonts are scaleable.  The F3 fonts are (and so
	are DisplayPostscript's Type1/3 fonts), most X Window fonts are
	not.  Sun's TypeScaler (built into OW) can convert the F3 fonts
	to bitmap for display, but ordinary X fonts/bitmaps look like
	garbage when "scaled".

	Frank G.

=-=-=-=-=-=-=-=-=-=
From: sinan@Mtesol.boeing.com (Sinan Karasu)
Newsgroups: comp.windows.open-look
Subject: XView3 on concurrent again
Date: 11 Sep 92 20:44:36 GMT

Here is the snippet of code that I was talking about
(this is from libxview/ttysw/tty_init.c )

When this gets executed on a concurrent (SVR3 + BSD 4.3 ? )
the stuff program sends to STDOUT still goes to the parent
xterm.Remember that we are NOT doing a setsid (it does not
exist on concurrent) we do a setpgrp(0,0) instead....

Thanx for any responses I may get....
Sinan
I wonder if the problem is with printf ??? hmmm....

-------------------------------------------------------------------


    vec.sv_handler = SIG_DFL;
    vec.sv_mask = vec.sv_onstack = 0;
    sigvec(SIGWINCH, &vec, 0);
    /*
     * Become session leader, change process group of child
     * process (me at this point in code) so
     * its signal stuff doesn't affect the terminal emulator.
     */
    setsid();
    vec.sv_handler = SIG_IGN;
    vec.sv_mask = vec.sv_onstack = 0;
    sigvec(SIGTTOU, &vec, &ovec);

    close(ttysw->ttysw_tty);
 
    /* Make the following file descriptor be my controlling terminal */
    ttysw->ttysw_tty = open("/dev/tty", O_RDWR, 0);  /* open master tty* */
    sigvec(SIGTTOU, &ovec, 0);
From: bryan@woody.s-strat.co.uk (Bryan Boreham)
Newsgroups: comp.windows.open-look
Subject: Re: Expose/Redraw failure??
Date: 10 Sep 92 10:09:34 GMT


carlson@tis.llnl.gov (John Carlson) writes:
> 
> In version 3.1beta2 of Interviews, under OpenWindows 3 xnews, I notice some
> failure to redraw portions of the screen after a popup window has popped
> down or a window is opened.  This is especially apparent in the openlook
> kit in InterViews, but also occurs in the SMF kit.
> 
> Has anyone else experienced this, or should I look at my code?
> 
> Initial testing shows this doesn't occur under the X11R5 server.

I have noticed this, using OLIT.  Unable to cure it, we disabled
save-under for all popup windows in the particular application.  
That doesn't mean that you (and I) shouldn't look at our code, 
of course :-)

Bryan Boreham
ALEX Technologies Ltd
Newsgroups: comp.windows.open-look
From: richard@aisg.com (Richard)
Subject: single and double click
Keywords: mouse singleclick doubleclick
Reply-To: richard@aisg.com (Richard)
Organization: Accura Innovative Services Inc.
Date: Wed, 9 Sep 92 19:27:50 GMT

I used DevGuide to generate a list panel.  I need to do a call back when
the user
did a single click and another call back when then user did a double click.

I used doubleclick() from DevGuide to check if the event is a double
click in the
following codes

int
SOlistitem(item, string, client_data, op, row)
	Panel_item      item;
        char            *string;
        Xv_opaque       client_data;
        Panel_list_op   op;
        Event           *event;
        int             row;
{

.
.
.
	case PANEL_LIST_OP_SELECT:
		if (doubleclick(event)) 
			fputs("doubleclick\n", stderr);
		else
			fputs("singleclick\n", stderr);
		break;
.
.
.
}

When a user did a double click, this function will get a single click
event then
a double click event.

single click output:
	singleclick

double click output:
	singleclick
	doubleclick

Is there a way to distinquish double click from a single click.  

Any help is appreciated

Richard Ching
Newsgroups: comp.windows.open-look,comp.windows.x,alt.toolkits.xview