tcsh double click text selection - extra characters
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
tcsh double click text selection - extra characters
Hi,
I'm running tcsh (at work, no choice) and I deal with image sequences all the time that take the format;
blahblahblah.#1-100.jpg
When you try to double click in a konsole session to select all that it selects everything up to the # sign, I want a double click to highlight everything.
I believe there's an environment or shell variable I can set to let the shell know to regard # as a normal character and highlight it like it does the rest, but I can't for the life of me find out what the damned thing's called.
A shell (like tcsh or bash) is purely text based and does not handle the mouse at all.
A terminal (like Konsole or xterm) acts between you and the shell, and may handle mouse events. It is the terminal that does the highlighting, and not the shell.
It is still possible for a program (like a shell) to receive mouse events from within a terminal (links, a console web-browser, does this) but I know of no shells which do this.
The setting for this sort of thing would be in your terminal (not the shell), but you've already figured that out on your own.
Last edited by zhangmaike; 10-16-2006 at 06:36 PM.
Yep, thanks, but I know that certain variables can change the shell, like KONSOLE_DCOP_SESSION sets the tab title for the window, any idea whether there's something similar that defines the word characters?
That's still the terminal... and specific to Konsole... but I assume that's what you meant.
To answer your question: I have no idea. There might be - you'd have to check the relevant documentation. My hunch would be that this setting can only be changed in the menu.
You could always run the env command. It will list the current environment. If such a varible exists, it would presumably be set to something, and env would list it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.