Re: links
- From: Miroslav Silovic <silovic zesoi fer hr>
- To: Paul Hepworth <phepworth s-vision com>
- Cc: "'gnome-list gnome org'" <gnome-list gnome org>
- Subject: Re: links
- Date: 12 Feb 1998 11:01:44 +0100
Paul Hepworth <phepworth@s-vision.com> writes:
> "A filename that has EAs associated with it" {
> icon=hideous.xpm
> }
>
> anotherFile.dat {
> mimetype="some mimetype to override the extension-assumed type"
> tooltip="A piece of text to quickly describe the program/folder/file"
> icon=cool.xpm
> doc="man:manpage"
> #doc="info:foo.info"
> run="$x -d4 $f"
> # $x is system-wide program associated with this mimetype
> # $f is filename (of this file)
> # $p is full pathname of file
> # $1, $2, $* etc. represent dropped files
> # $1p, $2p, etc. represent full path names of dropped files
> # $c is current working directory
> # $? would suggest that the shell prompt the user for input
> parameter(s)
> # default for non-executable files is run="$x $f"
> # default for executable files is "$f $*"
> paramsDefault="untitled.text"
> # default paramsDefault is "$f" for non-executable, "$*" for
> executable
> paramsPrompt="Enter filename(s):"
> # default prompt is "Enter parameters for $x:" for nonexecutable
> # default prompt is "Enter parameters for $f:" for executable
> }
Uh, this is pretty slow to read/parse. Basic problem is that if you
have many files, it bloats your filemanager. How about using gdbm and
then use real db file instead?
--
I refuse to use .sig
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]