neumann@brahms.udel.edu (Brian R Neumann) (10/24/90)
I got the binary for a program that sets the time on a z39 terminal to the current system time quite a while ago for a vax (unix). Our university is switching to sun4's now, so I'd like to get the source and recompile it for SunOs. Does anybody know where I could find this source? Could you mail it to me? Brian
unhd (Roger Gonzalez ) (10/30/90)
[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