unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to `start-process' in different terminal?
Date: Tue, 24 Jun 2014 11:23:30 +0200	[thread overview]
Message-ID: <87r42emzjh.fsf@gmail.com> (raw)
In-Reply-To: jwvk388ibuc.fsf-monnier+gmane.emacs.help@gnu.org

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> pdf files (converted to .tiff actally). This does not work with a
>> terminal multiplexer like tmux (running on e.g. tty), I have to switch
>> manually to e.g. tty1 to make it work.
>
> Comparing "tty" to "tty1" is comparing apples and oranges.

I probably meant "tty1" vs "tty2" etc ...

>> When I call `(terminal-list)' from Emacs instances on two different
>> tty's I get the same result:
>
> Emacs's "terminals" are yet different beasts.

the docstring says 

,----[ C-h f terminal-list RET ]
| terminal-list is a built-in function in `C source code'.
| 
| (terminal-list)
| 
| Return a list of all terminal devices.
| 
| [back]
`----

but the function returns 

,----
| (#<terminal 1 on /dev/tty>)
`----

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

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

,----
| To make multiple terminal emulators, rename the buffer *terminal* to
| something different using M-x rename-uniquely, just as with Shell
| mode.
`----

I guess. 

-- 
cheers,
Thorsten




  reply	other threads:[~2014-06-24  9:23 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 [this message]
2014-06-24 12:33     ` Stefan Monnier
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87r42emzjh.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).