[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

983.0. "COPY_TO_PORT always truncates (NOWRAP?): V2.4D?" by SHALOT::LANPHEAR (Test the water or turn the tide?) Thu Jul 02 1992 23:07

    Hi,

      Our customer has yet another feature/problem with ALL-IN-1 V2.4D
    / WPS-PLUS V4.0.  In particular, the COPY_TO_PORT function will not wrap
    the text any more; it simply truncates it.

      They have shown me printouts from before the upgrade where the text
    _did_ wrap, so they have evidence.  They are printing to a port printer
    using WPPPORT and the vanilla LASERJET.PRA.  I modified an OAUSER copy
    of WPPPORT to save the file after it prints, and the text _is_ in the
    file (it's not the formatter truncating it, and we set wrap to Y on the
    PG more form to no avail).  I tried a modified version of the LASERJET
    which had the horiz and vert position commands removed so the formatter
    was forced to act like it used to, but again, to no avail.  I also
    discovered that the broadcast trapping also just happens to set the
    terminal to "no wrap", so I commented that out; again, it didn't help.
    
      Right after the printout finishes (and truncates), I invoke 
    a simple 'copy to port' COM file, and it _does_ wrap the saved
    temporary file, so I have isolated the problem to the COPY_TO_PORT
    function.
    
      So, does anybody know if there were any changes in the patches
    K601-K603, or the WPS-PLUS V4.0 update which would account for this
    behavior?  Our customer is exceedingly frustrated with this 'simple'
    update...
    
    					Cheers, Dan'l
T.RTitleUserPersonal
Name
DateLines
983.1COPY_TO_PORT has not changedIOSG::NEWLANDRichard Newland, IOSG, REO1-D/4ATue Jul 07 1992 15:1744
I've looked at the COPY_TO_PORT code and it was not changed in V2.4, the 
WPS-PLUS V4 Update for V2.4 and V3.0.

The COPY_TO_PORT function does not perform any wrapping or truncation of
the records it reads from the listing file.  It reads records from the
listing file using RMS (not via a Text Dataset) and writes the records to
the terminal using a QIO with no carriage control.  If the RMS attributes 
of the file (FAB$V_CR = 1) indicate that each record is to be preceded by a 
line-feed and followed by a carriage return when written to a carriage 
control device then the line-feed and carriage return are added to the 
record by the COPY_TO_PORT function.  Listing files created by the WPS-PLUS 
formatter always have FAB$V_CR set to 0.

The OA$TRM_BRDCST_INIT function sets the following VMS Terminal 
Characteristics:

	Nobrdcst = 1
	Mbxdsabl = 1
	Brdcstmbx = 1
	Notypeahd = 1
	Wrap = 0


The COPY_TO_PORT function sets the following VMS Termial Characteristics:

	Eightbit = 1
	Lower = 1
	Mechform = 1
	Mechtab = 1
	Scope = 1
	Sixel = 1
	TTsync = 1
	Regis = 0
	Wrap = 0



If wrapping of text was occuring before then it was being done by something 
other than the COPY_TO_PORT function.  Do you know if it was being done 
during the formatting or during printing?


Richard