Re: Mutt on Macbook

2009-01-03 Thread Brendan Cully
On Friday, 19 December 2008 at 16:02, Brendan Cully wrote:
> On Friday, 19 December 2008 at 18:56, Joseph wrote:
> > Getting started with a Mac and being spoiled with Debian,
> > 
> > I tried Macports to get mutt.
> > 
> > But I got an old version.
> > 
> > How do I get a current copy, and how do I stay current on it?
> > 
> > ( I still use Debian as well and like it very much. )
> 
> I maintain the fink package. fink has apt, like debian. And like
> debian, "unstable" really isn't. I'd recommend fink, with the todai
> apt repository.

By the way, one big advantage fink has over macports is a binary
repository. To your /sw/etc/apt/sources.list file, add

deb http://fink.sodan.ecc.u-tokyo.ac.jp/apt/10.5 unstable main crypto

and you can use apt-get to install prebuilt packages, just like in
debian or ubuntu. To the best of my knowledge, macports requires you
to compile your own versions of each package you use. This can often
take longer than you think, because building a package can produce a
huge chain of recursive dependencies. (Building from source is at
least as slow in fink, but only if you don't use the todai repository
above).

I've used both fink and macports (more fink though), and I don't think
the differences are all that striking otherwise. Macports has a nice
variant syntax, whereas fink just compiles the kitchen sink into each
package. On the other hand, I do like the debian package machinery
that underlies fink, and I _love_ having a binary distribution
available.


Re: Mutt on Macbook

2008-12-24 Thread Joseph
On 12/23/08, Kyle Wheeler wrote:
> On Monday, December 22 at 11:47 AM, quoth Joseph:
> >Ah, that is looking/sounding better.
> >
> >Now, if I can figure out what string should be sent.
> >
> >It lets me control the scroll bar or send a string.
> 
> The string you want is the one listed for shift-home/shift-end/etc. 
> Apple just switched shift-home and home (and the same with the 
> others).
> 
> ~Kyle

Thanks Kyle, that is what I needed.

So on the 13.3 macbook, you press Shift+FN+RightArrow to get a END sent
to your ssh/mutt or whatever terminal.

There is another sort of END too, and that is FN+RightArrow, but this
works different in different windows.

Likely this would work on iTerm as well. Maybe someone can confirm.


-- 
respectfully,
Joseph



signature.asc
Description: Digital signature


Re: Mutt on Macbook

2008-12-23 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, December 22 at 11:47 AM, quoth Joseph:
>Ah, that is looking/sounding better.
>
>Now, if I can figure out what string should be sent.
>
>It lets me control the scroll bar or send a string.

The string you want is the one listed for shift-home/shift-end/etc. 
Apple just switched shift-home and home (and the same with the 
others).

~Kyle
- -- 
He who joyfully marches in rank and file has already earned my 
contempt. He has been given a large brain by mistake, since for him 
the spinal cord would suffice.
-- Albert Einstein
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iD8DBQFJUZXPBkIOoMqOI14RAqtAAJwK4P8LMOeBWQ55f0guLov8Udf9rgCg4p8X
FSTevWun//ud3K3yUzQD0fM=
=onjB
-END PGP SIGNATURE-


Re: Mutt on Macbook

2008-12-23 Thread Cameron Simpson
On 23Dec2008 02:46, Greg Darke  wrote:
| On Mon, Dec 22, 2008 at 06:15:43AM -0500, Joseph wrote:
| > What I would like is the real home/end keys. The Fn+left/right make the
| > window go to the bottom or top via its local buffer.
| > 
| > But say viewing an email in mutt that is long, you can't pgdn/pgup or
| > get to the bottom of the message by pressing END as you can normally.
| > 
| > Is there a way to do this with the Macbook/13.3 laptop?
| 
| I have found that iTerm (http://iterm.sourceforge.net/download.shtml,
| and grab the CVS build) has better terminal emulation than the build in
| Terminal.app.

