> Date: Thu, 24 Apr 2014 07:13:20 +0200 (CEST)
> To: [email protected], [email protected]
> From: Pierre Lorenzon <[email protected]>
> Subject: [blfs-support] bash: cannot set terminal process group (-1):
>  Inappropriate ioctl for device
>
>
> Hi,
>
> Error message is in the subject. It occurs when trying to start
> bash under emacs with the command M-x shell <ret>. No job
> control in the shell then and that is absolutely not convenient
> !
>
> It does not seem to be an emacs bug, that's why I do not yet
> posted on any emacs list.
>
> In fact it occurs under clfs 2.1.0 but not under lfs 6.6. In
> both cases emacs is 24.3.1.
>
> Moreover it does not occur when emacs user is root even under
> clfs 2.1.0. That's why I suspect that some permission somewhere
> is not correctly set but I could not yet determine which one.
>
> I'll continue to investigate but if one of you does have an
> idea please tell me ! 
>


Ref e.g. 'man bash', section 'Job Control' and option '-m' re monitor mode.

It usually stems from what shell and command-line does your - in this case,
emacs 'shell' - command run, is it being run as an interactive shell or not,
and what are the contents of the shell's startup files.

You might want to compare the outputs of 'set' and 'shopt' - as done from
within the emacs 'shell' - across the respective environments that you
describe - i.e. clfs, lfs, root/non-root, &c.


hth,
akh


>
> Regards 
>
> Pierre
>


--
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to