[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

161.0. "Help create flashing characters" by TROOA::VIAU (Over the hill and far away...) Tue Mar 03 1992 23:16

    Hi All
    
    	I hope this is the right place for my question. If not can someone
    please direct me to the proper one.
    
    	Anyway, I've, in the past, have received messages were a line of
    text is flashing, how is this done. I've looked in the ALL-IN-1 help
    but with no success. Any help would be appreciated.
    
    Thanx in advance
    
    Gene
    
T.RTitleUserPersonal
Name
DateLines
161.1Use EDT as you editor type within ALL-IN-1GIDDAY::SETHIMan from DownunderWed Mar 04 1992 03:389
    Hi Gene,
    
    I have done this in the past by selecting EDT as my editor.  Then I
    have used <ESC> codes to set the characteristics for the text I can not
    remember what the <ESC> codes are.
    
    I hope it helps
    
    Sunil
161.2small tableUTRTSC::BOSMANWe're just sugar mice in the rainWed Mar 04 1992 11:3614
    Hi,
    
     attribute     on        off
    -----------------------------------
     bold       |  <ESC>[1m  <ESC>[22m
     underline  |  <ESC>[4m  <ESC>[24m
     blink      |  <ESC>[5m  <ESC>[25m
     highlight  |  <ESC>[7m  <ESC>[27m
     all attr.  |            <ESC>[0m
    -----------------------------------
    
    Instead of <ESC>[ you could also use <CSI> (ASCII 155).
    
    Sjaak.
161.3Nit-picking...SCOTTC::MARSHALLPearl-white, but slightly shop-soiledWed Mar 04 1992 13:376
>> Instead of <ESC>[ you could also use <CSI> (ASCII 155).

But this won't work if the receiving terminal is in 7-bit mode, or is connected
to a 7-bit line, or if any line between sender and recipient is 7 bits.

Scott
161.4Not any more, I'm afraidIOSG::SHOVEDave Shove -- REO-D/3CThu Mar 05 1992 18:2712
    This won't work with new versions of ALL-IN-1 (certainly v3.0 - I think
    we may have made this change in v2.4 as well).
    
    WHY? you ask? Well, it's because although some escape sequences, like
    [5m, are fairly benign, others aren't. Some sequences can lock up your
    terminal, set it into funny modes, or worse. If you try typing a .EXE
    file (from DCL), you'll get some idea of the sort of things I mean.
    
    So, the LIST code in ALL-IN-1 now checks for ESC characters (and CSI)
    and outputs an error character (reverse question-mark I think) instead.
    
    Dave.
161.5GET OA$DCLUTRTSC::BOSMANWe're just sugar mice in the rainThu Mar 05 1992 18:523
    But you still can GET OA$DCL = "TYPE ... ", I presume.
    
    Sjaak.
161.6IOSG::SHOVEDave Shove -- REO-D/3CThu Mar 05 1992 18:593
    Oh yes, no problem (as long as you have DCL access).
    
    D.
161.7Try .DISPLAY filenameMARVA1::POWELLjust another ADVENTURE-IN-1 playerThu Mar 05 1992 21:128
    The Script Script command   .DISPLAY filename
    should still allow a text file with Escape sequences to work.
    Or did this function change in v3.0 too?
    
    I hope someone has documented these "minor" tweaks to the code
    (like in the release notes or some such place).
    There just COULD BE some customized application code that breaks
    as a result of all of the "fixes" I keep hearing about...
161.8Yes, .DISPLAY etc probably still do itIOSG::SHOVEDave Shove -- REO-D/3CFri Mar 06 1992 14:1019
    No, .DISPLAY (and probably .BOX etc) should still pass escape
    sequences.
    
    There's no need to change these - the essential difference is that the
    programmer gets to decide what's displayed. With LIST, especially when
    it's LISTing a mail message, neither the programmer nor the current
    user decide what's displayed - this is determined by what the sender
    put in the message. So it was possible to send "letter bombs" which
    would hang the user's terminal (or worse). 
    
    Note that this fix also stops those nice Christmas Card messages with
    falling snow etc. Pity.
    
    It should have been documented under "bug fixes" in the relevant
    version's Differences document. I can't check that just now. Sorry.
    Note that this was reckoned to be a "security fix" and so may not have
    been fully described.
    
    Dave.
161.9thanxTROOA::VIAUOver the hill and far away...Fri Mar 06 1992 19:444
    Thank you all for your help.		
    
    Gene