bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: double click filenames with spaces


From: Bob Proulx
Subject: Re: double click filenames with spaces
Date: Wed, 15 Aug 2007 15:28:30 -0600
User-agent: Mutt/1.5.9i

maryatthelake wrote:
> I am using voice recognition software (Dragon Naturally Speaking)  with the
> bash shell. I have a command that double clicks on a filename then copies it
> and does a  cd  to it  on the command line. Of course, the command doesn't
> work when there is a space in the filename (Windows XP).   I would like to
> just place the cursor on the filename and be able to select the entire name
> using double click or some other combination of mouse or keyboard commands. 

What is selected upon a double-click is a feature of your terminal
emulator.  Usually the terminal has a list of characters that are part
of the word-set.  All of the continuous characters in the word set are
selected together.  Usually the word set can be modified.  Frequently
I have seen people add or subtract underscores and such to make
customizations.  But adding a space is a problem because then where
would the selection stop?  A space tends to grab too much.

> Dragging the cursor from the beginning of the filename to the end is not
> acceptable.   Can someone help?

This is not related to bash so bug-bash is not a good place to try to
figure it out.  And a problem describing the configuration is that
every terminal emulator may be quite different.  For example xterm,
rxvt, gnome-terminal, konsole, etc. all may be different in how to
configure this.  You would need to research this with your terminal
emulator.

> Is there a way to tell the bash shell that the spaces inside a
> filename can be picked up by the doublelick or some other key
> command?

No.  This is not controlled by bash.  This is from the terminal
emulator.

Good luck!

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]