Path: utzoo!utgpu!attcan!uunet!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!mailrus!husc6!cmcl2!yale!cs.yale.edu!spolsky-joel@CS.YALE.EDU From: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Newsgroups: comp.unix.questions Subject: Re: Can I display current time on the top/bottom status line Message-ID: <1119@cs.yale.edu> Date: 1 Oct 89 21:10:04 GMT References: <1621@ncrcan.Toronto.NCR.COM> Sender: news@cs.yale.edu Reply-To: spolsky-joel@CS.YALE.EDU (Joel Spolsky) Organization: Yale University Computer Science Dept, New Haven CT 06520-2158 Lines: 27 In article <1621@ncrcan.Toronto.NCR.COM> Tim writes: |I am trying to find out if there is any way to have the time displayed |at the top or bottom of the monitor on the status line (or anywhere else |for that matter), all the time; that is, like a clock. | |Are there any shell scripts, or anything, which will do this? | |tim (nelson) | uucp ...!uunet!attcan!ncrcan!tim |ncr canada | internet tim@ncrcan.Toronto.NCR.COM |(416) 826-9000 | 6865 Century Ave, Mississauga, Ontario, Canada L5N 2E2 I wrote a C program that does this for VT100 and TVI950 terminals, which have status lines. You run the program on the unix host and it keeps the status line updated. It gives you the date and time, and it tells you when you get mail and who it is from. It could probably be easily modified to handle other terminals with programmable, independant status lines. If you are interested in receiving a copy, send me email: +----------------+----------------------------------------------------------+ | Joel Spolsky | bitnet: spolsky@yalecs.bitnet uucp: ...!yale!spolsky | | | internet: spolsky@cs.yale.edu voicenet: 203-436-1538 | +----------------+----------------------------------------------------------+ #include