SOLVED - -bash: no job control in this shell on tty1

2012-01-03 Thread Wayne Topa
I have had a problem for a long time now when logging in on tty1 as root or any user. On logging in the system reports " -bash: no job control in this shell on tty1". Others here have also reported the problem but we never found a fix, other then Ctrl c and re-logging in. I

Re: Does anyone understand terminal job control?

2009-02-09 Thread Daniel Burrows
On Mon, Feb 09, 2009 at 10:37:07AM -0500, "Douglas A. Tutty" was heard to say: > On Sun, Feb 08, 2009 at 08:27:09PM -0800, Daniel Burrows wrote: > > On Sun, Feb 08, 2009 at 07:58:51AM -0500, "Douglas A. Tutty" > > was heard to say: > > > > Perhaps your controller program will have > > > to be

Re: Does anyone understand terminal job control?

2009-02-09 Thread Douglas A. Tutty
On Sun, Feb 08, 2009 at 08:27:09PM -0800, Daniel Burrows wrote: > On Sun, Feb 08, 2009 at 07:58:51AM -0500, "Douglas A. Tutty" > was heard to say: > > Perhaps your controller program will have > > to be a filter between the process and the terminal: pipe its std-in an > > std-out to the control

Re: Does anyone understand terminal job control?

2009-02-08 Thread Daniel Burrows
sure)? I was being sloppy :) -- I meant that the terminal has been "taken away" via tcsetpgrp(). > The libc info also has example code for implementing a shell with job > control, but I haven't looked at it closely yet. Yeah, that's basically what I was basing my ide

Re: Does anyone understand terminal job control?

2009-02-08 Thread Daniel Burrows
r a while. > > > > > > I have a need to write some code that can manage job control on a > > > terminal. More specifically, I need to run a single process and stuff > > > it into the background at will, so that it gets suspended when it tries > > >

Re: Does anyone understand terminal job control?

2009-02-08 Thread Daniel Burrows
On Sun, Feb 08, 2009 at 05:52:34PM +1000, Adrian Levi was heard to say: > 2009/2/8 Daniel Burrows : > > Hello list, > > > > I've been banging my head on this one for a while. > > > > I have a need to write some code that can manage job control on a >

Re: Does anyone understand terminal job control?

2009-02-08 Thread Mirko Parthey
by: "without access to the controlling terminal"? Is the controlling terminal actually connected to the stdin of your subprocess in the normal case (check in /proc to be sure)? The libc info also has example code for implementing a shell with job control, but I haven't looked

Re: Does anyone understand terminal job control?

2009-02-08 Thread Douglas A. Tutty
On Sun, Feb 08, 2009 at 05:52:34PM +1000, Adrian Levi wrote: > 2009/2/8 Daniel Burrows : > > Hello list, > > > > I've been banging my head on this one for a while. > > > > I have a need to write some code that can manage job control on a > > terminal

Re: Does anyone understand terminal job control?

2009-02-07 Thread Adrian Levi
2009/2/8 Daniel Burrows : > Hello list, > > I've been banging my head on this one for a while. > > I have a need to write some code that can manage job control on a > terminal. More specifically, I need to run a single process and stuff > it into the backgroun

Re: Does anyone understand terminal job control?

2009-02-07 Thread Boyd Stephen Smith Jr.
; > The source for /bin/dash and /bin/bash are available. You might should > > be able to peruse them and find the correct way to > > suspend/resume/detach/etc. processes. > > Would the screen program (or its sources) be of any help? My first guess would be no. Screen does not

Re: Does anyone understand terminal job control?

2009-02-07 Thread Douglas A. Tutty
On Sat, Feb 07, 2009 at 10:43:11PM -0600, Boyd Stephen Smith Jr. wrote: > On Saturday 07 February 2009 18:58:13 Daniel Burrows wrote: > > I've been banging my head on this one for a while. > > The source for /bin/dash and /bin/bash are available. You might should be > able to peruse them and f

Re: Does anyone understand terminal job control?

