From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hhnkn-0004xy-Lq for garchives@archives.gentoo.org; Sat, 28 Apr 2007 14:18:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3SEG8Zt028532; Sat, 28 Apr 2007 14:16:08 GMT Received: from mxout2.iskon.hr (mxout2.iskon.hr [213.191.128.81]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l3SE9ngR020758 for ; Sat, 28 Apr 2007 14:09:49 GMT Received: (qmail 12478 invoked from network); 28 Apr 2007 16:09:48 +0200 X-Remote-IP: 213.191.142.122 Received: from unknown (HELO mx.iskon.hr) (213.191.142.122) by mxout2.iskon.hr with SMTP; 28 Apr 2007 16:09:48 +0200 Received: (qmail 9123 invoked from network); 28 Apr 2007 16:09:48 +0200 X-Remote-IP: 213.202.66.217 Received: from st01-216.dialin.iskon.hr (HELO localhost) (213.202.66.217) by mx.iskon.hr with SMTP; 28 Apr 2007 16:09:40 +0200 Date: Sat, 28 Apr 2007 16:08:55 +0200 From: Daniel Vrcic To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to open a chdired rxvt? Message-ID: <20070428140854.GB2924@ipanema.org> References: <20070427123551.GA24860@gentoo> <20070428100404.GA2924@ipanema.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20070428100404.GA2924@ipanema.org> User-Agent: Mutt/1.5.15 (2007-04-06) X-Archives-Salt: b7e8c863-f446-46bf-8471-d806d58dc921 X-Archives-Hash: 3cac9389365d7eff7a450d65671e3712 * Daniel Vrcic [07-04-28 12:12]: > * anhnmncb [07-04-28 11:39]: > > hi, list: > > I want to bound a key-binding to open a chdired rxvt. Say I'm in fvwm > > and the working dir is ~/, then I want to open a rxvt, which working > > dir is ~/doc, so I try: > > rxvt -hold -e bash -c "cd ~/doc" > > That should be: > > (cd ~doc/ && urxvt) > > [...] Sorry, correction... I'm also using fvwm and I have some entries in fvwm2rc regarding your issue. The command from the previous mail works if it's being executed from the shell/term_emul (discard the doc's slash :) but it would not if it's just pasted into fvwm2rc. There you should have something like: DestroyFunc FvwmTermDoc AddToFunc FvwmTermDoc + I Exec exec $(cd ~/doc && rxvt) # Keybind Key C A MC FvwmTermDoc -- Daniel Vrcic -- gentoo-user@gentoo.org mailing list