all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How to `start-process' in different terminal?
Date: Tue, 24 Jun 2014 08:33:50 -0400	[thread overview]
Message-ID: <jwvfviuebj4.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: 87r42emzjh.fsf@gmail.com

> | terminal-list is a built-in function in `C source code'.
[...]
> but the function returns 
> ,----
> | (#<terminal 1 on /dev/tty>)
> `----

Emacs's terminals are not the OS's terminals.  It's the "output devices"
that Emacs currently uses.  So if you have several "emacsclient -t"
sessions (or used make-terminal-frame), each one will have its own
"terminal" (one might be on /dev/tty1, another on /dev/pts/4), and every
time you use make-frame-on-display on another display you'll get
another "terminal".

> in my case although Archlinux with systemd has several terminals
> pre-initialized AFAIK.

But Emacs isn't using these, hence they're not in the list.

> So this `terminal-list' is just about M-x term from within Emacs and
> then

No, M-x term is yet something completely different.  These are virtual
terminals created inside Emacs for use by other applications.


        Stefan




  reply	other threads:[~2014-06-24 12:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-22  9:23 How to `start-process' in different terminal? Thorsten Jolitz
2014-06-23  2:46 ` Stefan Monnier
2014-06-24  9:23   ` Thorsten Jolitz
2014-06-24 12:33     ` Stefan Monnier [this message]
2014-06-24 13:00       ` Thorsten Jolitz
     [not found] <mailman.4092.1403429055.1147.help-gnu-emacs@gnu.org>
2014-06-22 15:03 ` Pascal J. Bourguignon
2014-06-23  2:47   ` Stefan Monnier
     [not found]   ` <mailman.4136.1403492122.1147.help-gnu-emacs@gnu.org>
2014-06-23  6:05     ` Pascal J. Bourguignon
2014-06-24 10:41   ` Thorsten Jolitz
2014-06-24 15:20     ` Thorsten Jolitz
2014-06-24 15:37     ` Eli Zaretskii
2014-06-24 16:51       ` Thorsten Jolitz
2014-06-24 17:02         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvfviuebj4.fsf-monnier+gmane.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.