I'm using emacs in daemon mode on a server and connecting over ssh in a terminal console (tty) window (i.e. no GUI support).
I'm invoking emacsclient using in the tty window (window here refers to OS application window, not emacs window) using:
emacsclient -nw
Everything so far works as expected.
I can spawn a second tty window and run a second emacsclient -nw
on the same server and it will operate like a second frame which is useful if you have a multi-monitor setup.
However I can't get the the following to work:
- I have focus on one terminal window and call, for example,
C-x 5 d
. - What happens is I get a new
dired
buffer in the same tty window as I entered the command. - I was hoping that the
C-x 5
would mean thatdired
was opened in the other frame, i.e. the other tty window.
My question is how can I harness the C-x 5
commands when using two different tty windows containing two different emacsclient instances on the same server?
$ emacs --version
GNU Emacs 26.3
Terminal emulator = wsltty