Jason S. on Thu, 5 Aug 1999 17:55:12 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] reset


You can go one step further and bind events to your mouse 
buttons with gpm. So middle clicking could do 'shutdown -r now'
or 'reset' or whatever.

out of the man page:

SPECIAL COMMANDS

Version  1.10  adds the capability to execute special com-
mands on certain circumstances. Special  commands  default
to  rebooting  and  halting  the  system, but the user can
specify his/her personal choice. The capability to  invoke
commands  using  the mouse is a handy one for programmers,
because it allows to issue a clean shutdown when the  key-
board is locked and no network is available to restore the
system to a sane state.

Special commands are toggled by triple-clicking  the  left
and  right button -- an unlikely event during normal mouse
usage. The easiest way to triple-click is pressing one  of
the  buttons  and triple-click the other one. When special
processing is toggled, a message appears  on  the  console
(and  the  speaker beeps twice, if you have a speaker); if
the user releases all the buttons and presses one of  them
again  within three seconds, then the special command cor-
responding to the button is executed.




J.

When I grow up, I wanna be more like me.
I had a clue. I didn't like it. I took it back and exchanged it for an
attitude.  

On Thu, 5 Aug 1999, Kyle Burton wrote:

> if your terminal is fuxored -- I'm in the middle of developing a kernel
> module...and I munged my terminal
> 
> i.e. cat a binary and when it screws up the character set used by the terminal,
> you get garbage, and everything you type looks like garbage,
> 
> 
> try typing 'reset^M'  reset and enter.  This cleared my terminal.
> 
> I just discovered it.
> 
> very pimpy.
> 
> k
> 
> ------------------------------------------------------------------------------
> Speak softly and carry a +6 two-handed sword. 
>     -- Unknown (http://slashdot.org)
> mortis@voicenet.com                            http://www.voicenet.com/~mortis
> ------------------------------------------------------------------------------
> 
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug


  • References: