Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread David Brodbeck


On Sep 25, 2007, at 4:14 PM, Sid Arth wrote:


I want to have rtorrent running in the background once I turn it on
via ssh. Is there a way to keep rtorrent running even after I close
the session?


Use screen.  It will let you detach from the session, and reattach  
to it later.  It's perfect for this sort of thing.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Douglas A. Tutty
On Tue, Sep 25, 2007 at 04:25:22PM -0700, David Brodbeck wrote:
 
 On Sep 25, 2007, at 4:14 PM, Sid Arth wrote:
 
 I want to have rtorrent running in the background once I turn it on
 via ssh. Is there a way to keep rtorrent running even after I close
 the session?
 
 Use screen.  It will let you detach from the session, and reattach  
 to it later.  It's perfect for this sort of thing.

If he doesn't need to reattach, what about just nohup?

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread David Brodbeck


On Sep 25, 2007, at 5:16 PM, Douglas A. Tutty wrote:


On Tue, Sep 25, 2007 at 04:25:22PM -0700, David Brodbeck wrote:


On Sep 25, 2007, at 4:14 PM, Sid Arth wrote:


I want to have rtorrent running in the background once I turn it on
via ssh. Is there a way to keep rtorrent running even after I close
the session?


Use screen.  It will let you detach from the session, and reattach
to it later.  It's perfect for this sort of thing.


If he doesn't need to reattach, what about just nohup?


I don't think it works with ncurses applications.  They tend to freak  
out a bit when they no longer have a controlling terminal.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Sid Arth
What is screen?

On 9/25/07, David Brodbeck [EMAIL PROTECTED] wrote:

 On Sep 25, 2007, at 5:16 PM, Douglas A. Tutty wrote:

  On Tue, Sep 25, 2007 at 04:25:22PM -0700, David Brodbeck wrote:
 
  On Sep 25, 2007, at 4:14 PM, Sid Arth wrote:
 
  I want to have rtorrent running in the background once I turn it on
  via ssh. Is there a way to keep rtorrent running even after I close
  the session?
 
  Use screen.  It will let you detach from the session, and reattach
  to it later.  It's perfect for this sort of thing.
 
  If he doesn't need to reattach, what about just nohup?

 I don't think it works with ncurses applications.  They tend to freak
 out a bit when they no longer have a controlling terminal.




 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Gabriel Parrondo
El mar, 25-09-2007 a las 19:23 -0500, Sid Arth escribió:
 What is screen?
 

apt-cache show screen

It let's you do a lot of fancy stuff in the terminal (have multiple
windows, detach the session and reattach it, copy/paste with the
keyboard and a lot of other stuff).

It's exactly what you need.



BTW, please don't make top-posting:
http://en.wikipedia.org/wiki/Posting_style#Top-posting

[...]
-- 
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: [EMAIL PROTECTED]

The only difference between theory and practice is that, in theory, there's no 
difference between theory and practice.


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Kumar Appaiah
On Tue, Sep 25, 2007 at 07:23:55PM -0500, Sid Arth wrote:
 What is screen?

http://packages.debian.org/sid/screen
http://www.gnu.org/software/screen/

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Jerome BENOIT

Hello,

you can launch jobs with at as well.

hth,
Jerome

Gabriel Parrondo wrote:

El mar, 25-09-2007 a las 19:23 -0500, Sid Arth escribió:

What is screen?



apt-cache show screen

It let's you do a lot of fancy stuff in the terminal (have multiple
windows, detach the session and reattach it, copy/paste with the
keyboard and a lot of other stuff).

It's exactly what you need.



BTW, please don't make top-posting:
http://en.wikipedia.org/wiki/Posting_style#Top-posting

[...]


--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net



Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Sid Arth
Thanks its working perfectly

On 9/25/07, Jerome BENOIT [EMAIL PROTECTED] wrote:
 Hello,

 you can launch jobs with at as well.

 hth,
 Jerome


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Guillermo Garron
On 9/25/07, Sid Arth [EMAIL PROTECTED] wrote:
 I want to have rtorrent running in the background once I turn it on
 via ssh. Is there a way to keep rtorrent running even after I close
 the session?

I like to use ctorrent,

http://www.go2linux.org/Command-line-Bit-Torrent-client-for-Linux-written-in-c-

and a way to keep it running (works with all other software) is to
append a  (no qoutes) at the end of the command, so it should be
this way.

$command -options 

hope that helps.

Guillermo Garron


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Gabriel Parrondo
El mar, 25-09-2007 a las 22:57 -0400, Guillermo Garron escribió:
 On 9/25/07, Sid Arth [EMAIL PROTECTED] wrote:
  I want to have rtorrent running in the background once I turn it on
  via ssh. Is there a way to keep rtorrent running even after I close
  the session?
 
 I like to use ctorrent,
 
 http://www.go2linux.org/Command-line-Bit-Torrent-client-for-Linux-written-in-c-
 
 and a way to keep it running (works with all other software) is to
 append a  (no qoutes) at the end of the command, so it should be
 this way.
 
 $command -options 
 

I don't think that would work. That way the command 'command' will run
as son of your shell session. When you close your session it will
probably die (maybe not, depends on how the software works).
That's why you need nohup or screen.


-- 
Gabriel Parrondo
GNU/Linux User #404138
GnuPG Public Key ID: BED7BF43
JID: [EMAIL PROTECTED]

The only difference between theory and practice is that, in theory, there's no 
difference between theory and practice.


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente


Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Celejar
On Wed, 26 Sep 2007 09:26:06 +0800
Jerome BENOIT [EMAIL PROTECTED] wrote:

 Hello,
 
 you can launch jobs with at as well.

I don't think ncurses apps will necessarily run successfully via at; mc
doesn't, and I think I recall that rtorrent itself didn't (it isn't
currently installed).

 hth,
 Jerome

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Is it possible to keep a program running even when when no users are logged in

2007-09-25 Thread Masatran, R. Deepak
* Sid Arth [EMAIL PROTECTED] 2007-09-25
 I want to have rtorrent running in the background once I turn it on
 via ssh. Is there a way to keep rtorrent running even after I close
 the session?

Nohup, Screen, and VNC (in increasing order of complexity). I have a small
introduction to screen at http://research.iiit.ac.in/~masatran/screen/.

-- 
Masatran, R. Deepak http://research.iiit.ac.in/~masatran/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]