book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!







Best of the Newsgroups: screen and auto-detach reconnect


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From: Bela Lubkin <belal@sco.com>
Subject: Re: GNU Screen on OpenServer 5.0.6
Date: Sat, 24 Apr 2004 11:17:30 GMT Message-ID: <20040424111730.GH11653@sco.com> References: <969b0ae6.0404231226.62ef1b41@posting.google.com>


Hate these ads?



Steve Bushore wrote:



> I only have remote connectivity to my server (ie. telnet) to run a
> time-critical application process.  This application is run from a
> command line.  unfortunately, on occasion my network provider
> experiences hiccups and will drop my active session, forcing a
> reconnection and a restart of the process.  Actively searching for a
> solution to this problem yielding the following result - GNU screen.
> Running on Openserver 5.0.6, I've installed screen 3.9.4 from the sco
> skunkware CD with limited success.  Most of the documentation I've
> found tell me that this should be possible to configure but I am
> unable to get the desired feature functioning properly.  I can
> manually detach and reconnect screens without fail, but the autodetach
> function does not appear to be functioning properly.  If my telnet
> session drops for any reason, so does my screen process and all child
> processes.
> Any ideas on how to make the autodetach function work?














donais@gsig-net.qc.ca pointed at two old threads:



  http://groups.google.ca/groups?threadm=AAMaa.21765$cB3.126672@nnrp1.uunet.ca
  http://groups.google.ca/groups?threadm=3E60D25A.BD6729F3@att.net



but neither of them address your question.  The second one does point
out a different program (dislocate) with a more focused purpose (allow a
single program to be detached from and reattached later).


ad



Anyway.  I run screen 3.9.5 all the time, and I (involuntarily) use the
auto-detach functionality many times a day, due to a crappy phone line.
I forget whether I got the binary from somewhere or built it myself.



It needs to be setuid-root for the auto-detach stuff to work right; is
it?



>Bela<















Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
1344 266

/Bofcusm/2456.html copyright 1997-2004 Bela Lubkin All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Bela




Unix/Linux Consultants


http://echo3.net/ Unix/Linux Custom Applications, Web Hosting, C/C++ Programming Courses


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


http://www.breakthru.com.au SCO (Openserver and Unixware), Unix, Solaris and Linux Consulting services including: Secure Networking Solutions; Linux based Firewalls; Backup Solutions; Secure Home to Office Network Setup; Phone, Remote and On-Site Support available - Satisfaction Guaranteed!



Twitter
o If I had a nickel for every time I've had a nickel I'd have a lot of nickels. 6:47 AM May 19th 2008




card_image







Change Congress