home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / mail / mailhand / metamail.z / metamail / fonts / mailto-hebrew.source < prev    next >
Encoding:
Text File  |  1992-02-20  |  523 b   |  25 lines

  1. #!/bin/csh -f
  2. set MYFONTDIR=/u/nsb/lib/fonts
  3.  
  4. if ($?MM_CHARSET) then
  5.     if ($MM_CHARSET == iso-8859-8) then
  6.     mailto $*
  7.     exit
  8.     endif
  9. endif
  10.  
  11. if (! -d $MYFONTDIR) then
  12.     echo The Hebrew font has not been installed properly on this machine.
  13.     exit
  14. endif
  15.  
  16. if (! $?DISPLAY) then
  17.     echo Hebrew mail may only be composed under X11 or on a Hebrew terminal.
  18.     exit 
  19. endif
  20. xset +fp $MYFONTDIR
  21. echo Running xterm to compose mail in iso-8859-8, please wait...
  22.  
  23. setenv MM_CHARSET iso-8859-8
  24. xterm -fn iso-8859-8 -e mailto $*
  25.