2009-02-07 Thread Boyd Stephen Smith Jr.
On Saturday 07 February 2009 18:58:13 Daniel Burrows wrote: > I've been banging my head on this one for a while. The source for /bin/dash and /bin/bash are available. You might should be able to peruse them and find the correct way to suspend/resume/detach/etc. processes. -- Boyd Stephen Smi

Does anyone understand terminal job control?

2009-02-07 Thread Daniel Burrows
Hello list, I've been banging my head on this one for a while. I have a need to write some code that can manage job control on a terminal. More specifically, I need to run a single process and stuff it into the background at will, so that it gets suspended when it tries to read fro

Re: -bash: no job control in this shell

2008-01-27 Thread Mitchell Laks
On 12:51 Mon 07 Jan , Scott Gifford wrote: > > To find out, create a brand new user with default dotfiles, and try > logging in as that user. > > Hope this helps, > No such luck :(. Every user who initially logs in to tty1 gets the no job control message! Here is so

Re: -bash: no job control in this shell

2008-01-07 Thread Scott Gifford
Mitchell Laks <[EMAIL PROTECTED]> writes: [...] > 1) I don't know what this means. It means you can't hit CTRL-Z to suspend a process, move processes to the foreground and background, or use the jobs command. See the JOB CONTROL section of bash(1) for more details. Not

Re: -bash: no job control in this shell

2008-01-07 Thread Wayne Topa
. > > I notice right after I initially login to the pc > > the shell says to me (ominously): > > -bash: no job control in this shell. > > 1) I don't know what this means. > 2) I don't know what causes it. > 3) It bothers me (I dont know why. Just in

Re: -bash: no job control in this shell

2008-01-06 Thread Vincent Lefevre
On 2008-01-07 01:08:20 -0500, Mitchell Laks wrote: > I notice right after I initially login to the pc > > the shell says to me (ominously): > > -bash: no job control in this shell. > > 1) I don't know what this means. > 2) I don't know what causes it. Perha

-bash: no job control in this shell

2008-01-06 Thread Mitchell Laks
): -bash: no job control in this shell. 1) I don't know what this means. 2) I don't know what causes it. 3) It bothers me (I dont know why. Just in principle!). 4) So if I really want that job control thingy back, what do I have to do. I figure it is a left over from some mess up of my .

Re: initrd / linuxrc: /bin/sh: can't access tty; job control turned off

2004-09-15 Thread Alvin Oga
lesystem) readonly. > Freeing unused kernel memory: 164k init 4k chrp 32k prep > /bin/sh: can't access tty; job control turned off > # > > with even the simplest linuxrc : ( > > I created an initrd consisting of: > > /bin > /bin/dash > /bin/echo > /bin/sh

initrd / linuxrc: /bin/sh: can't access tty; job control turned off

2004-09-15 Thread ms419
/bin/sh: can't access tty; job control turned off # with even the simplest linuxrc : ( I created an initrd consisting of: /bin /bin/dash /bin/echo /bin/sh -> dash /dev /dev/console c 5 1 /lib /lib/ld.so.1 /lib/libc.so.6 /linuxrc linuxrc is a not-overly-complicated shell script: #!/bin/sh echo

Re: Mutt viewers in the background / Job control

2003-11-09 Thread Bill Moseley
For the archives: On Sat, Nov 08, 2003 at 04:16:23PM -0800, Bill Moseley wrote: > Common question: how do I make the viewer a child of init so that when > mutt exits it's not a zombie waiting on the viewer or closing mutt > doesn't kill the viewer? Well, one answer would seem a script called mu

Mutt viewers in the background / Job control

2003-11-08 Thread Bill Moseley
I'm using a modification of mutt_bgrun where a .mailcap entry might be: image/png; /home/moseley/bin/mutt_bgrun display '%s'; test=test -n "$DISPLAY" and mutt_bgrun is basically: file=$(mktemp); cp "$2" "$file" ( "$1" "$file"; rm "$file" ) & That allows control to return to mutt while the view

Re: job control

2001-04-01 Thread cletus . yokel
At Fri, 30 Mar 2001 18:40:31 -0700 (MST), John Galt <[EMAIL PROTECTED]> wrote: > >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > > >nohup > >On Thu, 29 Mar 2001 [EMAIL PROTECTED] wrote: > >>- Begin Hush Signed Message from [EMAIL PROTECTED] >- >> >>This is not a debian question, but i

