Anybody using xclip successfully?

2002-05-12 Thread Marco Fioretti
Hello, some weeks ago there was a discussion here about how to make URLs clickable from within mutt, and somebody suggested the xclip program. I have installed it, and added ti .muttrc the macro: macro pager \cn "!mozilla `xclip -o` &\n" Now when I highlight some URL with the left butt

Re: Anybody using xclip successfully?

2002-05-12 Thread Joel Hammer
I use xclick, but not just with mutt. I have a netscape icon on my control panel with the following executable property: /usr/local/bin/DisplayHTML The program DisplayHTML is as follows: #!/bin/bash a=`ps ax | grep mozilla | grep -v grep` [ -n "$a" ] && { netscape '-remote "openURL(

Re: Anybody using xclip successfully?

2002-05-12 Thread Joel Hammer
Opps. In my first post I sent the wrong version of my DisplayHTML script. Sorry. Joel #!/bin/bash a=`ps ax | grep mozilla | grep -v grep` # [ "$a" ] || a=`ps ax | grep netscape | grep -v grep` [ -n "$a" ] && { /usr/local/netscape/netscape -remote "openURL(`xclip -o`)" & } [ -z "

Shell script help for Mutt and script newbie.

2002-05-12 Thread Brian Durant
Hi again, I am trying to write two, two line shell scripts in connection with Mutt, iSpell and "newsbody", which is part of  "spellutils-0.7". I would like to place them in /usr/local/bin. - Script 1. For spell-checking English mails: - - #!/bin/sh - newsbody -hqs -n $2 -p ispell -- -x %f When

Re: Shell script help for Mutt and script newbie.

2002-05-12 Thread Joel Hammer
I don't know what is causing this error. I just cut and pasted your script into vi and it saved without trouble. What command are you using to save the script? Have you tried to remove some offending trailing charcters (invisible) from the end of your file? For example, go to the end of your pf li

Re: Shell script help for Mutt and script newbie.

2002-05-12 Thread Maximilian Szengel
On Sun, May 12, 2002 at 08:05:53PM +0700, Brian Durant wrote: > Hi again, Hi, > I am trying to write two, two line shell scripts in connection with Mutt, > iSpell and "newsbody", which is part of  "spellutils-0.7". I would like to > place them in /usr/local/bin. Try http://home.tu-clausthal.

Re: Shell script help for Mutt and script newbie.

2002-05-12 Thread Joel Hammer
That file name worked for me. To copy into vi, there are two ways. If you have your mouse working, just highlight the text with the mouse, go to vi, go into the insert mode, and right click or double click the stuff in. If no mouse, then, save your text to a file, go to vi: :r file If you are

Re: Shell script help for Mutt and script newbie (SOLVED).

2002-05-12 Thread Brian Durant
On Sunday 12 May 2002 20:45, Joel Hammer wrote: - That file name worked for me. - - To copy into vi, there are two ways. - - If you have your mouse working, just highlight the text with the mouse, - go to vi, go into the insert mode, and right click or double click the - stuff in. - - If no mouse,

index color wierdness

2002-05-12 Thread Mike Erickson
THE PROBLEM: When I open a folder, often the message just below my cursor will be orange. When I scroll down, they turn back to yellow (like all the other new messages), but when I scroll back up, every message I pass turns orange again. I have trimmed my index color settings to just those above

Re: Anybody using xclip successfully?

2002-05-12 Thread Marco Fioretti
Joel, thanks for the script. I put in .muttrc this macro macro pager \cn "!/home/marco/bin/start_browser.sh\n" 'open URL' Now netscape starts every time with the last selected URL, but I get this error : sh: -c: line 1: unexpected EOF while looking for matching `"' sh: -c: line 2: syntax erro

Re: Anybody using xclip successfully?

2002-05-12 Thread Joel Hammer
I don't know which script you are referring to. If you pasted my script into start_browser.sh, why don't you send me start_browser.sh and I'll look at it and try running it on my box. And, you don't need to limit this shell to run just from mutt. I run this script from any application running in X

Re: index color wierdness

2002-05-12 Thread Martin Karlsson
* Mike Erickson <[EMAIL PROTECTED]> [2002-05-12 11.53 -0700]: > > THE PROBLEM: > > When I open a folder, often the message just below my cursor will be > orange. When I scroll down, they turn back to yellow (like all the other > new messages), but when I scroll back up, every message I pass turn

Re: Anybody using xclip successfully?

2002-05-12 Thread Cameron Simpson
On 08:49 12 May 2002, Joel Hammer <[EMAIL PROTECTED]> wrote: | I use xclick, but not just with mutt. I have a netscape icon on my control | panel with the following executable property: | | /usr/local/bin/DisplayHTML | | The program DisplayHTML is as follows: | | #!/bin/bash | a=`ps ax | grep m

How do I move a mail message from one folder to another?

2002-05-12 Thread s4565
Hi How can I move a message from one folder to another? Cheers Tony

Re: How do I move a mail message from one folder to another?

2002-05-12 Thread Patrick
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [05-12-02 20:07]: > Hi > > How can I move a message from one folder to another? RTFM, it's in there more than one time. I would search for move, copy, save, etc. -- Patrick Shanahan Registered Linux User #207535 @ http://counter.li.org

Re: How do I move a mail message from one folder to another?

2002-05-12 Thread s4565
> > Hi > > > > How can I move a message from one folder to another? > > RTFM, it's in there more than one time. I would search for move, copy, > save, etc. Is there a way to move a number of messages at once from one folder to another?

Re: How do I move a mail message from one folder to another?

2002-05-12 Thread Ken Weingold
On Mon, May 13, 2002, [EMAIL PROTECTED] wrote: > > > Hi > > > > > > How can I move a message from one folder to another? > > > > RTFM, it's in there more than one time. I would search for move, copy, > > save, etc. > > Is there a way to move a number of messages at once from one folder to anot

Re: Anybody using xclip successfully?

2002-05-12 Thread Joel Hammer
Hmmm > Indeed - for one thing it's guess wrong on multiuser machines. You are correct. I did change it to ps axu but then the names got truncated and nothing was found! It turns out not to matter much. Even if another user is logged on (this is a multiuser machine) the netscape script seems

bind ^H to backward-char in editor

2002-05-12 Thread Jim Osborn
I want to use Control-H to move the cursor to the left in Mutt's line editor, as I have it in all my other tools. Since the default action for ^H in the editor is backspace, I tried bind editor \ch noop bind editor \ch backward-char to no avail---still get backspace, not backward-char. Then I