HDTenEightyP/NetNews huggingface dataset:
From: graaff@duticai.twi.tudelft.nl (Hans de Graaff)
Newsgroups: fj.mail-lists.x-window
Subject: Re: setting DISPLAY env variable
Date: 21 Dec 92 19:26:44 GMT
Distribution: fj
Organization: Delft University of Technology

Date: 21 Dec 92 13:33:33 GMT
Message-Id: <BzM2zx.J7M@dutiws.twi.tudelft.nl>
Newsgroups: comp.windows.x

In article 1h4bp2INNi8u@sol.deakin.OZ.AU, rns@deakin.OZ.AU (Robert Sturrock) writes:
>I don't think this solves the problem.  My difficulty is not starting
>up an xterm.  My problem is logging into a remote machine and having the
>DISPLAY variable appropriately set on this machine to "wkstn:0.0".

I got this from the net some time ago, and I've used it for some time now.
I use this in my .login

--

# make it so that the DISPLAY points to the machine I'm sitting at...
set callerid=`who am i | sed -e 's/^.*(//' -e 's/)$//' -e 's/\.[-a-zA-Z]*$//' `
 
# callerid is either the current display (:0.0), or the host (foo.bar)
set test = `echo $callerid | sed -e 's/^.*:.*//'`
 
if ($#test == 1) then
    setenv DISPLAY $callerid\:0.0
else
    setenv DISPLAY `hostname`:0.0
endif
 
unset test
---
Hans de Graaff                  | I want someone to follow,
J.J.deGraaff@IS.TWI.TUDelft.NL  |   who doesn't lead the way
Department of Informatics       | I want someone to listen,
Delft University of Technology  |   who won't repeat what I say
               Room: 2.003, Telephone: +31-15-78-5811
From: CZIWKGA@VMSFE.ULCC.AC.UK ("Kevin Ashley, Systems Development, ULCC")
Newsgroups: fj.mail-lists.x-window
Subject: Information on Image extensions(s) to X?
Date: 23 Dec 92 12:53:11 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Message-Id: <9212231150.AA23382@expo.lcs.mit.edu>
Via: uk.ac.ulcc.vmsfe; Wed, 23 Dec 1992 11:50:26 +0000
Date: Wed, 23 Dec 92 11:46 GMT

Apologies to those of you who have seen this before ; I originally sent this
question to the ximage list, and the response was almost total silence. Alan
Mazer at JPL pointed me at Joseph Mauro at Digital, Merrimack, as the author of
a document proposing an image extension written some four years ago, but he
didn't have an email address for him. The telephone number he gave appears to
connect me to something, but the voice at the far end of it is so faint I can't
tell what they are saying :-(.

If Joseph Mauro is still out there, or if anyone has an email address for him,
I'd be grateful if they could get in touch. Otherwise, if you are able
to answer any of my questions below on image extensions to X, I'd also
be grateful.

------------------------------------Forwarded message: (originally to ximage:)

I joined this list a few weeks ago partly because I have a particular
interest in imaging, and also because I am trying to gather information
on X extensions in general for a presentation I am due to give in
a couple of weeks. I've managed to gather a good deal of information
on Consortium standard extensions, of course, and on other proprietary
and demonstration-type extensions, but on imaging I've drawn a blank.

I'd like to know:

What is the status of the image extension which I thought I had heard
of a year or two back ?
Is it still in development ?
Is there only one ?
What does the extension add to X ?
Is there any information available via FTP on this area ?

I realise that's a lot of questions, and I don't expect full answers,
but any information will be appreciated. I will summarise to the list
before the New Year, so answers can be sent to me via email (see signature
for addresses.)

Thanks in expectation,
 Kevin Ashley
------------------------------------------------------------------------------
Kevin Ashley                              K.Ashley@Ulcc.ac.uk
Systems Development Group Manager         ...ukc!ncdlab!K.Ashley
University of London Computer Centre.
From: bane@vtx.ma.man.ac.uk (Michael!)
Newsgroups: fj.mail-lists.x-window
Subject: Re: xconsole client cannot open console..
Date: 2 Jan 93 02:56:37 GMT
Distribution: fj
Organization: Magic Michael's Mushroom Factory.

Date: 1 Jan 93 17:21:44 GMT
Message-Id: <7103@m1.cs.man.ac.uk>
Newsgroups: comp.windows.x

In article <647@ariadna.FibHaifa.com>, ricky@FibHaifa.com (Ricardo <Ricky> Marek) writes:
|> 
|> 
|> Hi Xers:
|> 
|> We have xconsole client, compiled under X11R5 pl.19
|> 
|> If a regular user (Nor `root') runs this client, he/she gets
|> a message on the xconsole window, and the messages on the
|> real console still disrupting the display.
|> 
|> The message in the X-client is: Couldn't open console
|> 
|> We run XDM!! 
|> 
|> I tried also to set uid and gid the binaries of xconsole, but no
|> exit..
|> 
|> Any Hint?!
|> 

What have you got in /usr/lib/X11/app-defaults/XConsole? 
Are you talking of running xconsole on a dumb X-server?


Michael
From: paulshew@cc.nctu.edu.tw (Paul W. Shew)
Newsgroups: fj.mail-lists.x-window
Subject: HELP! Dynamic link broken?!
Date: 25 Dec 92 21:19:53 GMT
Distribution: fj
Organization: National Chiao Tung University

Date: 25 Dec 92 16:42:58 GMT
Message-Id: <1992Dec25.164258.5363@debbie.cc.nctu.edu.tw>
Newsgroups: comp.windows.x

We added a new 1.2G hard disk to our Sun IPC station. Right after that, the
super user did some file movements to make use of the hard disk. The problem
is, when some programs were run, the system reports:

                ld.so: __DYNAMIC version 0 not supported

Programs having this problem include Xsun, xinit, etc. so I can't even start
up the MIT X11R4 which we had built about a year ago.

I would really appreciate if you can tell me what is going wrong and help me
to fix this. As I don't have the complete source of the X11R4, it is rather
difficult for me to rebuild the system from scratch again. Thanks!

--
                +                           Paul W. Shew
      .&______~*@*~______&.       m         Dept. of Computer and Info. Sc.
    "w/%%%%%%%%%%%%%%%%%%%\w"    mmm***     National Chiao Tung University
      `Y""Y""Y"""""Y""Y""Y'      mm*****    1001 Ta Hsueh Road, Hsinchu,
   p-p_|__|__|_____|__|__|_q-q   mm**Y**    Taiwan 300, R.O.C.
_-[EEEEM==M==MM===MM==M==MEEEE]-_.|..|....  Email: paul@dvorak.cis.nctu.edu.tw
From: lehors@koala.inria.fr (Arnaud Le Hors)
Newsgroups: fj.mail-lists.x-window
Subject: Xpm3.2c is available
Date: 29 Dec 92 22:27:12 GMT
Distribution: fj
Organization: Koala Project, Bull Research France

Date: 29 Dec 92 16:30:29 GMT
Message-Id: <37290@sophia.inria.fr>
Newsgroups: comp.windows.x


As usual in contrib on export.lcs.mit.edu and in pub/xpm on avahi.inria.fr.

/**************************************************************************\
* 									   *
*  			HISTORY of user-visible changes			   *
* 									   *
\**************************************************************************/

3.2c		(92/12/29)

    ENHANCEMENTS:
    	- parsing optimized for single and double characters color
		- patch originally from Martin Brunecky 
				       marbru@build1.auto-trol.com

    BUGS CORRECTED:
	- XpmFreeExtensions was calling free on some argument without checking
	it was not NULL.
	- strdup was not correctly defined for systems which do not provide
	it.	- Hans-Peter Lichtin <lich@zellweger.ch>
	- some bug in XpmCrDataFI.c
	        - Sven Delmas garfield@avalanche.cs.tu-berlin.de

    NOTE:
    	- there is still a bug with the creation of the clipmask on display of
	depth 2 but I can't find a fix because unfortunately I don't have such
	a rendering system and nobody gets the time to investigate for me.


-- 
 Arnaud LE HORS - lehors@sophia.inria.fr - BULL Research France, Koala Project
From: johns@csd.uwo.ca (John Strybosch)
Newsgroups: fj.mail-lists.x-window
Subject: Interface independent development libraries.
Date: 21 Dec 92 17:20:12 GMT
Distribution: fj
Organization: Department of Computer Science, University of Western Ontario, London

Date: Fri, 18 Dec 1992 20:14:53 GMT
Message-Id: <1992Dec18.201453.23062@julian.uwo.ca>
Newsgroups: comp.os.os2.programmer,comp.windows.x,comp.os.ms-windows.programmer.tools

I am looking into developing a large application
with a set of UI independent tools.  The ones I 
am currently considering (They _must_ support
X esp on Sparcs or DecStations, and either PM or 
MS-Windows.) are as follows:

ImageSoft: CommonView
Wndx Corp: Wndx
Visix Corp: Galaxy
Neuron Data: Open Interface
XVT Software: XVT
Liant Software: C++ Views

Corresponding user interface building tools are also 
important.

I'd really appreciate hearing people's feedback
and experiences with these products or others
that I might not have seen yet.

(Note: though Inmark's Zapp is advertised to support
       Motif, they don't. So I can`t consider it)

I'll post a summary of replies.

John Strybosch
From: feats@feats.cc.vt.edu, feats@vtvm1.cc.vt.edu
Newsgroups: fj.mail-lists.x-window
Subject: Learning X-windows
Date: 31 Dec 92 06:05:11 GMT
Distribution: fj
Organization: Virginia Tech, Blacksburg, VA

Date: 30 Dec 92 12:02:57 GMT
Message-Id: <10772@vtserf.cc.vt.edu>
Newsgroups: comp.windows.x.apps,comp.windows.x.motif,comp.windows.x

I have a RS/6000 POWERstation 220 running AIX 3.2.  I am interested             
in learning about AIXwindows and how to write a 'C' application that            
uses the X-windows environment.  As of right now I don't have access            
to any of the IBM manuals that cover this topic in depth.  I do feel            
that the IBM manuals are not the best ones to learn from but they do            
make good references.                                                           
                                                                                
Can anyone suggest any good books on X-windows programming in 'C'?              
I don't know if just any X-windows programming book will do or if I             
need one that specifically covers AIXwindows!                                   
                                                                                
I would also be interested in some small programming samples of                 
X-windows applications.  Are there any FTP sites that would have                
any coding samples or would any of you have any samples you would               
like to share.  I am talking small and simple examples because I                
know very little about 'C' and almost nothing about X-windows!                  
                                                                                
Thanks in advance!                                                              
                                                                                
                                                                                
Stephen L. Greenfield                     Bitnet:   FEATS@VTVM1                 
Virginia Polytechnic Institute   ,/\      Internet: feats@feats.cc.vt.edu       
Blacksburg, Virginia           ,/   `\/`'\                                      
                           ,/\/          /                                      
                         ,/             <_          ._.                         
                        /                 `\       / /                          
             ,/\_     _/'                   `-`-\  |/                           
          ,/'    `_'_'  *  Blacksburg          \_> '                            
       ,/'                                    \__>_/\                           
      +----------------------------------------------+
From: mikey@eukanuba.wpd.sgi.com (Mike Yang)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Help with Colormaps
Date: 24 Dec 92 19:30:42 GMT
Distribution: fj
Organization: Silicon Graphics, Inc.

Date: 23 Dec 92 20:53:26 GMT
Message-Id: <1992Dec23.205326.4643@odin.corp.sgi.com>
Newsgroups: comp.windows.x

In article <judith-231292100556@mollusk.larc.nasa.gov>, judith@mermaid.larc.nasa.gov (Judith Moore) writes:
|> What happens is, my image appears in the window with the default
|> colormap, and just sits there.  The XSetWindowColormap() call
|> appears to have no effect whatsoever.  
|> 
|> If I do the XSetWindowColormap() _before_ XMapWindow(), I get the
|> grayscale I expect.  But then I can't change _that_ to anything 
|> else.

The window manager needs to install your colormap for you (see ICCCM).
By default, it will install your top-level window's colormap for you.
If you use XSetWindowColormap before mapping, it installs your
colormap.

Once you do this, your colormap should be installed whenever "colormap
focus," as defined by your window manager, is set to your window.
This probably is the same as "input focus."  Then, you can just use
XStoreColors on your colormap to cause immediate display changes.

-----------------------------------------------------------------------
                 Mike Yang        Silicon Graphics, Inc.
               mikey@sgi.com           415/390-1786
From: CFRAZIER@hdsc.ssc.af.mil (C | C Code | C Code Run, please!)
Newsgroups: fj.mail-lists.x-window
Subject: keybindings for Motif
Date: 28 Dec 92 16:47:12 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date:    Mon, 28 Dec 1992 9:26:00 -0600 (CST)
Message-Id: <921228092600.2a8066dd@hdsc.ssc.af.mil>
X-Vmsmail-To: SMTP%"xpert@athena.mit.edu"

Does anyone know where I can find a listing of the
keybindings for Motif.  I want to know how to use
Motif without a mouse.  Thank you.

cfrazier@hdsc.ssc.af.mil
From: kenc@jiminy.viewlogic.com (Kenneth H. Cox)
Newsgroups: fj.mail-lists.x-window
Subject: how to get `xnews' to heed SaveUnder request?
Date: 30 Dec 92 00:35:59 GMT
Distribution: fj
Organization: Viewlogic Systems, Inc.

Date: 28 Dec 92 23:37:23 GMT
Message-Id: <1992Dec28.233723.15289@viewlogic.com>
Newsgroups: comp.windows.x


Hi, I'm running OpenWindows 3.0, and am having the problem
that `xnews' isn't heeding my application's request for SaveUnders
in the popup menus, with the result that the popup menus are SLOW.

Xnews appears to be saving under the popup menus where those menus
obscure other windows, but not where they obscure the window to which
the menus are attached!  Yikes!  The menu windows have 'override_redirect'
and 'save_under' set on them.

Any information or hints on debugging this are welcome!

-- 
Ken Cox                                 kenc@viewlogic.com
Software Guy
293 Boston Post Rd W
Marlboro, MA  01752                     "How do I work this?"
From: westhawk!thp@scslwide.sony.co.jp (Timothy H Panton)
Newsgroups: fj.mail-lists.x-window
Subject: Re: An Open Challenge (it can't be done!)
Date: 23 Dec 92 12:23:42 GMT
Distribution: fj
Organization: Workstation Div., Supermicro Systems Group, Sony Corporation

Date: Wed, 23 Dec 92 10:58:07 GMT
Message-Id: <9212231058.AA09813@westhawk.uucp>
X-Sun-Charset: US-ASCII
Content-Length: 812


> Here's the short form:
>  - 8 bit image in backing pixmap used to update window
>  - Image drawn in 8 bit X window
>  - Want to draw diagonal lines on top of image that can
>    be removed quickly (i.e. replace them with the data they so
>    recently covered)
>  - Can't do server extensions (too many platforms to support)
> Betcha can't do it!

You don't say that the image changes quickly, so you could try creating
a child window on top of your image, with window the background_pixmap
as none. This window will copy the bits of the image. You can now draw
in this window. When you want to erase the line just destroy the
window, the main image will then be exposed.

I don't know if this will work well enough, but it might be worth trying.

Yet another thing NeWS has - transparent canvases. Sigh.
Tim.
From: sllkz@cc.usu.edu
Newsgroups: fj.mail-lists.x-window
Subject: PLEASE HELP ME WITH THIS CALLBACK PROBLEM!
Date: 27 Dec 92 00:35:37 GMT
Distribution: fj
Organization: Utah State University

Date: 26 Dec 92 14:00:57 MDT
Message-Id: <1992Dec26.140057.62273@cc.usu.edu>
Newsgroups: comp.windows.x

  Hi all,
         I have a problem regarding text widget. I have a text widget which
always reads from a file and displays its contents. But the problem is that
the callbacks relating to text widget are for activate,focus,.... etc while
I NEED to invoke the callback always, no matter what. These predefined 
callbacks dont help me at all Since the user will be doing other things that
wouldnt activate the predefined callbacks. I hope I have made myself clear
on this.
	 So the question is: Is there a callback resource I can use with
XtAddCallback  so that the callback function is always called no matter what.
	Any help will be appreciated. Thanks in advance.
Krishna
From: cp78085@csie.nctu.edu.tw (Tan Koan-Sin)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Xt question. Where are the pushbuttons?
Date: 2 Jan 93 13:41:02 GMT
Distribution: fj
Organization: Dep. Computer Science & Engineering, Chiao Tung U.

Date: Sat, 2 Jan 1993 11:35:59 GMT
Message-Id: <1993Jan2.113559.13911@csie.nctu.edu.tw>
Newsgroups: comp.windows.x

Jan Wieck (wieck@jwminhh.hanse.de) wrote:
:-> 
:-> The above #include-statement requires a Pushbutton.h (case-sensitive)
:-> file in the current working directory. Even if Motif is installed on
:-> your system, it wouldn't be here.
:-> 

Asente & Swick use their own wigdet set in that book. Not Motif, nor Athena 
Widgets.

--
--------------------------------------------------------------------------------
 Tan Koan-Sin ( Chen Guan-Chen)             |e-mail :       
 Computer Center			    | cp78085@csie.nctu.edu.tw
 Dept of Computer Science & Information Eng.| freedom@csie.nctu.edu.tw    
 National Chiao-Tung Univ., Hsin-chu        | tel: 886-35-712121 ext 6430 
 Taiwan                                     | fax: 886-35-721486
From: amir@matis.ingr.com (Amir J Katz)
Newsgroups: fj.mail-lists.x-window
Subject: xfishtank as screen locker?
Date: 30 Dec 92 15:17:56 GMT
Distribution: fj
Organization: SEE Technologies Ltd.

Message-Id: <9212301423.AA29739@simpson.ingr.com>
Date: Wed, 30 Dec 92 16:23:33 EET
Reply-To: amir@matis.ingr.com
X-Mailer: ELM [version 2.3 PL11]

Xperts,
Has anyone tried to integrate the latest xfishtank into xlock? That is,
adding a new -mode option to xlock? I love xfishtank, but I hate to lose the
security of xlock just to get a pretty picture...
-- 
/* ----------------------------------------------------------- */
/*  Amir J. Katz             |   amir@matis.ingr.COM           */
/*  System Specialist        |   Voice:  +972 52-584684        */
/*  SEE Technologies Ltd.    |   Fax:    +972 52-543917        */
/* ............ Solaris 2.1 - The Final Frontier ? ........... */
From: br762@cleveland.Freenet.Edu (Tim Werner)
Newsgroups: fj.mail-lists.x-window
Subject: another easy Xt question
Date: 2 Jan 93 06:00:21 GMT
Distribution: fj
Organization: Case Western Reserve University, Cleveland, OH (USA)

Date: 2 Jan 1993 04:17:37 GMT
Message-Id: <1i3511INNo0l@usenet.INS.CWRU.Edu>
Newsgroups: comp.windows.x


Hi,

I posted yesterday asking why the example on page 28 of Asente-Swick (X
Window System Toolkit) is not working for me. I couldn't find Pushbutton.h

One very kind person from Taiwan (thanks) emailed me that example sources
for the book are available from anonymous ftp, as mentioned on page 929.
Having picked these sources up, I trieed to make the stuff, and not even the
first thing compiles.

I'm getting all sorts of errors, e.g.,
   gcc -O -c -I/usr/openwin/share/include BarDisplay.c

   In file included from BarDisplaP.h:32, from BarDisplay.c:29:
   GraphDispP.h:43: parse error before `ObjectPart'
   GraphDispP.h:43: warning: no semicolon at end of struct or union
   GraphDispP.h:45: parse error before `}'
   GraphDispP.h:45: warning: data definition lacks type or storage class

Surely someone has got the program on page 28 working by now. Will anyone
who has a clue please email it to me? Or post it, it's ok with me either way.

I know the faq file says not to jump in and answer every question just because
it's an easy one, but I really wouldn't mind even the most inane suggestions.


thanx in advance
tim werner
--
Help me! Landru, help me!
--
From: reza@peri.jsc.nasa.gov (Reza Razavipour)
Newsgroups: fj.mail-lists.x-window
Subject: Time outs
Date: 1 Jan 93 19:35:54 GMT
Distribution: fj
Organization: Lockheed Eng & Sci

Date: Fri, 1 Jan 1993 17:49:23 GMT
Message-Id: <1993Jan1.174923.9735@aio.jsc.nasa.gov>
Newsgroups: comp.windows.x

Env: Sun Sparc1+, SunOS 4.1.2, X11R5 Patch (> 10), Motif 1.1.3, /usr/bin/cc.
I have implemented an animated cursor to show that I am doing a 
long computation using XtAddTimeOut.
When the lengthy computation starts, I animate the cursor, going from
cursor 1 to cursor 2 to cursor 3 to cursor 1 and so on.
If during the lengthy computation, no events are generated in the 
application window, the lenght of the computation is increased
(depending on the animation rate) by about one order of magnitude.
On the other hand, if I sit there and continously move the mouse
while the computation is going on, the slow down in the computation
is close to negligeable.
Any clarification is greatly appreciated.
Reza.
reza@mickey.jsc.nasa.gov
From: ricky@FibHaifa.com (ricky@FibHaifa.com (Ricardo Marek))
Newsgroups: fj.mail-lists.x-window
Subject: XDM and olwm question...(Installation)
Date: 3 Jan 93 10:40:55 GMT
Distribution: fj
Organization: Fibronics ltd., Haifa - ISRAEL

Date: 3 Jan 93 07:35:29 GMT
Message-Id: <648@ariadna.FibHaifa.com>
Newsgroups: comp.windows.open-look,comp.windows.x,comp.sys.sun.admin



Question: 
 
  Is there a way to tailor XDM so one user will use olwm and others,
  mwm, twm or tvtwm window manager, (from the ~/.xsessions file!)?
  when /usr/lib/X11/xdm/Xservers is:
         
  :0 local /usr/bin/X11/X
 
  (Most of the users use X11R5 server with Motif Window Manager!!.


The scenario:

- We have just installed X11R5 pl.19 on our Sun4 machines.
- All machines share X11R5 via NFS and work nicely..
- We use XDM for all suns and Xterminals connected to the Net.
- Our default window-manager -s mwm)...

   User1 wants olwm     User2 uses mwm         User3 uses mwm
   +--------------+     +-------------+        +--------------+
   | Vivaldi(Sun4)|     | Mozart(Sun4)|        |  X-terminal  |
   +--------------+     +-------------+        +--------------+


The Problem:

- User1 wants to use open-look window manager (We have Openwindows2)
- This user works on Vivaldi's console.. While in mozart, using
  the same /usr/lib/X11/xdm/Xservers file a user uses mwm.
  (/usr/lib/X11/xdm is Mounted via NFS).
- User3 is connected also to vivaldi and it uses mwm. (Via X-terminal)

Please reply via e-mail (ricky@FibHaifa.com) I'll sumarize this..

--- Ricky
______             _                 __    __
| __  \           | |   _           /  \  /  \   
| |_| |     ____  | | / /          /    \/    \  
|  ___/ _  | ___| | |/ / _   _    /  /\    /\  \ 
| |\ \ | | | |__  | |\ \ \ \/ /  / Ricky Marek (System Manager)
|_| \_\|_| |____| |_| \_\ \  /  / e-mail: ricky@FibHaifa.com
__________________________/ /  / phones: +972-4-313690
|__________________________/  / fax: +972-4-550668 \
Fibronics Ltd., Matam Industrial Park, Haifa 31905, ISRAEL
                            /__/                  \__\

--
From: schiers@mcshh.Hanse.DE (Carsten Schiers)
Newsgroups: fj.mail-lists.x-window
Subject: Xview question: cmdtool no cmd-history
Date: 29 Dec 92 03:05:49 GMT
Distribution: fj
Organization: Point of Presence & MCS Hamburg

Date: Mon, 28 Dec 1992 20:40:50 GMT
Message-Id: <1992Dec28.204050.11930@mcshh.Hanse.DE>
Newsgroups: comp.os.linux,comp.windows.x


Hi,

I am using Xview3L2, but when I start cmdtool, there is no possibility
to use the arrow keys for scrolling through the command history.

BTW, I use a german .Xmodmap. Could this be the problem?

Thanks,
Carsten.