Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!motcsd!hpda!hpcuhc!hpausla!giles From: giles@hpausla.HP.COM (Giles Lean) Newsgroups: comp.sys.hp Subject: Re: Re: screenblanker Message-ID: <310004@hpausla.HP.COM> Date: 19 Jul 89 23:48:48 GMT References: <3553@cps3xx.UUCP> Organization: HP Australian Software Operation Lines: 28 Mathieu Federspiel writes in comp.sys.hp: > In article <1080062@hpfcmgw.HP.COM> garys@hpfcmgw.HP.COM (Gary Stringham) writes: > >A quick and simple solution, but not completely what you want, is to put > >the command, clear(1), in the .logout file. > Note that clear(1) does *not* clear memory. We have an HP 2397A > running in 2627A emulation on an HP 9825. Clear will clear the > current page of memory, but the "page back" key will sent you back > through all pages to the top of memory. It is fairly simple to > send the escape sequences to put the cursor at the top of memory > and then do a clear, which will insure that you have cleared all > memory. And for an even cleaner way to do this alter the terminfo entry. (I like to be able to view my .logout on my terminal!). For a 70092: 5c5 < clear=\Eh\EJ, el=\EK, ed=\EJ$<1>, hpa=\E&a%p1%dC, --- > clear=\E&a0y0C\EJ, el=\EK, ed=\EJ$<1>, hpa=\E&a%p1%dC, -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Giles Lean ACSnet: giles@hpausla.aso.hp.oz Hewlett Packard Internet: giles%hpausla@hplabs.hp.com Australian Software Operation, UUCP: hpcea!hpausla!giles Melbourne. Tel: +61 3 871 1647 local (03) 871-1647