kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.12k stars 971 forks source link

Strange behaviors on SSH #6325

Closed AdsonCicilioti closed 1 year ago

AdsonCicilioti commented 1 year ago

Describe the bug When accessing servers via SSH the following is happening:

To Reproduce Steps to reproduce the behavior:

  1. Access a linux server via SHH
  2. Play the actions described above

Screenshots

Environment details

kitty 0.28.1 created by Kovid Goyal
Linux archell 6.3.4-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Wed, 24 May 2023 17:43:43 +0000 x86_64
Arch Linux 6.3.4-zen1-1-zen (/dev/tty)

Running under: X11
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /usr/bin/fish
Loaded config files:
  /home/adson/.config/kitty/kitty.conf

Config options different from defaults:
background_opacity      0.9
copy_on_select          clipboard
cursor_beam_thickness   1.75
cursor_shape            2
enabled_layouts         ['fat', 'tall']
font_family             FiraCode Nerd Font Mono
font_size               12.0
linux_display_server    x11
remember_window_size    False
tab_bar_margin_height   TabBarMarginHeight(outer=10.0, inner=10.0)
tab_bar_margin_width    10.0
tab_bar_style           powerline
tab_powerline_style     slanted
wayland_titlebar_color  420946946
window_border_width     (1.0, 'pt')
window_margin_width     FloatEdges(left=5.0, top=5.0, right=5.0, bottom=5.0)
window_padding_width    FloatEdges(left=16.0, top=16.0, right=16.0, bottom=16.0)
Added shortcuts:
    f4 →  launch --location=split
    shift+alt+down →  launch --location=hsplit
    shift+alt+r →  layout_action rotate
    shift+alt+right →  launch --location=vsplit
    shift+down →  move_window down
    shift+left →  move_window left
    shift+right →  move_window right
    shift+up →  move_window up
Changed shortcuts:
    kitty_mod+down →  layout_action move_to_screen_edge bottom
    kitty_mod+left →  layout_action move_to_screen_edge left
    kitty_mod+right →  layout_action move_to_screen_edge right
    kitty_mod+up →  layout_action move_to_screen_edge top
Colors:
    active_border_color     #31748f   
    active_tab_background   #26233a   
    active_tab_foreground   #e0def4   
    background              #191724   
    bell_border_color       #eb6f92   
    color0                  #26233a   
    color1                  #eb6f92   
    color10                 #31748f   
    color11                 #f6c177   
    color12                 #9ccfd8   
    color13                 #c4a7e7   
    color14                 #ebbcba   
    color15                 #e0def4   
    color2                  #31748f   
    color3                  #f6c177   
    color4                  #9ccfd8   
    color5                  #c4a7e7   
    color6                  #ebbcba   
    color7                  #e0def4   
    color8                  #6e6a86   
    color9                  #eb6f92   
    cursor                  #524f67   
    cursor_text_color       #e0def4   
    foreground              #e0def4   
    inactive_border_color   #26233a   
    inactive_tab_background #191724   
    inactive_tab_foreground #6e6a86   
    selection_background    #403d52   
    selection_foreground    #e0def4   
    url_color               #c4a7e7   

Important environment variables seen by the kitty process:
    PATH                                /home/adson/.asdf/shims:/home/adson/.asdf/bin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/adson/.local/bin:/var/lib/flatpak/exports/bin:/home/adson/.fly/bin
    LANG                                en_US.UTF-8
    SHELL                               /usr/bin/fish
    DISPLAY                             :0
    WAYLAND_DISPLAY                     wayland-0
    USER                                adson
    XDG_DATA_DIRS                       /home/adson/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
    XDG_RUNTIME_DIR                     /run/user/1000
    XDG_CURRENT_DESKTOP                 GNOME
    XDG_MENU_PREFIX                     gnome-
    XDG_SESSION_CLASS                   user
    XDG_SESSION_DESKTOP                 gnome
    XDG_SESSION_TYPE                    wayland 

Additional context Even using kitty with the command kitty --config NONE the behaviors described above occur.

kovidgoyal commented 1 year ago

See https://sw.kovidgoyal.net/kitty/faq/#i-get-errors-about-the-terminal-being-unknown-or-opening-the-terminal-failing-or-functional-keys-like-arrow-keys-don-t-work