⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mozilla

📁 A free MS Word reader for Linux and RISC OS. Antiword converts the files from Word 2, 6, 7, 97, 2000
💻
字号:
Date: Mon, 11 Nov 2002 11:36:21 +0000From: Cam <camilo@mesias.co.uk>Subject: Re: antiwordHiI have updated the script for the latest Mozilla with plugger, as found in RedHat 8. This makes the default action a very quick text view of a document, much better IMHO than starting ooffice or abiword. If users want to edit the file they can still save as.Here is a slightly improved script for gnome users:#!/bin/bashtmpfile=/tmp/aw$$.txtlastditch=`which vi`editor=${EDITOR:-$lastditch}if [ ! -x $editor ] ; then   editor=$lastditchfitmpfile=/tmp/aw$$.txtgtopts="-t antiword-helper --hide-menubar"antiword "$1" > $tmpfilechmod -w $tmpfilegnome-terminal $gtopts -x $editor $tmpfile ; chmod +w $tmpfile ; rm $tmpfileHere is the script for non-gnome users:#!/bin/bashtmpfile=/tmp/aw$$.txtlastditch=`which vi`editor=${EDITOR:-$lastditch}if [ ! -x $editor ] ; then   editor=$lastditchfiantiword "$1" > $tmpfilechmod -w $tmpfilexterm -T "antiword-helper" -e $editor $tmpfilechmod +w $tmpfilerm $tmpfileTo use the scripts add an entry into your plugger config file (pluggerrc, for locations check man plugger). Mine is in /home/cxm/.netscape/pluggerrc:The line to add is (it has a leading tab):   ignore_errors exits: antiword-helper "$file"Here is my config file after I added the lineapplication/rtf: rtf: Rich Text Formatapplication/x-msword: doc, dot: Microsoft Word Documentapplication/msword: doc, dot: Microsoft Word Document         ignore_errors exits: antiword-helper "$file"         nokill exits: oowriter "$file"         repeat swallow(AbiWord) fill: AbiWord -nosplash -geometry +9000+9000 "$file" >/dev/null 2>/dev/null         repeat swallow(PCFileViewer) fill: sdtpcv "$file"         repeat swallow(PCFileViewer) fill: /opt/SUNWdtpcv/bin/sdtpcv "$file"Then start Mozilla / Netscape and you should be able to quickly view word docs from the browser and as email attachments.Hope that helps,-Cam

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -