A real hack way to "lock my tty"

Karl Fox karl at MorningStar.Com
Wed Oct 3 12:20:04 AEST 1990


In article <2863 at litchi.bbn.com> rsalz at bbn.com (Rich Salz) writes:
   This only works in C-shell derivatives.  Type "goto <SomePassword>" and
   then enough blank lines to clear the screen.

   When you come back, type "<SomePassword>:" and RETURN.

Except that ^D breaks it (on a Sun):

   remora 104% csh
   remora 101% goto SomePassword
   ?
   ? foo:
   ? csh
   ? exit
   ? goto foo
   ?
   ? ^C^C^C
   ? ^Z^Z^Z
   ?
   ? ^DSomePassword: label not found.

   remora 102%
--
"I hear you guys deal with such dreck  |  Karl Fox, Morning Star Technologies
as SNA and X.25."       -Ed Vielmetti  |  karl at MorningStar.Com



More information about the Comp.unix.misc mailing list