GNU screen and copy/paste problems in terminal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I've been using screen for as long as I can remember, but
something changed with a fedora upgrade (perhaps going back to
fedora30?) that's broken my ability to use the mouse to cut-and-paste
from a terminal in a remote ssh session. Now line breaks are
considered to be the last character on the line, not necessary where
the actual line ends.

For example, piping /var/log/maillog into "less" then trying to copy
and paste a line of text that extends beyond the end of the right
column and onto another line results in the following:

Dec  6 00:08:40 cipher dovecot[3795454]: imap-login: Login:
user=<38071>, method=PLAIN, rip=47.44.184.3, lip=209.216.11.60,
mpid=3870132, TLS, session=<fp/os8S1X8ovLLgD>

dovecot prints this as a single line, but since it spans multiple
lines in my terminal, the copy/paste process apparently treats it as
separate lines inserts a line break at the end of the line in the
terminal.

This is using GNOME Terminal 3.38.1. Is this somehow related to the
terminal type I'm using? Or something in screen by default?

Below is my ~/.screenrc

$ cat .screenrc|grep -Ev '^$|^#'
defscrollback 1000
deflogin on
autodetach off
startup_message off
shell bash
activity "active: %n (%t) [%w:%s]"
bell "bell: %n (%t) [%w:%s]^G"
vbell off
nonblock on
msgwait 2
termcapinfo * ti@:te@
escape ^Oo
bind k
bind ^k
bind K kill
activity 'Activity on screen %n ^G'
bindkey ^[0 select 0
bindkey ^[1 select 1
bindkey ^[2 select 2
bindkey ^[3 select 3
bindkey ^[4 select 4
bindkey ^[5 select 5
bindkey ^[6 select 6
bindkey ^[7 select 7
bindkey ^[8 select 8
bindkey ^[9 select 9
bindkey ^[T screen
termcapinfo * 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007'
defhstatus "screen ^E (^Et) | $USER@^EH"
caption always "%{=b dw}%{=b dw}[ %{-b dc}%h%{=b dw} ] [ %= %?%{-b
dc}%-Lw%?%{+b dk}(%{+b dw}%n:%t%{+b dk})%?(%u)%?%{-b dw}%?%{-b
dc}%+Lw%? %{=b dk}%{=b dw}][%{-b dw} %1`%{=b dw} ]"

My terminal type:

$ echo $TERM
screen.xterm-256color

This is from the ncurses-base-6.2-3.20200222.fc33.noarch package.

Any ideas are greatly appreciated.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux