ftp.nice.ch/pub/next/unix/communication/ps3270.README

This is the README for ps3270.I.bs.tar.gz [Download] [Browse] [Up]

Copyright (C) 1990 The Board of Trustees of The Leland Stanford Junior University. 
All Rights Reserved.

Transparent mode command for tn3270 on a NeXT.	
Not to be directly called from shell.		
Specify	'ps3270' as tn3270 '-t' option. e.g. 'tn3270 -t ps3270 hostname'

ps3270 requires tn3270 4.1.1 or later, which was NOT supplied with NeXTOS 1.0,
but you can get it from the usual sources.  This new version is worth getting
because it makes your session a 3278 (rather than 3277) and supports
3278-2, -3, -4, and -5.  Tip: compile the new version of tn3270 with
the '-Dsun' option.

ps3270 also requires a driver on the mainframe side.   This is the same
driver used with the Yale terminal emulation package for ASCII pass-thru
mode.

ps3270 captures PostScript to a temporary file, 
then messages the Workspace Manager to launch Preview on it.
 
To install the program in ~/Apps, just type 'make install'.

Written by Paul Kunz, Stanford Linear Accelerator Center
pfkeb@ebnextk.slac.stanford.edu (my NeXT) or,
pfkeb@slacvm.slac.stanford.edu (my mainframe) which is also
SLACVM on BITNET.

A final note: How do you generate PostScript on mainframe?   Simple,
for each PostScript operator, write a PSxxxx routine that takes the
arguments and writes it to a file.   For example,

    void PSlineto( float x, float y ) {
	fprintf( fp, "%f%f lineto\n", x, y );
	return;
    }

or with VS FORTRAN,

       Subroutine PSlineto( X, Y )
       Write(lun, 6000) X, Y
  6000 Format( 2F10.5, ' lineto' )
       Return
       End

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.