Kyle Donaldson wrote:
>
> On Sun, 29 Jul 2001, after playing in traffic, nicolas delon yelped:
> >
> > I wrote a patch that expands the two forms of ~ expansion:
> > - ~/ : a simple getenv("HOME")
> > - ~jeff/ : a getpwname
> >
> > and when blackbox rewrites .blackboxrc it takes the '~' form.
> > I have coded it with a class, so i have replace the '~'
> > expansion old code in Screen.cc by the new code
> > (for the menu file).
> >
> > here is the patch, I have posted it in blackbox.thelinuxcommunity.org
> > too.
>
> Hmm... interesting idea with the class and all, and it's more functional
> than my old patch. However, I got bored, so I fixed my patch, it can now do
> the ~/ and ~<user> expansion, and will rewrite the unexpanded version,
> provided that it wasn't changed during operation (styles).
>
> I don't feel the need, but replacing the ~ code in Screen.cc *should* be an
it's useful for [styledir] and [restart]
if style dir or wm bin are in you home directory
> easy task. (*should* as in I haven't read Screen.cc, and don't want to
> anyway as it works for me)
yes it's very easy
>
> (...and I finally fixed my MUA to not encode attachments... only a few code
> repairs...)
>
> --gile
> --
> "i think when somebody goes to a software site and sees TITS, they are
> obligated to click" -dingo
>
> ------------------------------------------------------------------------
> Name: bb_te.diff
> bb_te.diff Type: Plain Text (text/plain)
> Encoding: quoted-printable
--
| Nicolas Delon --- EPITA student |
| e-mail at home: [EMAIL PROTECTED] |
| at school: [EMAIL PROTECTED] |
| web site: http://www.epita.fr/~delon_n |
| GNU/Linux User |