LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-22-2004, 09:24 PM   #1
nostrum
Member
 
Registered: Jun 2004
Location: New York
Distribution: Red Hat
Posts: 32

Rep: Reputation: 15
Question regarding the screen program.


Before I start let me say I did check the man page, I'm just very new to linux and I don't think I understood how to dettach a screen if I'm in a program. Now I know how to detach a screen the command prompt screen -d. My question is how do I dettach a screen while in another program like Pine, Vi, or BitchX. It's Ctrl + something I just couldn't figure out what exactly from the man page. Any help would be great.

Thanks in advance and to all those who've answered previous questions of mine it's greatly appreciated.

-Spiros
 
Old 06-22-2004, 09:42 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Ctrl-Z
bg


Cheers,
Tink
 
Old 06-22-2004, 09:50 PM   #3
nostrum
Member
 
Registered: Jun 2004
Location: New York
Distribution: Red Hat
Posts: 32

Original Poster
Rep: Reputation: 15
Ahh thank you!

Thanks for the help,
Spiros
 
Old 06-22-2004, 09:57 PM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
or
ctrl -a , d
 
Old 06-22-2004, 10:00 PM   #5
nostrum
Member
 
Registered: Jun 2004
Location: New York
Distribution: Red Hat
Posts: 32

Original Poster
Rep: Reputation: 15
Umm..

Ctrl + Z definetly suspends the current program I'm working in and drops me back to the command prompt but how do I unsuspend or access that program again once I've suspended it. Cause screen -r doesn't work since I haven't actually detached the screen session just the current program/process being run by it.

Thanks,
Spiros
 
Old 06-22-2004, 10:17 PM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
to bring the program back you can use "fg"
however as I mentioned above you can detach directly using "ctrl -a, d", so you don't have to pause the program, then type screen -d.
 
  


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
A screen shot program for X wnaLinux Linux - Software 2 12-09-2004 10:16 PM
print screen+gimp/screenshot program question darkleaf Linux - Software 4 10-31-2004 04:36 AM
program: screen - caption BoudewijnS Linux - Software 0 10-02-2004 02:59 PM
Starting program on different screen aasenDK Linux - Newbie 1 05-30-2004 04:07 PM
Program opening off screen garf12 Linux - Newbie 1 03-06-2004 09:58 PM


All times are GMT -5. The time now is 05:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration