User Tools

Site Tools


playground:native_mail

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
playground:native_mail [2021/12/30 03:55] zilogplayground:native_mail [2021/12/30 04:21] zilog
Line 46: Line 46:
 # use for contacting SDF membership: # use for contacting SDF membership:
 alias sdfhelp 'SDF membership <membership@sdf.org>' alias sdfhelp 'SDF membership <membership@sdf.org>'
 +# a list of users, both local and remote:
 +alias wrkgrp sdfuser2 sdfuser3 rmtuser@remote.addr 'The Boss <boss@big.house>'
  
 ## set alt. editor(s) and pager; these will override ## set alt. editor(s) and pager; these will override
Line 109: Line 111:
  
 <file config ~sdfuser/bin/veditor> <file config ~sdfuser/bin/veditor>
-#!/bin/sh+#!/bin/sh -e
 # veditor - for using lynx(1) as VISUAL editor in mail(1) # veditor - for using lynx(1) as VISUAL editor in mail(1)
 # #
  
 { echo '<pre>' { echo '<pre>'
-  cat $* |egrep '^From: |^Date: |^Subject: |^To: ' |sort  +  cat $* |egrep -m4 '^From:|^Date:|^To:|^Subject:' 
-  echo '</pre>' +  cat $* |sed '1,/^$/d' 
-  echo +  echo '</pre>'  ;} |lynx -force_html -stdin
-  cat $* |sed '1,/^$/d' ;} |lynx -force_html -stdin+
  </file>  </file>
  
-To use current message just type ''v'' ; if in composition mode use ''~v''.+To use current message just type ''v'' ; if in composition mode use ''~v''.  It doesn't always look pretty but it's often enough for following a few links.