I run iTerm too. It has a bunch of nice features including the recent
"blur" mode for its transparency which makes underlying stuff less
distracting.

There doesn't seem to be fine grained keystroke control though.
And it feels a little "slower" than Terminal.

Cheers,
-- 
Cameron Simpson  DoD#743
http://www.cskk.ezoshosting.com/cs/


Re: Mutt on Macbook

2008-12-22 Thread Joseph
On 12/22/08, Greg Darke wrote:
> On Mon, Dec 22, 2008 at 06:15:43AM -0500, Joseph wrote:
> > What I would like is the real home/end keys. The Fn+left/right make the
> > window go to the bottom or top via its local buffer.
> > 
> > But say viewing an email in mutt that is long, you can't pgdn/pgup or
> > get to the bottom of the message by pressing END as you can normally.
> > 
> > Is there a way to do this with the Macbook/13.3 laptop?
> 
> I have found that iTerm (http://iterm.sourceforge.net/download.shtml,
> and grab the CVS build) has better terminal emulation than the build in
> Terminal.app.

I tested this but it does not fix the key problem...

-- 
respectfully,
Joseph



signature.asc
Description: Digital signature


Re: Mutt on Macbook

2008-12-22 Thread Joseph
On 12/22/08, Kyle Wheeler wrote:
> On Monday, December 22 at 06:15 AM, quoth Joseph:
> >> The arrow keys on the bottom right on you keyboard; for home/end 
> >> you have to press Fn+left/right (Fn -> bottom left of keyboard).
> >
> > What I would like is the real home/end keys. The Fn+left/right make the 
> > window go to the bottom or top via its local buffer.
> 
> Ahhh, you're using Apple Terminal. All you need to do to get those to 
> behave in a more unix-ey way is to change your terminal settings. For 
> example, on OS X 10.4, under the Terminal menu, you select "Window 
> Settings...". In the dialog box that comes up, select "Keyboard" from 
> the drop-down menu at the top, and from there you can change what the 
> home/end/pageup/pagedown keys do. In OS X 10.5 you can do the same 
> thing, but they rearranged how the preferences work. I don't have a 
> 10.5 machine handy, but I use them regularly, and I've done the same 
> thing to them - you'll just have to poke around.
> 
> Anyway, by default, like you say, Apple chose to make the 
> home/end/etc. keys work in the Terminal the way they work in other 
> applications: they manipulate the scroll bar. But it's relatively easy 
> to change them; it's just a preference setting in the Terminal 
> program.

Ah, that is looking/sounding better.

Now, if I can figure out what string should be sent.

It lets me control the scroll bar or send a string.

-- 
respectfully,
Joseph



signature.asc
Description: Digital signature


Re: Mutt on Macbook

2008-12-22 Thread Kyle Wheeler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, December 22 at 06:15 AM, quoth Joseph:
>> The arrow keys on the bottom right on you keyboard; for home/end 
>> you have to press Fn+left/right (Fn -> bottom left of keyboard).
>
> What I would like is the real home/end keys. The Fn+left/right make the 
> window go to the bottom or top via its local buffer.

Ahhh, you're using Apple Terminal. All you need to do to get those to 
behave in a more unix-ey way is to change your terminal settings. For 
example, on OS X 10.4, under the Terminal menu, you select "Window 
Settings...". In the dialog box that comes up, select "Keyboard" from 
the drop-down menu at the top, and from there you can change what the 
home/end/pageup/pagedown keys do. In OS X 10.5 you can do the same 
thing, but they rearranged how the preferences work. I don't have a 
10.5 machine handy, but I use them regularly, and I've done the same 
thing to them - you'll just have to poke around.

Anyway, by default, like you say, Apple chose to make the 
home/end/etc. keys work in the Terminal the way they work in other 
applications: they manipulate the scroll bar. But it's relatively easy 
to change them; it's just a preference setting in the Terminal 
program.

