LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-11-2008, 12:01 AM   #1
iamback
LQ Newbie
 
Registered: Sep 2007
Posts: 24

Rep: Reputation: 15
tab = ^I ctrl-tab=??


Hello All,
Plese tell me what is the control character for Ctrl-tab.
I want to induce firefox like behaviour in GNU Screen
by using bindkey <control character for Ctrl-tab> next.

I tried to do a Ctrl-v Ctrl-tab at terminal but no use.

Thanks. I hope someone will answer my question or try to look into it.
 
Old 05-11-2008, 08:56 PM   #2
bstutes
LQ Newbie
 
Registered: Dec 2007
Posts: 2

Rep: Reputation: 0
There is no control character for a ctrl-Tab. The tab key only emits a ctrl-I. Shift-TAB, CTRL-TAB, and ALT-TAB are META-Key combinations. The keyboard drivers see a ^I and a another byte that contains a bit pattern that indicates whether the SHIFT, CTRL, or ALT keys were also pressed.
 
Old 05-11-2008, 10:40 PM   #3
iamback
LQ Newbie
 
Registered: Sep 2007
Posts: 24

Original Poster
Rep: Reputation: 15
So lets say we write up arrow key as ^[[A
what do we write Ctrl-Tab as ??
Please help
 
Old 05-12-2008, 03:00 AM   #4
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Quote:
Originally Posted by iamback View Post
So lets say we write up arrow key as ^[[A
what do we write Ctrl-Tab as ??
What bstutes is trying to tell you is there is no ASCII character corresponding to ctrl-Tab. So it is not just a matter of figuring out how to write it for the bind command in screen -- it can't be done. Looking through screen's man page, what I thought might be a possibility is using the bindkey command with the -k option for this. But that will only work if there is a termcap designation for the <control> + <tab> key combination. I am rather unfamiliar with termcap and terminfo so I don't know the answer and haven't had a chance to research it. Maybe somebody else knows.

Remember that programs like screen come from an era/environment of ASCII terminals rather keyboards connected directly to the computer. But it is still a very nice and useful program!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ctrl+alt+tab Vortex1212 Linux - Newbie 2 08-09-2007 07:46 PM
Ctrl+Tab on KDE to switch between firefox tabs sunpascal Debian 2 01-25-2006 05:35 PM
FC 4. Modify ALT+TAB behaviour to CTRL+TAB xtracto Linux - Software 1 09-22-2005 02:06 PM
how to have no interpretation of special characters (ctrl, tab ...) in a script xround Linux - General 1 11-29-2004 07:21 AM
changing the function of ctrl and tab kopite Slackware 1 11-26-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration