home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / wizards / 4800 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.unix.wizards
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!newsfeed.rice.edu!exlogcorp!mcdowell
  3. From: mcdowell@exlog.com (Steve McDowell)
  4. Subject: Re: resident clock under vt100?
  5. Message-ID: <1992Nov19.195052.20397@exlog.com>
  6. Organization: EXLOG, Inc.
  7. References: <1992Nov19.190437.25356@blaze.cs.jhu.edu>
  8. Date: Thu, 19 Nov 92 19:50:52 GMT
  9. Lines: 27
  10.  
  11. In message <1992Nov19.190437.25356@blaze.cs.jhu.edu> schles@whatever.cs.jhu.edu (The Skateboard Dude) asks:
  12. > Hi.  In our library here at JHU, we have vt100 terminals connected to the
  13. > campus network.  One time while I was working on homework, I realized I didn't
  14. >
  15. > The problem was I was constantly typing in 'date' to check the time.  Is there
  16. > a command or program similar to TSR's on IBM's which could constantly keep me
  17. > informed of the time and/or have an alarm that could ring the default beep at
  18. > a specific time?  It doesn't even need to be resident, I just want something
  19. > I can control-C out of
  20.  
  21. If you ran X windows, these things would be at your fingertips. But, since you're 
  22. on dumb terminals, try this (or a variation thereof) for your simple needs:
  23.  
  24.     while(true)
  25.     do
  26.         date
  27.         sleep 60
  28.     done
  29.  
  30. For alarm clock functionality, lookup "at". This answer may be simple, but it works
  31. with little hassle.
  32.  
  33. -- 
  34. Steve McDowell             . . . . o o o o o         Opinions are 
  35. Exlog, Inc.                      _____      o         mine, not my 
  36. mcdowell@exlog.com      _____====  ]OO|_n_n__][.        employers..
  37.                [_________]_|__|________)<   
  38.