Re: Remapping mouse buttons

Hello;

According to the tcsh man page,

The character `~' at the beginning of a filename refers to home directories.
Standing alone, i.e., `~', it expands to the invoker's home directory as
reflected in the value of the
*home<http://www.tcsh.org/tcsh.html/Special_shell_variables.html#home>
* shell variable. When followed by a name consisting of letters, digits and
`-' characters the shell searches for a user with that name and substitutes
their home directory; thus `~ken' might expand to `/usr/ken' and
`~ken/chmach' to `/usr/ken/chmach'. If the character `~' is followed by a
character other than a letter or `/' or appears elsewhere than at the
beginning of a word, it is left undisturbed.

I think you have most of this already - just need to allow the alternative
user expansion.

I understand about the hardcoded paste. I once wrote a Make tk GUI that
would make button 2 paste
to the command window instead of the (readonly) output window. I was
thinking that might make an
interesting plugin for emelfm2.

   Thanks for all the changes.

      Adam

On Tue, Aug 26, 2008 at 9:39 PM, <tpgww@xxxxxxxxxxx> wrote:

> On Tue, 26 Aug 2008 06:52:25 -0500
> "Adam Krolnik" <akrolnik@xxxxxxxxx> wrote:
>
> > ~adam should expand to /home/adam or /user/adam or whatever the default
> > location for user directories is.
> >
> > ~/ is shorthand for /user/$USER.
> >
> > ~mike thus expands to someone elses home directory.
> I don't mind a bit of getpwnam() foolery, but I can't get enthused about
> handling overrides in environment etc.
>
>
> > Can Button-2 be paste into the command line ?
> I think that gtk defaults to paste upon btn 2 click, in which case, we just
> need to keep out of its way. ATM I don't plan to hardcode a paste operation.
> If anything, I'm trying to reduce such things.
>
> 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.
>



-- 
Adam Krolnik

Other related posts: