--Pod_of_Dolphins_452_000 Content-Type: TEXT/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-MD5: vO8nkWnsXcmGP5Orih0J0Q== Original posting: > I get this message when trying to open a PDF-attachment from DtMail (S= olaris 2.6/7/8): > =20 > error opening document: No such file or directory > =20 > Acroread 4.05 for Solaris. > =20 > If I save the PDF attachment to disk and launch acroread from the comm= and line, everything > works fine... Solution: - You need to create a dtaction linked to PDF file type Put the attached file in $HOME/.dt/types/ and restart your workspace mana= ger Make sure acroread is in your path and not a symbolic link. - http://css.sfu.ca/nsg/cssnetdocs/faq/email.html#E4 - Check the contents of the applicable mailcap and mime.types files - Use pine or mutt instead! "strings /usr/dt/bin/dtmail" indicates that dtmail is relying on a compil= ed-in list of=20 MIME types. That list includes Application/PostScript but nothing about P= DF. Unfortunately, I am still not able to open PDF-attachments from DtMail... Thanks to all that replied!! Best regards, Nils K. Sch=F8yen --Pod_of_Dolphins_452_000 Content-Type: TEXT/plain; name="acroread.dt"; charset=us-ascii Content-Description: acroread.dt Content-MD5: 2ejz4pe6GN1X+/bZnSU0Jw== ###################################################################### # Carl Ma - Nov. 5 ###################################################################### ACTION acroread { LABEL acroread TYPE COMMAND EXEC_STRING sh -c 'acroread "%Arg_1%"' ICON Dtactn WINDOW_TYPE NO_STDIO ARG_TYPE Acro_file,Acro_file,Acro_file } DATA_ATTRIBUTES Acro_file { ACTIONS Open ICON Dtmime } DATA_CRITERIA Acro_file { DATA_ATTRIBUTES_NAME Acro_file MODE !d NAME_PATTERN *.pdf CONTENT 0 string %PDF- } ACTION Open { ARG_TYPE Acro_file TYPE MAP MAP_ACTION acroread LABEL Open } --Pod_of_Dolphins_452_000--Received on Wed Nov 7 07:43:54 2001
This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:35 EDT