[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: kconfig shell expansion (was: username/password with shell chars)
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-05-28 12:09:04
[Download RAW message or body]

Waldo wrote:
> Make a writePathEntry / readPathEntry which handles this stuff and which does 
> proper escaping of '$' when the '$' happens to be part of the filename 
> itself. 
> 
> Or writeEntry( key, url) and readUrlEntry( key ). 

The problem is that this doesn't fully solve the problem.
What about Exec lines ? They are not path nor urls, but they _contain_
paths and URLs, possibly with env vars, like what was
before "kfmclient openURL file:$HOME".

What about an optionnal bool in readEntry instead ?

Or even a separate method (readEntryWithDollarExpansion or so, but
the name sucks. ;-)

I like the writePathEntry/readPathEntry, though. It just doesn't fit for Exec
lines, at least in terms of naming.

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic