Subject: TIP: mouse and pine

From: Udi Motello <[email-masked]>
Date: Tue, 18 Jun 1996 21:52:05 +0300

Hi,

	If you have this alias in your shell or entry in your .twmrc
	you can use the mouse to cut&paste + select with pine:

alias   xpine   'xterm -name pine -e pine &'

	Now, you need this entry in .Xresource or .Xdef:

pine*VT100.Translations: #override !<Btn2Down>: string(0x0d) \n\
                                   !<Btn3Down>: string(O) \n\
                !Shift <Btn1Down>: select-start() \n\
              !Shift <Btn1Motion>: select-extend() \n\
                  !Shift <Btn2Up>: insert-selection(PRIMARY, CUT_BUFFER0) \n\
                !Shift <Btn3Down>: start-extend() \n\
              !Shift <Btn3Motion>: select-extend() \n\
                                   <BtnUp>:select-end(PRIMARY, CUT_BUFFER0)

	Botton 1 play the pine's select/exec
	Button 2 play like user's "enter"
	Button 3 play like user's "o"
	While you hold the Shift, buttons 1,2,3 will play the X11's cut&past

Bye,
 Udi