Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!dog.ee.lbl.gov!ucbvax!atr-sw.atr.co.JP!kita From: kita@atr-sw.atr.co.JP (KITAMURA--Yasuichi) Newsgroups: comp.windows.x.motif Subject: Re: Multiple functions bound to single buttonpress, attempt two Message-ID: <9104140635.AA00196@cs35.atr-sw.atr.co.jp> Date: 14 Apr 91 06:35:25 GMT References: <923@edstip.EDS.COM> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: kddlab!karc.crl.go.jp!kita@uunet.UU.NET Distribution: inet Organization: The Internet Lines: 24 In case of TWM, >> "Shutdown" {f.exec "xsetroot -solid white";f.quit_mwm} >> >> "Shutdown" {f.exec "xsetroot -solid white" >> f.quit_mwm} worked? (Of course, s/_mwm//.) Or anther way exists? When you write TWMPID=$$ export $TWMPID in .xinitrc or .xsession, and Shutdown !"xsetroot -solid white ; kill $TWMPID" in .twmrc, you can define Shutdown-Button, I think. Thank you for reading my poor English e-mail. --KITAMURA JUNET:kita@karc.crl.go.jp,Compu-Serve:74510,2324