Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44637 - New Ebuild detach-0.2.0.ebuild
Summary: New Ebuild detach-0.2.0.ebuild
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-03-13 21:01 UTC by Mike Valstar
Modified: 2005-09-11 16:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
the ebuild (detach-0.2.0.ebuild,393 bytes, application/octet-stream)
2004-03-13 21:01 UTC, Mike Valstar
Details
ebuild with new stream (detach-0.2.0.ebuild,393 bytes, text/plain)
2004-03-14 18:01 UTC, Mike Valstar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Valstar 2004-03-13 21:01:25 UTC
detach, a program to detach a process from a running terminal

i use it all the time, i thought there should be an ebuild... so here it is
Comment 1 Mike Valstar 2004-03-13 21:01:53 UTC
Created attachment 27336 [details]
the ebuild
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-14 17:20:04 UTC
Is there something about this that's different and/or better than app-misc/screen?
Comment 3 Mike Valstar 2004-03-14 17:26:16 UTC
this program is a one time use program as it were.

e.g. "detach firefox; exit"

running this from a terminal will detach firefox from the terminal so that the terminal may be closed. hence the exit.

screen on the other hand must remain running for firefox to continue running.

I run evilwm and this is invaluable.
Comment 4 Mike Valstar 2004-03-14 17:33:59 UTC
sorry I think this needs to be expanded

basically what this will do is allow you to detach any process from a running terminal. if the terminal dies the program remains running. 
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-14 17:46:22 UTC
I see what you're saying now.
Comment 6 Brandon Hale (RETIRED) gentoo-dev 2004-03-14 17:47:51 UTC
(firefox &) detaches from the terminal.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-03-14 17:50:04 UTC
Could you please attach the ebuild as a plain/text file?
Comment 8 Mike Valstar 2004-03-14 18:00:17 UTC
Brandon Hale:  do this for me

load a terminal run a program your way  "firefox &"

thin kill the terminal the hard way
"kill -9 your_terminal"

firefox will die, this does not happen with detach.  its a minor difference but hey.
Comment 9 Mike Valstar 2004-03-14 18:01:05 UTC
Created attachment 27385 [details]
ebuild with new stream

ebuild with new stream
Comment 10 Brandon Hale (RETIRED) gentoo-dev 2004-03-14 18:29:43 UTC
Mike Valstar, try this for me:

load a terminal run a program my way  "(firefox &)"

thin kill the terminal the hard way
"kill -9 your_terminal"

firefox will *not* die, doing the exact same thing as detach.  its a minor difference but hey.
Comment 11 Mike Valstar 2004-03-14 18:40:53 UTC
seems to be working for me, i tried it with a few programs.  even closing the terminal does it i tried in xterm, Eterm, gnome-terminal and konsole. 

i did my tests with gcolor, evolution and gnome-alsamixer... sorry dident try firefox (i was using it)

gcolor and gnome-alsamixer died  evolution did not.  evolution must have something built into it to protect it... my bad for not trying firefox explicitly, it most likly has this protection aswell.  

sorry for the confustion
Comment 12 Ciaran McCreesh 2005-09-11 16:47:48 UTC
Sorry, we can't include this without the standard header.

* http://dev.gentoo.org/~ciaranm/docs/mw-faq/header.txt