Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!att!mcdchg!mcdphx!behemoth!razdan From: razdan@phx.mcd.mot.com (Anshuman Razdan) Newsgroups: comp.windows.x Subject: Re: Help: xon executed from menus doesn't work Message-ID: Date: 11 Jan 91 15:47:24 GMT References: <9101071545.AA26972@excalibur.lcs.mit.edu> Sender: news@mcdphx.phx.mcd.mot.com Organization: Motorola MCD Lines: 45 In-reply-to: gildea@expo.lcs.mit.EDU's message of 7 Jan 91 15:45:09 GMT In article <9101071545.AA26972@excalibur.lcs.mit.edu> gildea@expo.lcs.mit.EDU (Stephen Gildea) writes: Path: mcdphx!asuvax!cs.utexas.edu!uunet!wuarchive!mit-eddie!bloom-beacon!dont-send-mail-to-path-lines From: gildea@expo.lcs.mit.EDU (Stephen Gildea) Newsgroups: comp.windows.x Date: 7 Jan 91 15:45:09 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 19 Date: 5 Jan 91 03:42:37 GMT From: cherny@abacus.colorado.edu (Stacey Cherny) Subject: Help: xon executed from menus doesn't work I've defined various commands to be executed from the pop-up up menus which I've set in my .twmrc (and .mwmrc) file(s). All commands work fine, except the ones which use xon. So if I try something like 'xon host xterm &' as a command from the menu, nothing happens. If I type this in an xterm, it works fine. ... You are probably not setting up your environment early enough. Commands run from window manager menus run in the environment that was in effect when the wm started. In particular, you may not have DISPLAY set in that environment. "xon" needs DISPLAY set. < Stephen ------------------------- ------------------------- YOu may also want to use the -debug option in xon ( in the menu entry which is probably f.exec "xon -debug ....". Start window manager from a shell instead of login time (or kill the current wm and restart) so as to get the out put of xon on the screen. It should be apparent if you are missing any ENV variables. -- Anshuman Razdan ************************************************************ * razdan@toy Test and Methodology Group * * * * razdan@phx.mcd.mot.com Diablo Plant, Tempe Az * ************************************************************