hachyderm.io is one of the many independent Mastodon servers you can use to participate in the fediverse.
Hachyderm is a safe space, LGBTQIA+ and BLM, primarily comprised of tech industry professionals world wide. Note that many non-user account types have restrictions - please see our About page.

Administered by:

Server stats:

8.9K
active users

what some problems you've run into in the terminal with copy and paste? so far I have:

- pasting a URL with a `&` (or other character) in it without quotes
- pasting in many commands and one in the middle fails
- accidentally leaving in the '$'
- pasting in something with Fancy Quotes instead of normal quotes
- pasting a bash incantation into fish
- not knowing the keyboard shortcut to paste in a new terminal
- how Linux has two different clipboards

Ben Meier

@b0rk depending on the terminal, multiline text can be _unpredictable_

@b0rk @benmeier_ I've had text copied out from the terminal *sometimes* have the line wrapping from the terminal copied over with hard carriage returns and sometimes..not

@arrjay @b0rk @benmeier_ I also have this issue with tmux/screen. Even worse when you're using it from Mac to shell into something else. I had to rely on iterm2's tmux integration to get some sanity back.

@nashenas @b0rk @benmeier_ yeah, as a konsole user, I *think* it tries to behave differently for it's own paging vs tmux but it's never been super clear, I've often resorted to just piping what I need in temp files and using an out-of-terminal editor.

@arrjay @b0rk yeah, outside of a HEREDOC, it can be very prompt- and environment dependent whether new lines are kept, escaped, or trigger execution. And this can sometimes be odd when going through proxies, KVM, or other tunneled layers.

@benmeier_ @b0rk ooh yeah, especially when working with a serial port that is convinced the terminal size is smaller than the window - that one makes me really miss the "block copy" style that cmd prompts have