Michael Schwern wrote:
!> Unfortunately for vi afficionados, the VIEW verb (for the
!> CDA Viewer) confuses unix folk who try to run:
!>
!> $ vi login.com
!> %CDA-E-UNSUPFMT, unsupported document format
!
!OH! So *that's* what that is.
That is what that is. You'll note that
VMS command abbreviation, ordinarily so helpful,
strikes at you in a confusing way here.
Help on VIEW is a matter of typing:
help view
Should you want to _use_ the CDA viewer (admittedly
unlikely, but it leads to a somewhat important topic)
you'll need to set up an X-Windows display channel
which is more than defining an environment variable,
although it can be done in one line.
The equivalent of:
setenv DISPLAY fqdn.domain (csh, tcsh)
export DISPLAY=fqdn.domain (ksh, bash)
set DISPLAY=fqdn.domain
export $DISPLAY (sh traditional, bsh on AIX)
would be on VMS:
set display/create/node=fqdn.domain/transport=tcpip
After which you can then run:
view mydoc.ps
since PostScript (.ps) is a CDA supported format.
CDA VIEW is a bit like xv on Unix. Note too that xv
itself has been ported to VMS, as has xterm, but
CREATE/TERM is probably preferrable to trying to
set up xterm on VMS.
Peter Prymmer