The following example will create a pipe to the lp program:
PRINTER IS "|lp -dlj -o2"Please note:
The EDITOR statement saves the actual program in a temporary file without line numbers and calls a HP-UX editor program. After the editor program finished, the actual program is re-read from the temporary file.
The HP-UX editor called is defined by either the EQ_EDITOR or the EDITOR environment variable. /usr/bin/vi is used as a last resort.
If First_line_no argument is present, a $LINE directive is included at the top of the editor file. If file is re-read from temporary file, the directive is used to determine how the program should be renumbered.
First_line_no specifies the first line number to use, Inc the line number increment. See notes about store utility for details.
Please Note:
This statement is not yet supported, because we have to proove, if it's sufficient to just cut the line numbers instead of checking for used ones. Because this statement is particular useful, it's been included in Eloquence A.05.01. A supported EDITOR statement is scheduled with the next Eloquence release.
The following statements provide a temporary integration of a RCS into the Eloquence devlopment environment:
RCS GET "file" [,"opt"] [;First_line_no [,Inc]]
RCS SAVE "file" [,"opt"] [;First_line_no [,Inc]]
RCS MERGE "file" [,"opt"] [;First_line_no [,Inc]]
Prerequisites:
10 ! SAMPLE PROGRAM 20 ! @(#)$Header$ 30 DISP "This is $Revision$" 40 END
LOAD "SAMPLE,VOL" RCS SAVE "SAMPLE,VOL","-l";1000,10Enter initial program description
Due to the -l argument, the program is checked out again (locked) and re-read by Eloquence. This will create a revision 1.1 of the test program.
10 ! SAMPLE PROGRAM - 2ND RELEASE RCS SAVE "SAMPLE,VOL"Enter description of changes
This will create a revision 1.2 of the test program.
RCS GET "SAMPLE,VOL","-r1.1";1000,10This will retrieve revision 1.1 of the test program.
Please Note:
These statements are considered temporary (experimental, not yet supported). We decided to include them with Eloquence A.05.01, because they are are a first approach to get familiar with RCS and we would like to have some feedback to implement your real needs. A supported RCS statement is scheduled with the next Eloquence release.
#!/bin/ksh # # usage: rcs_get file args # The script should extract the requested file from the RCS system. if [ $# -lt 1 ] then exit 2 fi file=$1; shift co $* $file rc=$? #if [ $rc != true ] #then echo "Please press return to continue \c" read #fi exit $rc
#!/bin/ksh # # usage: rcs_save file args # The script should update the given target file in the RCS system. if [ $# -lt 1 ] then exit 2 fi file=$1; shift ci $* $file rc=$? #if [ $rc != true ] #then echo "Please press return to continue" read #fi exit $rc
#!/bin/ksh # # usage: rcs_merge file args # The script should merge the given target file with the RCS system. if [ $# -lt 1 ] then exit 2 fi file=$1; shift rcsmerge $* $file rc=$? #if [ $rc != true ] #then echo "Please press return to continue" read #fi exit $rc
FVBACK is a HP260 utility program to backup a whole disc into a set of backup files. The FVBACK file format is closely related to the HP260 media format.
To unpack an FVBACK archive, you have to execute the following steps:
FVBACK files are of type BKUP, which are normally ignored by ctd260. In order to extract them, you have to specify the -t BKUP argument to ctd260.
To unpack the FVBACK files, specify the -f commandline flag to ctd260 and the file name of the first FVBACK file. The file name of subsequent backup files are derived from the initial backup file name.
For example:
You have 3 FVBACK files: FVBFL.BKUP, FVBFL2.BKUP, FVBFL3.BKUP ctd260 -f -x FVBACK.BKUPThis will unpack all files, contained in the three backup files.
This feature is considered unsupported because older revisions of FVBACK may have created bad FVBACK files, so ctd260 may not be able to unpack them.