

WORMS(6)                  Linux Programmer's Manual                   WORMS(6)


NNNAAAMMMEEE
    worms  -  animate worms on a display terminal

SSSYYYNNNOOOPPPSSSIIISSS
    wwwooorrrmmmsss [ ---fffttt ] [ ---llleeennngggttthhh # ] [ ---nnnuuummmbbbeeerrr # ]

DDDEEESSSCCCRRRIIIPPPTTTIIIOOONNN
    Brian Horn (cithep!bdh) showed  me  a  _T_O_P_S-_2_0  program  on  the  DEC-2136
    machine  called  _W_O_R_M,  and  suggested that I write a similar program that
    would run under _U_n_i_x.  I did, and no apologies.

    The options are as follows:

     -_f  makes a "field" for the worm(s) to eat.

     -_t  causes each worm to leave a trail behind it.

    You can figure out the rest by yourself.

CCCOOOLLLOOORRR
    After checking out the Berkeley _w_o_r_m_s program, I decided  _w_o_r_m_s  could  be
    spiced  up  for  _L_i_n_u_x  by  adding color.  It uses a limited number of the
    colors available, since black worms aren't very exciting.

AAAUUUTTTHHHOOORRR
    Eric P. Scott wrote the original, and Jim Winstead  Jr.  added  color  for
    Linux.

BBBUUUGGGSSS
    The lower-right-hand character position will not be updated properly on  a
    terminal  that  wraps  at  the right margin.  (This includes Linux virtual
    consoles.)


























Linux                           February 22, 1992                            1

