[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: run emacs in batch mode without a tty
From: |
Sam Halliday |
Subject: |
Re: run emacs in batch mode without a tty |
Date: |
Fri, 3 Jul 2015 03:28:11 -0700 (PDT) |
User-agent: |
G2/1.0 |
Hi, you're right... it's not possible to ssh in and check this stuff but it is
possible to run a script in the environment to check that there are no pseudo
terminals either (/dev/pty*)
On Friday, 3 July 2015 11:26:22 UTC+1, to...@tuxteam.de wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, Jul 03, 2015 at 02:14:58AM -0700, Sam Halliday wrote:
> > Hi all,
> >
> > I would like to run my elisp unit tests in a docker container, but my CI
> > doesn't let me enable a tty when I'm doing this.
> >
> > Given that the tests would only be using a dumb terminal anyway, it really
> > just needs to be mocked out, but I don't have anything under `/dev/tty*`
>
> Bah. Those young'uns re-inventing all wheels at once. No /dev/tty* ;-)
>
> Do you see a /dev/pty* or /dev/ptmx?
>
> Note that if there are no ptys probably other things won't work
> (ssh comes to mind).
>
> regards
> - -- tomás
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlWWY0AACgkQBcgs9XrR2kb1MgCfVkFfsR6naDKG3OSm0+xP3lgg
> TikAoIFkfsLqkkvnNHYpN9Uny1/UgMUZ
> =/AiX
> -----END PGP SIGNATURE-----
Re: run emacs in batch mode without a tty, Eli Zaretskii, 2015/07/03
Message not available
Message not availableRe: run emacs in batch mode without a tty, Barry Margolin, 2015/07/03
Re: run emacs in batch mode without a tty, Eli Zaretskii, 2015/07/03