[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

2485.0. "output destination without escapes sequences" by AIMTEC::BUTLER_T () Mon Mar 29 1993 17:10

    I am working this with a customer (USAAA) and have no suggestions,
    any ideas appreciated.
    
    
       ALL-IN-1 v2.4 w/ patches through K605 and WPS-PLUS v4 option
    
       I am attempting to write some control sequences to the terminal, but
    do not
    want any extranneous control sequences output.  I was using the OA$FAO
    function
    and using OA$DISPLAY as the destination symbol, but this outputs the
    control
    sequences necessary to position down to line 24, column 1.  Is there a
    different
    destination to output to that would not cause this to occur?  I also
    have ruled
    out OA$DCL or COMMAND filename.com with a WRITE SYS$OUTPUT since I do
    not want
    to create a subprocess.
    
       Thanks,
    
    Tim
T.RTitleUserPersonal
Name
DateLines
2485.1Not obviously (to me!)IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeTue Mar 30 1993 10:2911
    I can't think of any easy way to do this - Cue for another reply form
    someone else!
    
    PROMPT and DISPLAY will both position the cursor at line 24, or screen
    bottom. I thought about using .BOX, would that be possible? Even if you
    use DCL and WRITE SYS$OUPUT, you'll get CR,LF on the end.
    
    Outrageously, you could write a tiny program that does a write and
    INSTALL/EXECUTE it....
    
    Graham
2485.3Have you looked at .TEXT?SANFAN::LESLIE_DAGreetings & SolutionsTue Mar 30 1993 18:210
2485.4Use OA$FORM_INFO too?IOSG::PYEGraham - ALL-IN-1 Sorcerer's ApprenticeTue Mar 30 1993 18:3710
    Re .3
    
    See, I told you that saying it was impossible would provoke someone
    into proving me wrong!
    
    Further, you can work out whereabouts you are on the form using the
    OA$FORM_INFO DSAB so you haven't got to hardwire things into .TEXT's
    parameters.
    
    Graham
2485.5find the one who can push the buttons!AIMTEC::BUTLER_TTue Mar 30 1993 23:042
    Thank You One and All!
    
2485.6Almost, but not quite?SCOTTC::MARSHALLSpitfire Drivers Do It ToplessWed Mar 31 1993 10:3212
I thought of .TEXT, but doesn't that output <CR><LF> after the 'text' that
you give it?  The base noter wanted something that doesn't add any control
characters/sequences to the output.

Something else to bear in mind.  There is a generic "feature" of ALL-IN-1
symbol processing, which I discussed in another topic a few months back, in that
under some circumstances, control characters will be stripped out of ALL-IN-1
symbols.  They will *always* be stripped from the beginning of strings.  So
even if .TEXT does the trick, you need to be careful how you construct and pass
the string of control characters to it.

Scott