Re: job control

2001-03-30 Thread John Galt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 nohup On Thu, 29 Mar 2001 [EMAIL PROTECTED] wrote: >- Begin Hush Signed Message from [EMAIL PROTECTED] - > >This is not a debian question, but it's so generic I'm not sure where else >to ask it. > >How do you free a process from your login?

Re: job control

2001-03-30 Thread Damon Muller
Quoth Brian May, > > "Erik" == Erik Steffl <[EMAIL PROTECTED]> writes: > > Erik> nohup, I think you can also set up the shell not to kill > Erik> children when it exits (start command in background (append > Erik> & at the end of command line) or background it while it > Eri

Re: job control

2001-03-29 Thread Brian May
> "Erik" == Erik Steffl <[EMAIL PROTECTED]> writes: Erik> nohup, I think you can also set up the shell not to kill Erik> children when it exits (start command in background (append Erik> & at the end of command line) or background it while it Erik> works, usually ctrl-z to st

Re: job control

2001-03-29 Thread Karsten M. Self
a process from your login? I want to start a commandline > program, then logoff and have the program continue to execute. Currently > I'm using at as a work around, but it seems like you should be able to > interactively "spin" the process off on its own. Thanks. You c

Re: job control

2001-03-29 Thread Erik Steffl
[EMAIL PROTECTED] wrote: > > - Begin Hush Signed Message from [EMAIL PROTECTED] - > > This is not a debian question, but it's so generic I'm not sure where else > to ask it. > > How do you free a process from your login? I want to start a commandline > program, then logoff and have the p

job control

2001-03-29 Thread cletus . yokel
- Begin Hush Signed Message from [EMAIL PROTECTED] - This is not a debian question, but it's so generic I'm not sure where else to ask it. How do you free a process from your login? I want to start a commandline program, then logoff and have the program continue to execute. Currently I

Re: Job Control?

1999-10-13 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE- On Tue, 12 Oct 1999 [EMAIL PROTECTED] wrote: > Then I think I am in trouble... > I chose to run dselect on an xterm as su root. > So, if I kill that window to install a new version of afterstep, > what i am currently running, am I up the creek? > Oh, boy. > Now

Re: Job Control?

1999-10-12 Thread David Z. Maze
bwarsing <[EMAIL PROTECTED]> writes: BW> On Tue, Oct 12, 1999 at 04:38:08PM -0400, Noah L. Meyerhans wrote: NLM> There is a utility called 'screen' to handle this. It's NLM> packaged for Debian. You'd run your program in a screen session NLM> in one window ('screen mutt' for example). BW> BW>

Re: Job Control?

1999-10-12 Thread bwarsing
On Tue, Oct 12, 1999 at 04:38:08PM -0400, Noah L. Meyerhans wrote: > There is a utility called 'screen' to handle this. It's packaged for > Debian. You'd run your program in a screen session in one window ('screen > mutt' for example). You could then detach the screen session from that > window

Re: Job Control?

1999-10-12 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE- On Tue, 12 Oct 1999 [EMAIL PROTECTED] wrote: > Got a quick one. > How do I get a particular transfer control of a particular PID to > another ttyX or xterm? > Don't think I've ever read anything about this. There is a utility called 'screen' to handle this. It

Re: Job Control?

1999-10-12 Thread Steve Lamb
Tuesday, October 12, 1999, 1:16:29 PM, bwarsing wrote: > How do I get a particular transfer control of a particular PID to > another ttyX or xterm? > Don't think I've ever read anything about this. I don't think there is a way to do it at the base level. Take a look at screen, however, which

Job Control?

1999-10-12 Thread bwarsing
Hi, Got a quick one. How do I get a particular transfer control of a particular PID to another ttyX or xterm? Don't think I've ever read anything about this. Thanks, bw

*ES shell* where to get job control patch?

1997-08-26 Thread sca . bbs
Hi, I remember there's patch or else to make 'es' have job control ability. Do you know where to get it? thanks -mlt -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .