public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] how to open a chdired rxvt?
       [not found] <20070427123551.GA24860@gentoo>
@ 2007-04-28 10:04 ` Daniel Vrcic
  2007-04-28 14:08   ` Daniel Vrcic
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vrcic @ 2007-04-28 10:04 UTC (permalink / raw
  To: gentoo-user

* anhnmncb <anhnmncb@gmail.com> [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)

[...]

-- 
Daniel Vrcic
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] how to open a chdired rxvt?
  2007-04-28 10:04 ` [gentoo-user] how to open a chdired rxvt? Daniel Vrcic
@ 2007-04-28 14:08   ` Daniel Vrcic
  2007-04-29  1:10     ` anhnmncb
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Vrcic @ 2007-04-28 14:08 UTC (permalink / raw
  To: gentoo-user

* Daniel Vrcic <daniel.vrcic@si.htnet.hr> [07-04-28 12:12]:
> * anhnmncb <anhnmncb@gmail.com> [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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] how to open a chdired rxvt?
  2007-04-28 14:08   ` Daniel Vrcic
@ 2007-04-29  1:10     ` anhnmncb
  0 siblings, 0 replies; 3+ messages in thread
From: anhnmncb @ 2007-04-29  1:10 UTC (permalink / raw
  To: gentoo-user

On Sat, Apr 28, 2007 at 04:08:55PM +0200, Daniel Vrcic wrote:
>   DestroyFunc FvwmTermDoc
>   AddToFunc   FvwmTermDoc
>   + I Exec exec $(cd ~/doc && rxvt) 
> 
> # Keybind
> 	Key C A MC FvwmTermDoc
> 
> -- 
> Daniel Vrcic
> -- 
solved, well done! Thank you, Daniel Vrcic. My way:
	Key C A MC Exec exec $(cd ~/doc && rxvt)

Cheers,

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-04-29  1:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20070427123551.GA24860@gentoo>
2007-04-28 10:04 ` [gentoo-user] how to open a chdired rxvt? Daniel Vrcic
2007-04-28 14:08   ` Daniel Vrcic
2007-04-29  1:10     ` anhnmncb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox