Xref: utzoo comp.sources.wanted:13870 comp.terminals:2385 Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!jarthur!uunet!unhd!rg From: rg@uunet!unhd (Roger Gonzalez ) Newsgroups: comp.sources.wanted,comp.terminals Subject: Re: SetClock for z39 Terminal (UNIX) Keywords: z39, clock Message-ID: <1990Oct30.131756.3363@uunet!unhd> Date: 30 Oct 90 13:17:56 GMT References: <15082@brahms.udel.edu> Reply-To: rg@unhd.UUCP (Roger Gonzalez ) Organization: Marine Systems Engineering Lab Lines: 23 [looking for source code to set clock on a z39] It's much easier to just use the formatted string output of the "date" program. Write a 1 line program in your favorite language that outputs an escape character followed by the argument, and then do a "date". Could it be that the executable that you were referring to is actually a shell script that does just this? In my .login for a z29 ansi terminal, I have case "z29-ansi": esc "[" date "+%H;%M;%S{" breaksw The z39 is probably similar. -Roger -- "The question of whether a computer can think is no more interesting than the question of whether a submarine can swim" - Edsgar W. Dijkstra rg@unhd.unh.edu | UNH Marine Systems Engineering Laboratory r_gonzalez@unhh.bitnet | Durham, NH 03824-3525