~Kyle
- -- 
Just because you do not take an interest in politics doesn't mean 
politics won't take an interest in you.
   -- Pericles (430 BC)
-BEGIN PGP SIGNATURE-
Comment: Thank you for using encryption!

iEYEARECAAYFAklPvqUACgkQBkIOoMqOI151UwCdGYdZ7M3WWdPbfcCbFBpyZBsN
YT8An2PAmVAKUY48woZ3J7o2G98SQ/D0
=mMwy
-END PGP SIGNATURE-


Re: Mutt on Macbook

2008-12-22 Thread Greg Darke
On Mon, Dec 22, 2008 at 06:15:43AM -0500, Joseph wrote:
> What I would like is the real home/end keys. The Fn+left/right make the
> window go to the bottom or top via its local buffer.
> 
> But say viewing an email in mutt that is long, you can't pgdn/pgup or
> get to the bottom of the message by pressing END as you can normally.
> 
> Is there a way to do this with the Macbook/13.3 laptop?

I have found that iTerm (http://iterm.sourceforge.net/download.shtml,
and grab the CVS build) has better terminal emulation than the build in
Terminal.app.

-- 
Greg Darke


pgpKyMjQmh323.pgp
Description: PGP signature


Re: Mutt on Macbook

2008-12-22 Thread Joseph
On 12/20/08, Christian Ebert wrote:
> * Joseph on Saturday, December 20, 2008 at 08:10:39 -0500
> > Also, how does one get the end, home, page+up, page+down keys on a
> > macbook that does not have those keys?
> 
> The arrow keys on the bottom right on you keyboard; for home/end
> you have to press Fn+left/right (Fn -> bottom left of keyboard).

What I would like is the real home/end keys. The Fn+left/right make the
window go to the bottom or top via its local buffer.

But say viewing an email in mutt that is long, you can't pgdn/pgup or
get to the bottom of the message by pressing END as you can normally.

Is there a way to do this with the Macbook/13.3 laptop?


-- 
respectfully,
Joseph



signature.asc
Description: Digital signature


Re: Mutt on Macbook

2008-12-21 Thread Marc Vaillant
On Sat, Dec 20, 2008 at 08:10:39AM -0500, Joseph wrote:
> On 12/19/08, Marc Vaillant wrote:
> > On Fri, Dec 19, 2008 at 06:56:38PM -0500, Joseph wrote:
> > > Getting started with a Mac and being spoiled with Debian,
> > > 
> > > I tried Macports to get mutt.
> > > 
> > > But I got an old version.
> > > 
> > > How do I get a current copy, and how do I stay current on it?
> > > 
> > 
> > 
> > port install mutt-devel
> > 
> > That will get you 1.5.18
> > 
> > In general, I think that you will find that macports packages are better
> > maintained than fink.
> 
> Great, thanks for the answers. In case someone else is learning, it
> seems you need to do sudo port install mutt-devel +imap +headercache +ssl
> 
> Note the spaces needed.

Sorry, typo.  Space should only be needed between the package name and
the variants:

sudo port install mutt-devel +imap+headercache+ssl

Marc


Re: Mutt on Macbook

2008-12-20 Thread Christian Ebert
* Joseph on Saturday, December 20, 2008 at 08:10:39 -0500
> Also, how does one get the end, home, page+up, page+down keys on a
> macbook that does not have those keys?

The arrow keys on the bottom right on you keyboard; for home/end
you have to press Fn+left/right (Fn -> bottom left of keyboard).

> Changing the emulation from xterm-colors to xterm got the F2 etc keys
> working.

I have checked System Preferences->Keyboard & Mouse->Keyboard->
Use all F1, F2, etc. keys as standard function keys

Otherwise press Fn-F1 etc.

c
-- 
\black\trash movie_C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western
-->> http://www.blacktrash.org/underdogma/ccc.html
-->> http://www.blacktrash.org/underdogma/ccc-en.html


Re: Mutt on Macbook

