Marc Lehmann > PApp > xpcse

Download:
PApp-2.0.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

xpcse

DESCRIPTION ^

The goal of xpcse is to edit files, database content etc. on the client-side with locally installed software.

CONFIGURATION ^

ENVIRONMENT

Environment variables can be used to change the behavior of xpcse. These variables are EDITOR and XPCSE_TERMINAL.

Examples:

  export XPCSE_TERMINAL='rxvt -g 90x25 -e'
  export EDITOR=vi

FILES

~/.mailcap or /etc/mailcap

You need to add this line to any of these files to launch xpcse properly from within your browser:

  application/x-xpcse; /location/of/xpcse '%s'
~/.mailcap.xpcse or /etc/mailcap.xpcse

These entries have the same form as standard mailcap entries and can be used to override xcpse's idea of what programs should be used to display certain content types.

For example, to use a different program to edit jpeg files with xpcse than the one defined in the standard mailcap file, use this line;

  image/jpeg; xv -maxpect '%s'; edit=/location/of/program/to/edit '%s'
syntax highlighting: