Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Tech and Talk » OS and Software » All Things Unix » Locking the terminal with a shell script
Search Topic:
Uniqs:
157
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Gnome, KDE, ETC »
« unbutu help  
AuthorAll Replies


joako
Premium
join:2000-09-07
Gainesville, FL

Locking the terminal with a shell script

Is there any way to "lock" the terminal output while a shell script runs, so that it will have exclusive access to it? I have two programs running at once, the second writes to the terminal but the first program is interfering with it.
--
09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0


Steve
R.I.P. 3B2
Consultant
join:2001-03-10
Tustin, CA
1) Send a SIGSTOP to the first process so it's stopped in place, and when the second program finishes, send SIGCONT to let it pick up where it left off.

2) Why not send the output to a file, so this doesn't arise?
-
Forums » Tech and Talk » OS and Software » All Things UnixGnome, KDE, ETC »
« unbutu help  


Tuesday, 02-Dec 09:53:12 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.republican-creole
page compression OFF
Most commented news this week
· [100] AT&T Metered Billing Trial Hits Second Market
· [75] UDP BitTorrent Will Destroy The Interwebs!
· [58] Comcast Tries To Slow Verizon's Philly Entry
· [17] FCC To Vote On Free National Wireless Broadband
· [14] Clearwire May Slow WiMax Build
· [9] Hawaii Telecom Files For Bankruptcy
· [8] Embarq Rejected Higher Offer
· [6] Monday Evening Links
· [5] EFF Challenges Telecom Immunity
· [5] Mega-ISPs, Consumer Advocates Demand Broadband Plan
Most people now reading
· Is this a good thing for the net? [news,99366]
· [Rant] Bestbuy receipt checker [Rants, Raves, & Praise]
· [Connectivity] Union NJ problems [Comcast HSI]
· Upverting DVD players vs Blue ray DVD players. [General Questions]
· Coalition Government Possible? [TekSavvy]
· 80 done, Naxx cleared.....can you say WOW...GG? [World of Warcraft]
· Maintaince Tonight or tomorrow? [TekSavvy]
· Level 80 PVP gear info? [World of Warcraft]
· Ted Rogers passed away [Rogers]