• zloubida@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 day ago

    I did something like that, but as I’m a Linux n00b (even if I was a Linux-only user for something like 5 years now) it’s far simpler than that. I don’t use a multiplexer, I simply use more than one TTY, and emacs’ buffers. But I may install kmscon!

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 day ago

      I simply use more than one TTY, and emacs’ buffers.

      If you haven’t yet run into emacs’s frames, you may find that useful, unless you explicitly want to also use the Linux virtual consoles for other reasons. In a GUI environment, emacs frames are normally represented by another X11/Wayland window. In a TUI environment, they look kinda like a virtual console.

      Each frame contains a set of emacs windows (what a lot of present-day GUI software calls “panes”) laid out to display whatever buffers you want. You can have a buffer shown in a window in multiple frames if you want.

      https://www.gnu.org/software/emacs/manual/html_node/emacs/Frames.html

      Some basic operations:

      • C-x 5 2 Creates a new frame
      • C-x 5 o Switches to another frame
      • C-x 5 0 Destroys current frame

      You can also produce a similar effect by running an emacs instance in daemon mode, and then using emacsclient to attach to that daemon instance on different Linux virtual consoles, if you prefer the multiple-VC approach. One emacs instance and set of buffers, but can have different windows in different layouts showing them and switch between them.