• Piatro@programming.dev
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 day ago

    One of my primary use cases isn’t covered by this article and that’s a consistent user experience from one terminal emulator to another. I have personal and work devices, and I don’t have control of what terminal emulators I can use on the work device, so tmux is the only way I can work with consistent keybinds and a consistent experience across all terminal emulators with nothing but a single git clone of my dotfiles. Yes I get stuck behind in features but I kind of couldn’t care less about terminal notifications or title renaming (the examples used in the post). I’m always in the terminal, I don’t need notified to come back to a terminal I’m already using.

    If I’m wrong please tell me but it’s worked for me for years without too many issues across tons of terminal emulators from iTerm to gnome-terminal, xfce4-terminal to windows terminal.

  • kbal@fedia.io
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    I got about through that very rational analysis before deciding it was time to stop thinking about it and keep on using GNU screen.

  • tehWrapper@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    tmux is well worth trying over screen.

    Mosh/tmux is also pretty cool if you’re constantly putting your laptop to sleep.

  • bacon_pdp@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

    If you use st or havoc and have a tmux configuration that looks like this:

    # Generic Tmux config
    # use emacs keybindings
    setw -g mode-keys emacs
    
    # put the status bar on top
    set -g status-style fg=green
    set-option -g status-position top
    
    # add urxvt keybindings
    
    bind-key -n C-T new-window
    bind-key -n C-pageup prev
    bind-key -n C-pagedown next
    
    # make killing of panes match emacs
    bind k kill-pane
    
    # Improve appearence
    set -g default-terminal "screen-256color"
    set -g pane-border-style fg=green
    set -g pane-active-border-style fg=blue
    
    # Support local files
    if-shell "[ -f ~/.tmux.conf_local ]" 'source ~/.tmux.conf_local'
    

    Then yes you do require tmux as dtach, abduco, dvtm and mtm are not up to the task

    Like seriously let me do ctrl-shift-t to create a full screen tab. Show the running program names on top and let me switch between them with ctrl-pgup and ctrl-pgdn.