Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!mimsy!midway!valley From: valley@uchicago (Doug Dougherty) Newsgroups: comp.lang.pascal Subject: Re: Num-Caps-Scroll Lock Message-ID: Date: 19 Nov 90 19:58:42 GMT References: <10264@uhccux.uhcc.Hawaii.Edu> <1990Nov14.053813.990@vax5.cit.cornell.edu> <1990Nov15.092958.10929@uwasa.fi> Sender: news@midway.uchicago.edu (News Administrator) Distribution: comp Organization: University of Chicago Lines: 22 ts@uwasa.fi (Timo Salmi) writes: >In article <1990Nov14.053813.990@vax5.cit.cornell.edu> hd7x@vax5.cit.cornell.edu writes: >>In article <10264@uhccux.uhcc.Hawaii.Edu>, >>swalker@uhunix1.uhcc.Hawaii.Edu (Sunny Walker) writes: >>> I am a new programmer and was wondering if it is possible to change the state >>> of the Num-Caps-Scroll Lock keys from a program, (id est, turn on/off Num Loc >Yes. And if you are using Turbo Pascal you can find the routines in >/pc/ts/tspas22.arc, available by anonymous ftp or mail server from >the archives uwasa.fi, Vaasa, Finland. On the other hand if someone >needs a programs that does this, you can find it in >/pc/ts/tsutld18.arc. >................................................................... >Prof. Timo Salmi (Moderating at anon. ftp site 128.214.12.3) >School of Business Studies, University of Vaasa, SF-65101, Finland >Internet: ts@chyde.uwasa.fi Funet: gado::salmi Bitnet: salmi@finfun Note that this (diddling with 40:17) is not entirely safe on some machines (most notably laptops) where the keyboard itself keeps track of the CAPS/NUM LOCK status, and poking the byte can get it all confused.