home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / utility / patch / db_bcon / samp_16.qqq < prev    next >
Text File  |  1994-02-18  |  5KB  |  87 lines

  1. sb?c0This a sample text file with VT52 esc-
  2. sequences imbedded to demonstrate the
  3. effectiveness of DB_BCON.
  4.  
  5. For example, we'll save the cursor at 44,4:j<---------here
  6. pThen we'll print a line or two of text... 
  7. ...and then...
  8. restore the cursor to that position using <esc k>k<---see, now <esc k> works!q
  9.  
  10.  
  11.  
  12.  
  13. Now for something completely different...
  14.  
  15. Here are some sample color combinations that will befuddle users
  16. with a monochrome monitor <grin> (or with normal TOS4.1).
  17.  
  18.  
  19. b1c0 and even color codes work
  20. ∈b0 ∈c1,2,3,4,5...<=>?    ∈c0 ∈b1,2,3,4,5...<=>?
  21. b0c1 and even color codes workb1c0 isn't this nice (red)
  22. b0c2 and even color codes workb2c0 isn't this nice (green)
  23. b0c3 and even color codes workb3c0 isn't this nice (yellow)
  24. b0c4 and even color codes workb4c0 isn't this nice (blue)
  25. b0c5 and even color codes workb5c0 isn't this nice (magenta)
  26. b0c6 and even color codes workb6c0 isn't this nice (cyan)
  27. b0c7 and even color codes workb7c0 isn't this nice (grey 1)
  28. b0c8 and even color codes workb8c0 isn't this nice (grey 2)
  29. b0c9 and even color codes workb9c0 isn't this nice
  30. b0c: and even color codes workb:c0 isn't this nice
  31.  
  32.  
  33.  
  34.  
  35. b1c3E
  36.                            A quickie color chart
  37. ---------------------------------------------------------------------
  38.    b0  b1  b2  b3  b4  b5  b6  b7  b8  b9  b:  b;  b<  b=  b>  b?  
  39. b1c3c0 c0b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  40. b1c3c1 c1b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  41. b1c3c2 c2b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  42. b1c3c3 c3b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  43. b1c3c4 c4b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  44. b1c3c5 c5b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  45. b1c3c6 c6b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  46. b1c3c7 c7b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  47. b1c3c8 c8b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  48. b1c3c9 c9b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  49. b1c3c: c:b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  50. b1c3c; c;b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  51. b1c3c< c<b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  52. b1c3c= c=b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  53. b1c3c> c>b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  54. b1c3c? c?b0hue b1hue b2hue b3hue b4hue b5hue b6hue b7hue b8hue b9hue b:hue b;hue b<hue b=hue b>hue b?hue 
  55. b1c3---------------------------------------------------------------------
  56.  
  57.  
  58. Next, a couple of long-text-line samples....
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65. b1c3E
  66. wX$pWRAP OFFq
  67.  
  68. Here is an extremely long sample line of text to test the effect of the line wrap function which would normally scroll down the left edge of the screen when using TOS4.1.
  69. (b7except that right now, wrap is turned offb1)
  70.  
  71. vX$pWRAP ONq
  72.  
  73. Here is an extremely long sample line of text to test the effect of the line wrap function which would normally scroll down the left edge of the screen when using TOS 4.1.
  74.  
  75. b<S6b9S1
  76.  Six new esc-functions have also been added:
  77.  
  78.  R6<esc> s R1     Save current colors, both foreground and background.
  79.  R6<esc> r R1     Restore the last saved colors.
  80.  R6<esc> z R1     Reset to normal black text on a white background.
  81.  R6<esc> XnR1     Set X position to n-32  (just like esc Y)
  82.  R6<esc> SnR1     Save current colors set to table (0-15) *.
  83.  R6<esc> RnR1     Set current colors from table (0-15) *.
  84.                 b8* 0-15 indicates lower 4 bits of any character.
  85.                 * does NOT effect color saved with 'esc s'.
  86. vr
  87.