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