Path: utzoo!dptcdc!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!versatc!mips!wyse!dan From: dan@wyse.wyse.com (Dan Weaver x1321) Newsgroups: comp.terminals Subject: Re: Set WY-60 clock from software? Message-ID: <2214@wyse.wyse.com> Date: 17 Apr 89 18:15:08 GMT References: <9330@dasys1.UUCP> Sender: news@wyse.wyse.com Reply-To: dan@wyse.UUCP (Dan Weaver x1321) Followup-To: comp.terminals Organization: Wyse Technology Lines: 27 In article <9330@dasys1.UUCP> tbetz@dasys1.UUCP (TOM BETZ) writes: >I've RTFM and can't find a hint... has anyone figured out how to >set the WY-60's internal clock from software, using date(C), say, >as a time source? > >Be kinda nice if I could stick something into my .profile that >would do this at login. > > The following script will set the time on a WY-60: #!/bin/sh # date "+^[c8%H%M" # Note: ^[ should be the escape character. Be careful not to send this sequence to an ANSI terminal such as the VT-100. c is a hard reset that may not only trash your display but may log you off. The Fine Manual describes this sequence in the section on "Communicating with the Computer" in Appendix D page 6. Dan Weaver