Re: problem with automatic home directory expansion

  • From: <tpgww@xxxxxxxxxxx>
  • To: emelfm2@xxxxxxxxxxxxx
  • Date: Tue, 28 Aug 2007 08:48:28 +1000

On Mon, 27 Aug 2007 11:32:21 +0200
Grégory SCHMITT <gy.schmitt@xxxxxxxxx> wrote:

> ----- Original Message -----
> > Date: Mon, 27 Aug 2007 10:53:07 +0200
> > De: Tobias Jakobi <liquid.acid@xxxxxxx>
> > À: emelfm2@xxxxxxxxxxxxx
> > Sujet: problem with automatic home directory expansion
> 
> > Hi there,
> > 
> > I'm using emelfm2-0.3.5 and having problem with pathnames containing
> > the '~' character.
> > I've already filed a bugreport in the gentoo bugzilla:
> > http://bugs.gentoo.org/show_bug.cgi?id=190173
> 
> Well, anyway, character escaping is quite a sensitive matter in Unix;
> I'm having issues with emelfm2 handling files whose name includes ~, ',
> " and others. AFAIK, the ext2/ext3 filesystem authorizes any character
> in a filename/pathname; only '/' is expanded, meaning a new folder.
A file-system may not care about other characters, but that doesn't mean it's 
ok to use anything. In particular, any character that has some special meaning 
to any command interpreter should be avoided, or else "masked" in any command 
by quoting or escaping (or the name might never be used in a command, I 
suppose).


> Btw, doesn anyone else know an alternate way of accessing a file, i.e
> not by its name, but by a ref, inode... ?
Not sure what you want, but there are file-descriptors (an integer) and streams 
(pointer to a data structure) - but those need to be initiated with a filepath.

Regards
Tom


--
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: