LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2007, 11:51 PM   #1
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Rep: Reputation: 30
GNU Screen and Bash shortcuts


Hello I was wondering if a GNU screen could please enlighten me on how to use bash shortcuts within GNU screen and if it even possible. Commands such as ctrl+a invoke the screen commands rather than performing bash shortcuts. I would like to use my bash shortcuts in conjunction with screen because that would be the killer solution.

Thanks
 
Old 09-18-2007, 02:02 PM   #2
juergen
Member
 
Registered: Sep 2001
Posts: 40

Rep: Reputation: 16
Code:
ctrl+a a
sends a ctrl+a to the current terminal.

You can also change the command character to something that isn't ctrl+a by invoking screen with the -e switch.
For example,
Code:
screen -e '^Ma'
would set the command character to ctrl+m, with
Code:
ctrl+m a
being used to send a literal ctrl+m to the terminal.
 
Old 09-18-2007, 06:45 PM   #3
keysorsoze
Member
 
Registered: Apr 2004
Location: Queens, NY
Distribution: Red Hat, Solaris
Posts: 295

Original Poster
Rep: Reputation: 30
Thanks for the reply juergen, ctr+a a works for me.
 
  


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
LXer: Bash Shell Keyboard Shortcuts For Linux Users LXer Syndicated Linux News 0 04-01-2007 04:16 PM
LXer: Keyboard Shortcuts for Bash LXer Syndicated Linux News 0 12-17-2006 12:21 PM
LXer: Are you qualified to bash GNU/Linux? LXer Syndicated Linux News 0 08-16-2006 01:03 PM
GNU screen and bash settings stutterbug Linux - Software 0 01-13-2005 09:27 AM
Making bash shortcuts, like ~ for Home Gag Halfrunt Linux - Newbie 5 12-24-2004 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 PM.

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