Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vi & xterms [Tek]



% 
% Has anybody on the list ever used the Tektronics mode of xterm?
% 

   Yes, here's a very rough and ready example, knocked together on my
   (sharp intake of breath) Solaris system at work, using graph(1) and
   plot(1). 
   
   The short uuencoded data file below contains the "graph"'ed output
   from the "Raw ASCII Input" section. It will uudecode to
   /tmp/plot_data.  Start up an xterm and use <CTRL>-mouse-button to
   switch into "tek" mode. In the tek window do "cat /tmp/plot_data" to
   display the graph.


  ---------------------------------------------------------------------
 |           John Little          |    Salomon Brothers Asia Limited   |
 |       gaijin@example.com     |        Business Technology         |
 |        Japan 03-5574-5296      |       2-20. Akasaka 5-Chome,       |
 |         FAX 03-5574-5585       |     Minato-ku, Tokyo 107, Japan    |
  ---------------------------------------------------------------------


----------------------------<uuencoded plot data>-------------------------
begin 600 /tmp/plot_data
M&PP=(6!F(49B9C=9   W:GE9  !H>2%&   A8&9&   =8V8E5FMO5ATW8W!6
M  !K>58=(6)F*D<  &IO1QTW8G!'  !J>4<=(6%F+E@  &EO6!TW87!8  !I
M>5@=(6-F,T@  &MO2!TW8W!(  !K>4@=*&1W(48   !F=T\=9'<W4   9G=9
M'3!D:"%&    9FA/'61H-U   &9H61T@:'HA1@   !X@example.com$A(2$A(2DI*2DI*
M2DI*2A],:6YU>"!386QE<R G.38>($1$1$1$1$5%145%145%144?'B!(2$A(
M2$A*2DI*2DI*2DI*'R @(" @(" >($1$1$1$1$5%145%145%144?'B!(2$A(
M2$A*2DI*2DI*2DI*'S @+7@example.com(#4P'B!$1$1$1$1%145%145%145%'QX@example.com$A(
M2$A(2DI*2DI*2DI*2A\@(!X@example.com$1$1$1$145%145%145%11\>($A(2$A(2$I*
M2DI*2DI*2DH?," M>2T@,S >($1$1$1$1$5%145%145%144?&V =(6!F1B)H
M?2)#'4,>($A(2$A(2$I*2DI*2DI*2DH?2F%N'B!$1$1$1$1%145%145%145%
M'QU#(6-F7R1G?"-<'5P>($A(2$A(2$I*2DI*2DI*2DH?1F5B'B!$1$1$1$1%
M145%145%145%'QU<(6-F)%DB;R56'58>($A(2$A(2$I*2DI*2DI*2DH?36%R
M'B!$1$1$1$1%145%145%145%'QU6(68F4R-F8B=0'5 >($A(2$A(2$I*2DI*
M2DI*2DH?07!R'B!$1$1$1$1%145%145%145%'QU0(6)F*$TC;G I2AU*'B!(
M2$A(2$A*2DI*2DI*2DI*'TUA>1X@example.com$1$1$1$145%145%145%11\=2B%B9BI'
M97XK1!U$'B!(2$A(2$A*2DI*2DI*2DI*'TIU;F4>($1$1$1$1$5%145%145%
M144?'41A9BQ!)&E^7AU>'B!(2$A(2$A*2DI*2DI*2DI*'TIU;'D>($1$1$1$
M1$5%145%145%144?'5XA868M6S!E:"Y8 !U8'B!(2$A(2$A*2DI*2DI*2DI*
M'T%U9R!;($Q)3E58(#(N,"!='B!$1$1$1$1%145%145%145%'QU8(6!F+U4 
M+F1X,%( '5(>($A(2$A(2$I*2DI*2DI*2DH?4V5P=!X@example.com$1$1$1$145%145%
M145%11\=4B%@example.com%/ #1A,DP  !U,'B!(2$A(2$A*2DI*2DI*2DI*'T]C=" H
M<')O:BD>($1$1$1$1$5%145%145%144?'4PA8V8S2   -FMI-$4  !U%'B!(
M2$A(2$A*2DI*2DI*2DI*'TYO=B H<')O:BD>($1$1$1$1$5%145%145%144?
<'44A8V8U0@  7V8V7&)F-UD;8!T@example.com& @example.com   'T1$
 
end
--------------------------------------------------------------------------

-----------------------------<Raw ASCII Input>----------------------------
0 2.3 "Jan"
0 4.9 "Feb"
0 1.7 "Mar"
0 2.5 "Apr"
0 3.1 "May"
0 1.0 "June"
0 5.0 "July"
0 20 "Aug [ LINUX 2.0 ]"
0 18 "Sept"
0 25 "Oct (proj)"
0 28 "Nov (proj)"
0 0
0 0
--------------------------------------------------------------------------
-----------------------------------------------------------------
a word from the sponsor will appear below
-----------------------------------------------------------------
The TLUG mailing list is proudly sponsored by TWICS - Japan's First
Public-Access Internet System.  Now offering 20,000 yen/year flat
rate Internet access with no time charges.  Full line of corporate
Internet and intranet products are available.   info@example.com
Tel: 03-3351-5977   Fax: 03-3353-6096


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links