waashk/20ng huggingface dataset:
In <46464@sophia.inria.fr> muller@mafalda.inria.fr (Christophe Muller) writes:   |"> It is interesting to look at the change(s) of mind that John has had. |" |"Very interested indeed! This is against this kind of "changes" that the GNU |"COPYLEFT is protecting us. |" |"Anyway, at SIMULOG, we will abandon xv. We were using it mostly for slide- |"shows because of its "-loop" feature that display does not have (display |"from the *wonderful* ImageMagick package! :-D), but I think I will implement |"it myself (even a shell-script should do the job) and forget xv. |" |"Cheers, |"Christophe. |"-- muller@simulog.fr |" |"     =    Are you the police?  --  No ma'am, we're musicians.    =  JUst use xloadimage instead (or xli).
I've found a problem in the use of Xlib functions regarding re-entrancy. I decided to implement an animated cursor (using 6 created cursors) by calling XDefineCursor from a SIG_ALRM signal handler. This is used to indicate we are waiting for a operator request to complete. (on a production control system). I was redrawing the screen underneath the animated cursor and then restoring the standard cursor when complete. I found dumped core , and upon analysis it was when the SIG_ALRM handler was called during a XDrawString call. XDrawString was doing a bcopy (presumably an internal structure) when the XDefineCursor was called. Presumably the (internal) structure that XDrawString was manipulating was not in a stable state and sent XDefineCursor to where it shouldn't have been.  Has anyone else experienced this? Is there any official documentation that says you should ensure this doesn't happen? Or should bcopy() be atomic. We are running on SGI Irix 4.0.1 with X11R4.    --  Regards, Martin
There will always be a zillion lawyers who, if they get paid well enough, will sue your brains out. Gosh! Can't anyone send them off to another planet?!  Well maybe, it would be better to just send Apple, Microsoft and a few others (that way we would get rid of some terrible products as well :)  --
Hi Folks.  As part of my self-introduction to X I've been trying to do some simple icon animation (sort of like icondoit from mswindows).  Changing your own applications icon is fairly simple:  If you have a widget ID you can just XtSetValues on XtNiconifyPixmap (or whatever) and you're done. Alternately you can set window manager hints.  These methods don't seem to work with icons which your application doesn't specifically own.  In my situation I have to change the icon of random windows sitting there in  my icon box so my question is:  Given a window-id, how do you change the icon pixure ?  A working example would be very much appreciated.  If it makes any difference, I'm using motif 1.1 on VMS T6.0-5KE.
> I got several answers, the most complete was from Errol Crary  > (errolc@tv.tv.Tek.com): > >I have just looked at the R4 server listings (.../mit/server/dix/window.c ) > >and there are several ways in which you can get a BadMatch error, even > >though my O'Reilly book only says "BorderWidth is nonzero for InputOnly".  As of the third edition (June 92) the O'Reilly book (Vol 2) under XCreateWindow says:  BadMatch 	Any invalid setting of a window attribute 	Attribute besides win_gravity, event_mask, do_not_propogate+mask, 	    override_redirect, or cursor specified for InputOnly window 	depth non-zero for InputOnly 	Parent of InputOutput is InputOnly 	border_width is non-zero for InputOnly 	depth or visual invalid for screen 	width or height is 0
bkline%occs.nlm.nih.gov (Bob Kline) writes:  >Can someone point me in the direction of any papers (not necessarily >formally conducted studies) discussing how much traffic X apps generate >for the network, particularly in comparison with curses-bases apps  >over telnet?  Also, does an X server typically buffer up user keyboard >input a line at a time?  Can the X client control this, asking for >keystrokes immediately?  Thanks in advance for any feedback!      Ncd has an excellent document titled "Host Loading Considerations in the X    environment". I received my copy by emailing support@ncd.com. This may   help out.
In article <1993May11.133626.7425@taylor.uucp>, mark@taylor.uucp (Mark A. Davis) writes: |> I have a problem which many of you might have run into.  We use LOTS of |> ASCII terminals and use them to the max.  Meaning lots of attributes, line |> draw, etc.   Now what I need to do is come up with a working xterm which |> will emulate our advanced ASCII terminals as closely as possible. |>  |> This means needing all attributes to work, including bold and line drawing. |> The only fonts which seem to meet these criteria are a pairs of fonts in |> which one is bold and the other normal, while both have linedraw, fixed |> spacing, and several sizes. |>  |> The only standard fonts which work are the fonts like 9x15 and 9x15B under |> "misc".  They work great, except I need a font one size larger, 10x20.  Now |> 10x20 works well, but there is no bold counterpart! |>  |> To make matters worse, I need the fonts in some form I can use for Tektronix |> Xterminals.  It seems they like .pcf format, although I should be able to |> convert a .bdf format. |>  |> Anyone have any suggestions? |> --  |>   /--------------------------------------------------------------------------\ |>   | Mark A. Davis    | Lake Taylor Hospital | Norfolk, VA (804)-461-5001x431 | |>   | Sys.Administrator|  Computer Services   | mark@taylor / mark@taylor.UUCP | |>   \--------------------------------------------------------------------------/  This would be tedious, but if you have the time you could get the .bdf file (I can email it to you if you don't have it or don't have easy access  to the X source), and could make your own bold font from this.  Since each glyph is just a bitmap, you could write a program to convert each glyph to a bitmap-readable file, use bitmap to make each glyph "bold", and convert the results back to .bdf format.  Then, use "bdftopcf" to create the .pcf file.  Then, stick the .pcf in /usr/lib/X11/fonts/misc (or wherever) and include it in fonts.dir and, voila, you'll have what you need!
In article <1993Apr2.203400.15357@kocrsv01.delcoelect.com> c2xjfa@kocrsv01.delcoelect.com (James F Allman III) writes: > >>  >> > I'm doing a study on what the following type of users would like to >> > have on a Unix Manager.  Basically I'm looking for the Unix commands >> > and features on Motif window interface which will help the different >> > type of users make use of Unix. >> ...   >> Personally, I can't stand Motif.  I also can't stand GUI      Command Line! >> interfaces for things like access to the commands I know      Command Line! >> and love.  I think you'll find that experience [sic] users    Command Line! >>  >> 					der Mouse >> ...   >A year and a half ago I felt the same way.  The I started using >gooyies.  Give me the command line when something out of the ordinary >needs done, and the gooy when I am doing normal or repative work.  >Note that most operations are repetative.  Hackers love CLs because >  ...  What I like about GUI's:  	- The ability to view and manipulate a group of objects, files, 	  text, directories, etc. and and manipulate them in some way 	  such as delete, copy, paste, rename ...  	- The ability to have several applications / screens visible 	  and accessable at the same time.  	- Being able to do a standard set of functions easily and 	  quickly on an unfamiliar operating system. I am familiar with 	  the command lines of several operating systems but occasionally 	  I will have to some work on a system that I almost never use. 	  If it has a GUI, I can usually accomplish what I want to do 	  fairly easily, the command line on the other hand often is 	  a long and painful experience.   What I hate about GUI's:  	- Having to switch between the mouse and the keyboard. I guess 	  I have a strong one-handed preference. I like to use a 	  computer with one hand and use the other for holding something 	  like a piece of paper of a mug of tea. I have configured my 	  favorite editor so that most of the editing functions can be 	  done with one hand such as navigating, cutting, pasting, 	  searching, opening and saving files, etc. The main thing I 	  need to use both hands for is entering text.  	I guess I need to get one of those mice with, like, 20 buttons 	or something and then I will have the best of both worlds.
For all those people flaming John Bradley, the author of xv - he's on vacation till May 10 (or 15, I don't remember). Maybe we all should slow down and wait to hear his side wrt copyrights, fees, etc.
In article <1993Apr27.182912.3388@news.mentorg.com> darcym@fpddet4.mentorg.com (Darcy McCallum) writes:  >   These are two common subjects so I hope someone has had to deal with these >   specific questions. > >   1.  [....question 1 deleted.....] > >   2.  I would like to place a popup so that it will be to the immediate right >   of my main window.  I want it at the same y coord, and their right/left >   sides touching.  What I need to ask for is the x,y coord of the window  >   manager's border for the main window.  This should ring a bell with anyone >   who has called XtMoveWidget(), immediately checking the x,y after the move >   and seeing that it is right, and in their next callback asking for the x,y >   and seeing that it is now offset by the WM border. > >   Any help would be most appreciated. > >   Darcy >   darcy_mccallum@mentorg.com  I have done this before, but I'm not sure I used the best approach (although I tried several methods...).  You have to run up the window heirarchy (using XQueryTree()) until you get to the root window.  Now, this is not so simple because some window managers slap a window over the root window that is the same size as the root window, so be sure to take that into account for further calculations.  Calculate the position and width/height offsets for each window using XGetGeometry().  BE SURE TO TAKE THE BORDER_WIDTH INTO CONSIDERATION. Remember a windows border_width IS ON THE OUTSIDE of a window, so the windows x,y,width,height must be adjusted accordingly.  All of this should give you pretty good numbers for how much space the window-manager is using.  Now, to place the new window, you have to use the same numbers to calculate  where you want to place it, because the window-manager will re-parent it on the OUTSIDE of where you place your window (if I remember correctly).  DISCLAIMER: All of this is from memory, and I no longer have the code.  But I did get it working under several window managers correctly.  Feel free to call or e-mail for further info.                -McGary
As I announced at the X Technical Conference in January, I would like to make Imake-TeX, the Imake support for using the TeX typesetting system, publically available. Currently Imake-TeX is in beta test here at the computer science department of Dortmund University, and I am looking for some more beta testers, preferably with different TeX and Imake installations.  --    Dipl.-Inform. Rainer Klute      I R B :  immer richtig beraten   Univ. Dortmund, IRB   Postfach 500500         |)|/    Tel.: +49 231 755-4663 D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
>>>>> On 5 Apr 93 11:31:27 PDT, jan@camhpp12.mdcbbs.com (Jan Vandenbrande) said: Jan> Nntp-Posting-Host: 134.244.49.156  Jan> On a related note, how can I use xv to display colored GIFs on my Jan> root display with HP Vue?  Jan> All I can do with Vue is display xbm's through their Jan> Backdrop Style Manager.  Jan> xv does not seem to be able to override whatever Vue Jan> puts there.  I suspect this is because VUE creates a window (probably OverrideRedirect) that is the size of (or larger than) the Root Window. Because the window manager does not know about this, you cannot move, resize etc. it. xv in the mean time is busy changing your root window to whatever you have requested but you never get to see it because VUE's window is overlaid on top of the root window.   Contact HP support and see whether VUE can support coloured bitmap format such as xpm, if they cant then they probably create all their coloured backdrops inside the code.
Update your 385 to HP-UX 9.0.  You get an R5 server and libraries.
In article <1993Apr22.215913.23501@nrao.edu> rgooch@rp.CSIRO.AU (Richard Gooch) writes: >  ... remove the shared memory segment... >  Terrible, but it works.  Why is that terrible ? That's exactly the way our code has been doing it for two years now and is the way that temporary files in UNIX systems are managed most of the time (open, unlink).  		Burkhard Neidecker-Lutz
In article <1993Apr16.183525.25197@midway.uchicago.edu> ajaffe@oddjob.uchicago.edu (Andrew Jaffe) writes: >I use Emacs and I want to customize my keyboard better. >When I set up stuff in my .emacs with a keymap and define-keys, >I can only access certain of the keys on my X-Terminal's >keyboard. I can't get e.g. F10, Home, End, PgUp, PgDn; they all >seem to have either the same or no keycode. I have a feeling >this can't be fixed in emacs itself, but that I need to do some >xmodmap stuff. Can someone help me?  It is actually worse than you think.  I have the same problem, and have given up.  Emacs has an internal table (somewhere!) which defines what keys it will accept, and this table is system-dependent.  I use a Sun from my HP, and cannot get 'shift PageUp' to work - xmodmap is not sufficient, or at least I haven't worked out how to make it work. However, I CAN get ordinary 'PageUp' and 'shift CursorRight' to work, and I do some customised things with them.  Note that the Emacs on my HP has no problem, and I am using exactly the same xmodmap and Emacs configuration.
EPS _IS_ plain postscript. It is only wrapped by some comments and stripped of any dubious commands for compatibility. You can simply do  %!  save gsave /showpage {} def  % Include eps file here  grestore restore  showpage  % end of file  and this way show it on it's natural page position and size.  Programs may use the %%BoundingBox: comment in the EPS file to do arbitrary scale, rotate and translate to include it in more complicated ways than above.
..continuing on my build problems, I got stuck here build xterm...  gcc -fpcc-struct-return -o xterm main.o input.o charproc.o cursor.o util.o tabs.o  screen.o scrollbar.o button.o Tekproc.o misc.o  VTPrsTbl.o TekPrsTbl.o data.o menu.o -O2   -R/usr/wgep/X11R5.sos5/lib${LD_RUN_PATH+\:$LD_RUN_PATH} -L../.././lib/Xaw -lXaw -L../.././lib/Xmu -lXmu -L../.././lib/Xt -lXt -L../.././extensions/lib -lXext -L../.././lib/X -lX11 -L/usr/wgep/X11R5.sos5/lib  -lsocket -lnsl -ltermcap Undefined                       first referenced  symbol                             in file index                               /usr/ucblib/libtermcap.a(termcap.o) rindex                              /usr/ucblib/libtermcap.a(termcap.o) ld: fatal: Symbol referencing errors. No output written to xterm *** Error code 1 make: Fatal error: Command failed for target `xterm'  Any clues for help?
We are looking for a public domain or low price CASE , running on AIX/6000 3.2 and/or SOLARIS 1.1 and/or SUN/OS 3.1, for X/Motif and/or X/OpenLook.  I'm not a regular follower of these groups, so I would prefer an answer to this e-mail. Thanks in advance, Regards, --Osvaldo
In article <1993Mar31.022947.149@etrog.se.citri.edu.au>, jck@catt.citri.edu.au (Justin Kibell) writes:  |>   I am writing a program which needs to draw colour XPM pixmap files onto a background without having the borders show up. I cannot do xor as the colours all stuff up. I cannot use XCopyPlane() as that is for single planes only. I want to be able to specify a colour in the pixmap to be used as the opaque colour. Is this possible.  |>  |> Games such as xjewel have the same problem. How does the mouse pointer do it? |>  |> Any help would be helpful? :-) |>   You wanna do masking. Build a bitmap (pixmap of depth one) where all pixels you name "opaque" are 1 (that get copied) and the others are 0. Use this bitmap as the clip_mask in the gc used for XCopyArea(), and remember to adjust the clip_origin coordinates to the XCopyArea() blit origin.  The Mouse pointer (besides from that it is driven using RAMDAC analog mapping on most hardwares) uses a mask, too.  But be warned: blitting through a mask and especially moving around this mask is annoying slow on most xservers... it flickers even at 40 MIPS...
Has anyone ever heard of the X Professional Organization?  Is anyone a member? Is the membership worth the $100 or so that they charge?
How are you, Everybody?  I installed X11R5 on our IBM RS6000 workstation. OS version is AIX 3.2.3. There was no problem in installation. But there was a problem in invoking 'xinit'. When I invoke 'xinit', there is a error message as follows:  giving up. xinit: unable to connect to X server xinit: No such process (errno 3): Server error.  I'm a navice. So I don't know the reason why I get this message. Please help me. I am waiting for your help.  Thanks for reading this mail.
> I have a problem when I'm using PostScript. When I am working local  > on a SUN SPARCstation IPC the PostScript works good, but when I connect > to the SUN from a X-terminal I just get error messages that the > PostScript cannot connect to the news-display. >  Why doesn't PostScript work on an X-terminal  	Because xterminals do not have a NeWS server.  xterminals have speed by nature of their limited functionality: once you add NeWS and everything else, you have a workstation.  There are workarounds, I've heard, one involving a perl script.  What we are trying to do is replace programs that need NeWS (like pageview) with programs that don't (like ghostview). 	Maybe someone else can elaborate on the perl workaround; I have no personal experience with it.
Has anybody generated an X server for Windows NT?  If so, are you willing to share your config file and other tricks necessary to make it work?  Thanks for any information.
Hi !  I am using Xview 3.0 on a Sparc IPX under Openwindows along with a XVideo board from Parallax which enables me to use 24 bit color. I am having some problems utilizing the 24 bit color and would greatly appreciate any help in this matter.  I use Xview to create a Frame and then create a canvas pane inside which I use to display live video. My video input is 24 bit color.  The problem is that my top level frame created as 	frame = (Frame) xv_create(NULL,FRAME,NULL); seems to have a depth of 8 which is propagated to my canvas.  I would like to know how I can set the depth of the frame to be 24 bits. I tried using the following Xlib code :  XVisualInfo visual_info; int depth = 24; Colormap colormap; XSetWindowAttributes attribs; unsigned long valuemask = 0; Window *win; Xv_opaque frame;  win = xv_get(frame,XV_XID); XMatchVisualInfo(display,screen,depth,TrueColor,&visual_info);  /* So far so good */  colormap = XCreateColormap(display,win,visual_info,AllocNone);  /* It dies here with a BadMatch error :( */  attribs.colormap = colormap; valuemask |= CWColormap; XChangeWindowAttributes(display,w,valuemask,&attribs); XSetWindowColormap(display,win,colormap);   Am I using a completely wrong approach here ? Is it possible to set the depth and colormap for a window created by Xview ? What am I doing wrong ?  Thanks in advance for any help that I can get. I would prefer a response via email although a post on the newsgroup is also okay.  Thanks again,   Alok.
In a prior article ajaffe@oddjob.uchicago.edu (Andrew Jaffe) wrote:   > Hi.   >    > I use Emacs and I want to customize my keyboard better.   > When I set up stuff in my .emacs with a keymap and define-keys,   > I can only access certain of the keys on my X-Terminal's   > keyboard. I can't get e.g. F10, Home, End, PgUp, PgDn; they all   > seem to have either the same or no keycode. I have a feeling   > this can't be fixed in emacs itself, but that I need to do some   > xmodmap stuff. Can someone help me?  Unfortunately, the key event handling is pretty much hardwired into emacs.  I ran into this problem a while back; my solution was to change the source code so that all of these special keys generated character sequences which basically encoded the keysym and modifier state as escape sequences -- for example, the sequence "ESC [ 1 B 7"  would indicate that the "HOME" key was pressed, with the shift key down.  You could also detect standard keys with odd modifiers, such as "shift-Return".  If anybody wants these changes, they're welcome to them, but you'll have to have the source available and be comfortable munging with it a bit.  Basically you have to replace the keypress handling code in the source file "x11term.c".  Maybe if someone at OSF is  interested, I can send them the tweaks, but I imagine they've got bigger fish to fry (hopefully including the much talked about  emacs V19!).  If there's sufficient interest, I'll post the mods  somewhere, although this probably isn't the appropriate group for it.  Notes:    * This special code will only apply if you let emacs create    its own (X11) window.  If you run it in plain old tty mode (which     includes Xterm windows) then it's business as usual.   * The patches I made were to version 18.58, under Sun OS 4.1.2    [I also did this a while back under HP-UX].  The patches are    in a chunk of code between '#if sun ... #endif' but could     easily be adapted for anything else.
X-Disclaimer: All views are my own unless expicitly stated otherwise.  In <1993May18.235641.10747@csi.jpl.nasa.gov> mwette@csi.jpl.nasa.gov (Matt Wette) writes:  >I'm getting lots of files in /usr/lib/X11/xdm of the form >	Abert:0-a00138  >I'm running xdm.  Anybody know what these are and, better yet, how to >move them (i.e., what resource can I change to make them appear >somewhere else)?  That are the authorisation files for the server. Depending on what type of key your X supports they contain magic cookies, DES based authentication or SUN DES authentication.  The place is defined with the DisplayManager.authDir  Other things like the file name can be changed as well see XDM manual pages.
In article <1rnodlINNlde@fbi-news.Informatik.Uni-Dortmund.DE>, klute@tommy.informatik.uni-dortmund.de (Rainer Klute) writes: |> If ... |>  |> a) ...this seems attractive to you, |> b) ...you are willing to test Imake-TeX and send me a short test |> report, |> c) ...you are willing to cope with a rudimentary English documentation |>    (however, the German version is completed and included), |>  |> then you are invited as a beta tester. I am looking forward to your |> e-mail.  Please don't respond anymore, I have enough beta testers now. Thank you.  --    Dipl.-Inform. Rainer Klute      I R B :  immer richtig beraten   Univ. Dortmund, IRB   Postfach 500500         |)|/    Tel.: +49 231 755-4663 D-W4600 Dortmund 50       |\|\    Fax : +49 231 755-2386
Usually when I start up an application, I first get the window outline on my display. I then have to click on the mouse button to actually place the window on the screen. Yet when I specify the -geometry  option the window appears right away, the properties specified by the -geometry argument. The question now is:  How can I override the intermediary step of the user having to specify window position with a mouseclick? I've tried explicitly setting window size and position, but that did alter the normal program behaviour.  Thanks for any hints ---> Robert  PS: I'm working in plain X.