<<< Date Index >>>     <<< Thread Index >>>

Re: Reading mail from CLI with Mutt



On Fri, Aug 11, 2006 at 01:39:24PM -0400, Kyle Wheeler wrote:
> Well, heck, if you're going to recommend doing it that way (i.e. a 
> method that requires intimate knowledge of IMAP), tell him to use a 
> good shell (e.g. bash) that can let him do the TCP connections 
> directly:
> 
>     echo '? LIST "" "*"' > /dev/tcp/host/port

$ echo '? LIST "" "*"' > /dev/tcp/localhost/143 
bash: /dev/tcp/localhost/143: No such file or directory
$ ls -l /dev/tcp
ls: /dev/tcp: No such file or directory
$ echo $SHELL
/bin/bash

If this works anywhere, it's extremely non-portable.

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

Attachment: pgpHEN5rnlWxb.pgp
Description: PGP signature