LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 10-16-2006, 06:01 PM   #1
Kyoseki
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
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.

Can anyone help me out?

Thanks.

Last edited by Kyoseki; 10-16-2006 at 06:08 PM.
 
Old 10-16-2006, 06:20 PM   #2
Kyoseki
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Aha, you can set it in the "Configure Konsole" settings, but I was sure that there was a shell or environment variable that did the same thing.
 
Old 10-16-2006, 06:31 PM   #3
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
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.
 
Old 10-16-2006, 11:35 PM   #4
Kyoseki
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
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?
 
Old 10-17-2006, 12:03 AM   #5
zhangmaike
Member
 
Registered: Oct 2004
Distribution: Slackware
Posts: 376

Rep: Reputation: 31
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
International characters in tcsh on Slack 10.2 Yalla-One Slackware 2 10-18-2005 03:32 PM
mouse: single-click becomes double-click kinzlaw Linux - Hardware 2 08-24-2005 07:55 PM
MDK 10.1; tcsh and swedish characters not working bunnadik Mandriva 1 01-18-2005 03:03 AM
Double click Ephracis Linux - Software 4 11-19-2004 06:15 AM
Gnome 2.6.1: Single Click acts like Double Click Der_tolle_Emil Linux - Software 2 09-13-2004 08:59 AM


All times are GMT -5. The time now is 09:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration