-
Notifications
You must be signed in to change notification settings - Fork 510
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yank.sh updated for FreeBSD #5
base: master
Are you sure you want to change the base?
yank.sh updated for FreeBSD #5
Conversation
…ate format Day Month. duckduckgo instead of google. Original tmux wheel scrol speed of 5 lines. C-a a for 'jump-to-line-start'.
…-config into non-tmux.conf-fixes
Given that I guess, something simple like this would work:
Could you please check and tell if |
In any case, have a look here to see what we can do with netstat: https://www.freebsd.org/cgi/man.cgi?query=netstat The output from |
Ok, I've prepared new revision using I haven't merged your pull request, because looks like it includes a bunch of irrelevant commits, so I just pick up your changes as a patch. The commit is 95efd54, it's already in For Linux and FreeBSD I use Those small differences between platforms are very painful indeed - feels like I'm adopting webapp for IE6. |
…use C-a is used to beginning of terminal command.
There is no
ss
natively on FreeBSD, but there issockstat
. This was making yank.sh fail. I have added another elif clause and a check for ss and sockstat presence, as yank.sh was failing. Also the usual replacement of #!/bin/bash with #!/usr/bin/env bash. Bear in mind that I use OSC52, and not xclip etc, as I do not use X11, only text mode, on remote servers. I have tested that elif clause using a different port to make sure it works, but I have not tested it with xclip. Mygrep -q
test simply checks if there is a listening port, I am not sure if you need to test for anything more—I see you are using a more complex expression than mine with| tail -n +2 | wc -l
, but I do not know why, as I cannot see what those two lines would contain.Feel free to combine lines 26-29—I did not want to change your code too much.
Many thanks for creating your yank.sh script.
PS. I would keep this pending till tmux-online-status PR has merged.