* Cameron Simpson <c...@zip.com.au> [111104 17:36]:
> On 04Nov2011 15:50, Tim Johnson <t...@akwebsoft.com> wrote:
> |  And from env.sh, I note the following:
> | : ${OS:=''}
> | case "`uname -sr`" in
> |   SunOS\ [56789].\*)  OS=solaris ;;
> |   SunOS\ \*)          OS=sunos ;;
> |   Linux\ \*)          OS=linux ;;
> | esac
> 
> I'm using darwin. But please update your env.sh to the attached env.sh,
> which I have commited to the css package but not yet pushed. It does
> something more sane, and emits "darwin" as it should.
  Done. I've installed the css package. Added the invocation of
  env.sh to to .profile. Restarted mutt. With environment :).
  Below is result of mutt -> !env
######################################################################
SITENAME=johnson.com
MANPATH=/usr/man:/usr/share/man:/opt/css/man
TERM_PROGRAM=iTerm.app
HOSTNAME=linus.johnson.com
SHELL=/bin/bash
TERM=xterm-256color
HOST=linus
TMPDIR=/var/folders/rj/6r6lch2d1mqb6p8k7s_ydrh80000gn/T/
Apple_PubSub_Socket_Render=/tmp/launch-L03KVA/Render
MAILDOMAIN=johnson.com
PERL5LIB=/opt/css/lib/perl
OS=darwin
USER=tim
COMMAND_MODE=unix2003
SSH_AUTH_SOCK=/tmp/launch-jjTwbP/Listeners
__CF_USER_TEXT_ENCODING=0x1F5:0:0
PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/css/bin:/sbin:/usr/sbin
_=/usr/bin/env
PWD=/Users/tim
LANG=en_US.UTF-8
VIM_APP_DIR=/Applications/MacVim-snapshot-62/MacVim.app/Contents/MacOS
ITERM_PROFILE=MUTT
HOME=/Users/tim
COLORFGBG=0;15
SHLVL=2
ITERM_SESSION_ID=w0t4p0
HOSTDOMAIN=johnson.com
LOGNAME=tim
PYTHONPATH=/opt/css/lib/python
CLASSPATH=/usr/lib/jre/lib:/opt/css/lib/java/au.com.zip.cs.jar
EMAIL=t...@johnson.com
DISPLAY=/tmp/launch-guDDs2/org.x:0
SECURITYSESSIONID=186a5
######################################################################
And when I select an attached .jpg file, I get this
(as well as the image, yay!)
Press any key to continue...
/var/folders/rj/6r6lch2d1mqb6p8k7s_ydrh80000gn/T/muttAUDN80.: JPEG
image data, JFIF standard 1.01

/usr/local/bin/apphelper: view args=[xv]
+ exec xv
remap: /Users/tim/rc/remap: No such file or directory
Save [/Users/tim/dl/muttAUDN80.]?
######################################################################
And what is the use for rc/remap?
######################################################################

Good stuff!

-- 
Tim 
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com

Reply via email to