9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Q: cd 4 acme's 'win' window
@ 2002-07-25  8:23 Peter A. Cejchan
  2002-07-25  8:32 ` Axel Belinfante
  0 siblings, 1 reply; 3+ messages in thread
From: Peter A. Cejchan @ 2002-07-25  8:23 UTC (permalink / raw)
  To: 9fans

Hi,

could you tell me, please, how to redefine a 'cd' command to use with acme's 'win' window, i.e., it should modify the tag to show the current directory.

(Once I saw such a script somewhere, but I can't recall... :-(  )

TIA,
cheers,
-- 
++pac.

Peter A. Cejchan
Paleobiology Lab, GLU Acad. Sci. CZ
<pac@next.gli.cas.cz>
[http | ftp]://next.gli.cas.cz


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

* Re: [9fans] Q: cd 4 acme's 'win' window
  2002-07-25  8:23 [9fans] Q: cd 4 acme's 'win' window Peter A. Cejchan
@ 2002-07-25  8:32 ` Axel Belinfante
  2002-07-29 16:05   ` peter a. cejchan
  0 siblings, 1 reply; 3+ messages in thread
From: Axel Belinfante @ 2002-07-25  8:32 UTC (permalink / raw)
  To: 9fans

Haven't used it so far but found the following in acme(1) :

          Awd loads the tag line of its window with the directory in
          which it's running, suffixed -label (default rc); it is
          intended to be executed by a cd function for use in win win-
          dows.  An example definition is
               fn cd { builtin cd $1 && awd $sysname }

Axel.

> could you tell me, please, how to redefine a 'cd' command to use with acme's 
> 'win' window, i.e., it should modify the tag to show the current directory.



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

* Re: [9fans] Q: cd 4 acme's 'win' window
  2002-07-25  8:32 ` Axel Belinfante
@ 2002-07-29 16:05   ` peter a. cejchan
  0 siblings, 0 replies; 3+ messages in thread
From: peter a. cejchan @ 2002-07-29 16:05 UTC (permalink / raw)
  To: 9fans

Axel.Belinfante@cs.utwente.nl (Axel Belinfante) wrote in message news:<200207250832.g6P8Wrk03216@zamenhof.cs.utwente.nl>...
> Haven't used it so far but found the following in acme(1) :
> 
>           Awd loads the tag line of its window with the directory in
>           which it's running, suffixed -label (default rc); it is
>           intended to be executed by a cd function for use in win win-
>           dows.  An example definition is
>                fn cd { builtin cd $1 && awd $sysname }
> 
> Axel.
> 
> > could you tell me, please, how to redefine a 'cd' command to use with acme's 
> > 'win' window, i.e., it should modify the tag to show the current directory.

That's just what I was looking for (I browsed through the acme.ps, not
acme(1), though... :-(((
Thanks, Axel!

++pac.


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

end of thread, other threads:[~2002-07-29 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-25  8:23 [9fans] Q: cd 4 acme's 'win' window Peter A. Cejchan
2002-07-25  8:32 ` Axel Belinfante
2002-07-29 16:05   ` peter a. cejchan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).