2008-12-20 Thread Joseph
On 12/19/08, Marc Vaillant wrote:
> On Fri, Dec 19, 2008 at 06:56:38PM -0500, Joseph wrote:
> > Getting started with a Mac and being spoiled with Debian,
> > 
> > I tried Macports to get mutt.
> > 
> > But I got an old version.
> > 
> > How do I get a current copy, and how do I stay current on it?
> > 
> 
> 
> port install mutt-devel
> 
> That will get you 1.5.18
> 
> In general, I think that you will find that macports packages are better
> maintained than fink.

Great, thanks for the answers. In case someone else is learning, it
seems you need to do sudo port install mutt-devel +imap +headercache +ssl

Note the spaces needed.

Also, how does one get the end, home, page+up, page+down keys on a
macbook that does not have those keys?

Changing the emulation from xterm-colors to xterm got the F2 etc keys
working.

Thanks.
-- 
respectfully,
Joseph



signature.asc
Description: Digital signature


Re: Mutt on Macbook

2008-12-19 Thread Sahil Tandon
Marc Vaillant wrote:

> On Fri, Dec 19, 2008 at 06:56:38PM -0500, Joseph wrote:
> > Getting started with a Mac and being spoiled with Debian,
> > 
> > I tried Macports to get mutt.
> > 
> > But I got an old version.
> > 
> > How do I get a current copy, and how do I stay current on it?
> > 
> 
> port install mutt-devel
> 
> That will get you 1.5.18
> 
> In general, I think that you will find that macports packages are better
> maintained than fink.

+1 for this advice.  MacPorts are, in my experience, far superior to
Fink.

-- 
Sahil Tandon 


Re: Mutt on Macbook

2008-12-19 Thread Marc Vaillant
On Fri, Dec 19, 2008 at 06:56:38PM -0500, Joseph wrote:
> Getting started with a Mac and being spoiled with Debian,
> 
> I tried Macports to get mutt.
> 
> But I got an old version.
> 
> How do I get a current copy, and how do I stay current on it?
> 


port install mutt-devel

That will get you 1.5.18

In general, I think that you will find that macports packages are better
maintained than fink.


To see the available add on features

port variants mutt-devel 

which gives:

idn: Internationalized Domain Name support
pop: POP support
imap: IMAP support
ssl: Secure Sockets Layer support
sasl: Simple Authentication and Security Layer support
debug: Debugging support
gnuregex: Use the GNU regular expression library
compress: Compressed folders
headercache: Enable header caching (requires gdbm or qdbm)
qdbm: Use QDBM database
gdbm: Use GNU dbm database
db4: Use Berkeley DB database
nntp: NNTP support
deepif: Allow nested if-else sequences in strings
date_conditional: Allow the format of dates in the index to vary
based on how recent the message is
xlabel: Custom message-tagging - X-Label:
smtp: Include internal SMTP relay support
trash: Add a Trash folder
sidebar: Add a sidebar with a list of folders
gpgme: Enable GPGME crypto support


So for example to add imap, headercache,  and ssl support do

port install mutt-devel+imap+headercache+ssl

Best,
Marc



Re: Mutt on Macbook

2008-12-19 Thread Brendan Cully
On Friday, 19 December 2008 at 18:56, Joseph wrote:
> Getting started with a Mac and being spoiled with Debian,
> 
> I tried Macports to get mutt.
> 
> But I got an old version.
> 
> How do I get a current copy, and how do I stay current on it?
> 
> ( I still use Debian as well and like it very much. )

I maintain the fink package. fink has apt, like debian. And like
debian, "unstable" really isn't. I'd recommend fink, with the todai
apt repository.



Mutt on Macbook

2008-12-19 Thread Joseph
Getting started with a Mac and being spoiled with Debian,

I tried Macports to get mutt.

But I got an old version.

How do I get a current copy, and how do I stay current on it?

( I still use Debian as well and like it very much. )

-- 
respectfully,
Joseph


signature.asc
Description: Digital signature