Re: extract_url is not found in /home/user/bin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On Thursday, July 21 at 08:39 PM, quoth Martin: >Hi, > >I've just tried extract_url and it seems really good. > >After I select an URL to view, mutt (in the terminal window) still wants me >to press a key to go back to mutt. > >I would like it to behave, that once i select an URL to view, I am >immediatelly back in mutt, without pressing any key. > >Any idea how to do that? Sounds like you have $wait_key set in your muttrc (it's set by default). Try adding the following to your muttrc: set wait_key=no ~Kyle - -- Almost everything about a human creature is ridiculous, except its ability to suffer bravely and die gallantly for whatever it loves and believes in. The validity of that belief, the appropriateness of that love, is irrelevant; it is the bravery and the gallantry that count. -- Robert A. Heinlein, Job: A Comedy of Justice -BEGIN PGP SIGNATURE- Comment: Thank you for using encryption! iQIcBAEBCAAGBQJONr//AAoJECuveozR/AWeMJ8QAJFtwWCW40JJLZXx2e3rwFbv XqAnenP5hoq9+rcSPrizC2mtinMiuGVn34oBilQtJ+Fr0AVQXn9ne8V2Khv4SKRz ztRhFJZ07HXHVA2H6dHB/xzbTlR//ZehSsd0o/5ItaqDgSHxpTix+1Om3feOxxnG acl4Nuamgox3uda7n84Q/MW68+NdGwcvwl4ztGcSf6io96RThGN/2gfdjAXkbgQB z6gem+GQ7L3UF7BfhufqSYWGuCgKbCHrrgEQN72eFnUwMI23AYSb0eevc+qoEm9i 4BMkZYxW05/FnuwWaGKWSNJnFyb2yFHrEPYwSAVxkSDudPQgeeBSTTv4sRuSHNjd RaUMwNkvTcp69Z7GtVYY++UoTMsNGHCuEDS5XzkUIx/X0IUDBDjxR2n7i5YEn6rU GGfzmUOtPAM+9BJKH6vFXjDga/j0AidUIuTZvyKdmMXo5ecGRbOqTWqusugsEWkC aQ/kXBOWIC7dyEPkk8exM6hfK7ZUWeq1hiUp1OvSPzboeSTm94QQgfuXRXjBgniy MK+fYrvD8eRPXix5mIB9c7uxx6Kw0KSHM+plWZNi+kmC3eFdRJrC8UIXcwBS/Cbx d4HUaTRf88VVNtsJf6I/PklZCoDX5oIJbimwqQoAtV6nIltnCqrOcan5jTh54CC9 8gcequlvWYIVCnBeGNHw =7UIx -END PGP SIGNATURE-
Re: extract_url is not found in /home/user/bin
On 21.07.11,20:39, Martin wrote: > Hi, > > I've just tried extract_url and it seems really good. > > After I select an URL to view, mutt (in the terminal window) still wants me > to press a key to go back to mutt. > > I would like it to behave, that once i select an URL to view, I am > immediatelly back in mutt, without pressing any key. > > Any idea how to do that? > Check if you have PERSISTENT in your ~/.extract_urlview file. If so remove it. Jostein
Re: extract_url is not found in /home/user/bin
Hi, I've just tried extract_url and it seems really good. After I select an URL to view, mutt (in the terminal window) still wants me to press a key to go back to mutt. I would like it to behave, that once i select an URL to view, I am immediatelly back in mutt, without pressing any key. Any idea how to do that? martin. On Sun, Jul 10, 2011 at 06:15:11PM +0200, Joost Kremers wrote: > On Sun, Jul 10, 2011 at 12:57:16PM -0300, Marcelo Luiz de Laia wrote: > > On Sun, 10 Jul 2011, Joost Kremers wrote: > > I'm sorry! I simple cast r end replay. Now I see that I need to cast L > > to replay to list. Sorry! > > no worries. ;-) > > > > How do you run mutt? If you start it from a terminal emulator, it should > > > see the > > > same PATH that you see when you do 'echo $PATH'... > > > > I start mutt from gnome menu item. > > then your problem is most likely that mutt sees a different PATH than you do > when you start a terminal emulator. > > if it bothers you that you need to have the full path to extract_url.pl in > muttrc, then you should find out how to set the PATH so that gnome sees it as > well (i can't help you there), or start mutt from a terminal window instead of > from the menu. if it doesn't bother you (and why would it? ;-) then that's a > perfectly fine solution. > >
Re: extract_url is not found in /home/user/bin
On Sun, Jul 10, 2011 at 12:57:16PM -0300, Marcelo Luiz de Laia wrote: > On Sun, 10 Jul 2011, Joost Kremers wrote: > I'm sorry! I simple cast r end replay. Now I see that I need to cast L > to replay to list. Sorry! no worries. ;-) > > How do you run mutt? If you start it from a terminal emulator, it should > > see the > > same PATH that you see when you do 'echo $PATH'... > > I start mutt from gnome menu item. then your problem is most likely that mutt sees a different PATH than you do when you start a terminal emulator. if it bothers you that you need to have the full path to extract_url.pl in muttrc, then you should find out how to set the PATH so that gnome sees it as well (i can't help you there), or start mutt from a terminal window instead of from the menu. if it doesn't bother you (and why would it? ;-) then that's a perfectly fine solution. -- Joost Kremers, PhD University of Göttingen Institute for German Philology Käte-Hamburger-Weg 3 37073 Göttingen, Germany
Re: extract_url is not found in /home/user/bin
On Sun, 10 Jul 2011, Joost Kremers wrote: > [NB: I'm redirecting to the mailing list again; I think the discussion is best > kept there.] I'm sorry! I simple cast r end replay. Now I see that I need to cast L to replay to list. Sorry! > > I am sure it is in the $PATH, but, I am unsure mutt sees my $PATH! > > How do you run mutt? If you start it from a terminal emulator, it should see > the > same PATH that you see when you do 'echo $PATH'... I start mutt from gnome menu item. > > :~$ extract_url.pl > > no input provided! > > :~$ > > what happens when you pipe it an email message? save a message to ~ or > something > and then do: > > $ cat message | extract_url :~$ :~$ cat 1310312826.3224_7.laia\:2\,S | extract_url.pl :~$ I see the same window I previous sent to the list. http://dl.dropbox.com/u/34009642/screen_01.png It worked fine! It is working fine. But, I need to do full path to extract_url.pl in muttrc. If I only do script name, mutt don't see my local bin. Thank you very much! Marcelo
Re: extract_url is not found in /home/user/bin
[NB: I'm redirecting to the mailing list again; I think the discussion is best kept there.] On Sat, Jul 09, 2011 at 01:44:34PM -0300, Marcelo Luiz de Laia wrote: > > are you sure it's in the PATH that mutt sees? > > I am sure it is in the $PATH, but, I am unsure mutt sees my $PATH! How do you run mutt? If you start it from a terminal emulator, it should see the same PATH that you see when you do 'echo $PATH'... > > can you run extract_url.pl from the command line? > > Yes! > > :~$ extract_url.pl > no input provided! > :~$ what happens when you pipe it an email message? save a message to ~ or something and then do: $ cat message | extract_url -- Joost Kremers Life has its moments
Re: extract_url is not found in /home/user/bin
On Sat, Jul 09, 2011 at 11:38:11AM -0300, Marcelo Laia wrote: > 2011/7/9 Jamie Paul Griffin : > > On Sat, Jul 09, 2011 at 08:48:08AM -0400, Patrick Shanahan wrote: > >> * Jostein Berntsen [07-09-11 07:13]: > :~$ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/games:/home/user/bin > :~$ are you sure it's in the PATH that mutt sees? > in a shell, if I type "extract" abd press tab, I got: > :~$ extract > extractbb extractres extract_url.pl > :~$ extract can you run extract_url.pl from the command line? > $ ls -al | grep 'extr*' you can also type 'ls -al extr*' ;-) -- Joost Kremers, PhD University of Göttingen Institute for German Philology Käte-Hamburger-Weg 3 37073 Göttingen, Germany
Re: extract_url is not found in /home/user/bin
obviously replacing 'firefox' with the browser you want to use
Re: extract_url is not found in /home/user/bin
On Sat, Jul 09, 2011 at 11:38:11AM -0300, Marcelo Laia wrote: > I already try 'COMMAND iceweasel -remote "openURL(%s,new-window)"' and > nothing was opened! > > Have you any tips? I just have : COMMAND /usr/bin/firefox %s & in my ~/.extract_urlview file. You could try that. jamie
Re: extract_url is not found in /home/user/bin
2011/7/9 Jamie Paul Griffin : > On Sat, Jul 09, 2011 at 08:48:08AM -0400, Patrick Shanahan wrote: >> * Jostein Berntsen [07-09-11 07:13]: >> > >> > Try adding "/home/user/bin/extract_url.pl" in the macro instead of just >> > the script name. >> > >> > Also double-check that the script is in the local bin folder with: >> > >> > "ls ~/bin | grep ^extr" >> >> possibly "/home/user/bin" is not in $PATH > > check to make sure you have it executable. > :~$ ls ~/bin | grep ^extr extract_url.pl :~$ :~$ locate extract_url.pl /home/user/bin/extract_url.pl :~$ :~$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/games:/home/user/bin :~$ in a shell, if I type "extract" abd press tab, I got: :~$ extract extractbb extractres extract_url.pl :~$ extract $ ls -al | grep 'extr*' -rwx--x--x 1 user user26147 Mai 26 07:19 extract_url.pl :~/bin$ If I adding "/home/user/bin/extract_url.pl" in the macro instead of the script name it work partially. I got this windows http://dl.dropbox.com/u/34009642/screen_01.png When I choose OK, any think is did and I got this message on the shell windows: Press any key to continue I don't got that url opened! My ~/.extract_urlview is like this: SHORTCUT COMMAND /usr/bin/iceweasel -remote "openURL(%s,new-window)" #HTML_TAGS a,iframe,link HTML_TAGS a, applet, area, blockquote, embed, form, frame, iframe, input, ins, isindex, head, layer, link, object, q, script, and xmp ALTSELECT Q DEFAULT_VIEW context I already try 'COMMAND iceweasel -remote "openURL(%s,new-window)"' and nothing was opened! Have you any tips? Thank you very much! -- Marcelo Luiz de Laia
Re: extract_url is not found in /home/user/bin
On Sat, Jul 09, 2011 at 08:48:08AM -0400, Patrick Shanahan wrote: > * Jostein Berntsen [07-09-11 07:13]: > > > > Try adding "/home/user/bin/extract_url.pl" in the macro instead of just > > the script name. > > > > Also double-check that the script is in the local bin folder with: > > > > "ls ~/bin | grep ^extr" > > possibly "/home/user/bin" is not in $PATH check to make sure you have it executable.
Re: extract_url is not found in /home/user/bin
* Jostein Berntsen [07-09-11 07:13]: > > Try adding "/home/user/bin/extract_url.pl" in the macro instead of just > the script name. > > Also double-check that the script is in the local bin folder with: > > "ls ~/bin | grep ^extr" possibly "/home/user/bin" is not in $PATH -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://counter.li.org
Re: extract_url is not found in /home/user/bin
On 09.07.11,07:59, Marcelo Luiz de Laia wrote: > Hi, > > I try to use extract_url.pl, but get an error on mutt. > > :~$ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/games:/home/user/bin > :~$ > > :~$ locate extract_url.pl > /home/user/bin/extract_url.pl > :~$ > > /home/user/.mutt/muttrc > macro index,pager \cb " set my_pdsave=\$pipe_decode\ > unset pipe_decode\ > extract_url.pl\ > set pipe_decode=\$my_pdsave" "get URLs" > > When I choose ctrl+b, an error apear: > > extract_url.pl is not found > press any key to continue > > Try adding "/home/user/bin/extract_url.pl" in the macro instead of just the script name. Also double-check that the script is in the local bin folder with: "ls ~/bin | grep ^extr" Jostein$
extract_url is not found in /home/user/bin
Hi, I try to use extract_url.pl, but get an error on mutt. :~$ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/games:/home/user/bin :~$ :~$ locate extract_url.pl /home/user/bin/extract_url.pl :~$ /home/user/.mutt/muttrc macro index,pager \cb " set my_pdsave=\$pipe_decode\ unset pipe_decode\ extract_url.pl\ set pipe_decode=\$my_pdsave" "get URLs" When I choose ctrl+b, an error apear: extract_url.pl is not found press any key to continue Are there any mistake here? Thank you very much! -- O___ - Marcelo Luiz de Laia c/ /'_ - Diamantina (*) \(*)- Minas Gerais ~- Brazil ^- Linux user number 487797