Alex Hutcheson via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs@gnu.org> writes:
Hi Alex,
> Actual behavior:
>
> Shell buffer starts a shell, but shows errors at the top of the buffer:
>
> sh: cannot set terminal process group (128765): Inappropriate ioctl
> for device
> sh: no job control in this shell
>
> Shell mostly works, but job control features don't work.
> C-c C-z does nothing
> C-c C-c kills the shell, rather than the currently running job
> fg and bg give errors like:
> sh: fg: no job control
I could reproduce & fix it in recent Tramp sources. Pushed to the
repositories.
Unfortunately, the fix cannot be backported to Emacs 29 trivially. So
you might try either Emacs 30 or Tramp 2.7 from the respective git
repositories. Or you wait a little bit, until Tramp 2.7.1 appears on GNU
ELPA. Planned for end of June.
Best regards, Michael.