Open zeltak opened 8 years ago
Wanted to let you know I am having the same issue. Running iTerm2, tmux 2.3, latest tmux-urlview, and latest extract_url on OSX 10.11.4
Me too :( @jbnicolai @raboof ?
Have you got Curses::UI installed? It needs to be installed in order for perl-extract-url to produce its Ncurses output. 'perl-curses-ui' in arch linux repo.
And, make sure to set the $BROWSER. If not, set the config in (~/.extract_urlview) minimum with command to be pass to the url, e.g. COMMAND firefox
. Check extract_url.pl webpage for more info.
-Regards-
the above didn't work for me. i'm on elementaryos loki
with linuxbrew
installed perl
and extract_url
and tmux 2.4
I am also using tmux 2.4. No problem with that.
What happen when you do this in your terminal?
touch url.txt
echo www.github.com >> url.txt
extract_url url.txt
You should see a window open with that url to choose. If yes... then nothing wrong with your extract_url config. Should be something else.
Hopefully this will help someone else... I was having the same problem, so I tried to install Curses:UI like @sidzwans pointed out (thanks btw). But, I got a compilation error "ncurses.h: No such file or directory". I'm on Ubuntu 16.04, so I fixed it with sudo apt-get install libncurses5-dev
and ran sudo cpan Curses:UI
again.
I was facing this issue on macOS 10.14. After some debugging, I figured that I had this in my .tmux.conf
set -g default-terminal "tmux-256color"
This basically sets TERM env variable to this value. For some reason, urlview and extract_url, both fail with this value. Changing the variable to screen-256color
fixed this issue. Check if TERM
env var is set to some problematic value.
2 years - and I'm gonna post 😅 - I have this today with MacOS + Alacritty + Tmux. My $TERM
value is xterm-256color
and all other applications are working okay (needed for italics support on macOS 12.1). I can call urlview /tmp/tmux-buffer
from a normal shell and everything works, but it fails with split-window
. Any ideas denvercoder9?
Debugged this - used set remain-on-exit on
and found it had the exit code of 127 and urlview couldn't be found (Homebrew install) by tmux. Used the full path and everything worked. In case anyone runs into this issue!
I'm on MacOS + iTerm2 + tmux. In my case, I needed to create a ~/.urlview
with the contents COMMAND open -a firefox %s
before this would work.
Hi
i have latest tmux and tmux-urlview on arch linux with perl-extract-url installed.
when i press prefix+u i see the bottom tmux-urlview buffer opening for a second and then gone..any clue?
best
Z