From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: run emacs in batch mode without a tty Date: Fri, 3 Jul 2015 12:26:08 +0200 Message-ID: <20150703102608.GA32723@tuxteam.de> References: <74b79522-cff4-4173-ad1c-178ffdce70fd@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1435919214 14479 80.91.229.3 (3 Jul 2015 10:26:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2015 10:26:54 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sam Halliday Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jul 03 12:26:47 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZAyAt-0001Nw-Tf for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 12:26:28 +0200 Original-Received: from localhost ([::1]:40285 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAyAt-0006WL-Co for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 06:26:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAyAj-0006WE-VG for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 06:26:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAyAc-0007JM-6Q for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 06:26:17 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:42735 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAyAc-0007J3-0Z for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 06:26:10 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1ZAyAa-00009g-A4; Fri, 03 Jul 2015 12:26:08 +0200 In-Reply-To: <74b79522-cff4-4173-ad1c-178ffdce70fd@googlegroups.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105382 Archived-At: -----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-----