Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Using X11
@ 1996-03-15  5:00 Malcolm Gambles#
  1996-03-22  5:00 ` Dan Calle
  0 siblings, 1 reply; 2+ messages in thread
From: Malcolm Gambles# @ 1996-03-15  5:00 UTC (permalink / raw)


I am using x11 xwindows on a DEC Alpha and was wondering if 
anyone out there could help me create an icon to drop files
onto them and execute a command using that filename.

Ideally I want a dialogue box to pop up and display the command it will
execute when a file has been dropped onto it, with 'OK' and 'Cancel' buttons
i.e.

-------------------------------------------
`					  `
`      GCC <FileName> [options]		  ' (Writeable icon)
'					  '
'   OK				Cancel	  ' (Click icons)
'					  '
-------------------------------------------

I am a complete novice to x11 and know little about it so if
there's anyone bored, they could write it in about 3 mins (probably
I don't know how hard it is on x11) or any help would be greatly 
appreciated.

Mailto:u9433791@uea.ac.uk

P.S.

Are there any x11 archive dump sites???(INTERNET ACCESS ONLY)[NO BBS]

Thanx,

Malcolm.....




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using X11
  1996-03-15  5:00 Using X11 Malcolm Gambles#
@ 1996-03-22  5:00 ` Dan Calle
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Calle @ 1996-03-22  5:00 UTC (permalink / raw)


Malcolm Gambles# wrote:
> 
> I am using x11 xwindows on a DEC Alpha and was wondering if
> anyone out there could help me create an icon to drop files
> onto them and execute a command using that filename.

The problem you're going to have is that, unlike a Mac, there's no intrinsic
file manager in X Windows that would allow you to manipulate files directly.
There are contributed file managers for X (xfm comes to mind but I've only
played with it once) out there (see below) and perhaps one of them may allow
you to do something like what you want.  But if not, then you're either
looking for a patch on an existing file manager or a whole new file manager.

> Are there any x11 archive dump sites???(INTERNET ACCESS ONLY)[NO BBS]

ftp://ftp.x.org/contrib/

There's also a list of mirror sites at
http://www.x.org/consortium/GettingX11R5.html#network_na that may be faster
but some of them just have big tarfiles instead of a useful directory tree.

PS - I just looked, xfm does allow you to drag and drop files on to various
application icons.  That's close at least.

-- 
Dan Calle           Senior, Computer Science and Mathematics, Virginia Tech
                                        Assistant Administrator: acm.vt.edu
Email: dan@vt.edu              Online: dcalle@lucifer.bevc.blacksburg.va.us 
Web Page: http://csugrad.cs.vt.edu/~dcalle/           Finger for Geek Code.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-03-22  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-03-15  5:00 Using X11 Malcolm Gambles#
1996-03-22  5:00 ` Dan Calle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox