don't do this under 9term in plan9port:

@{cd /somewhere; tar c} | tar x

took me a while to figure out what was going on, as just catting
the output looked fine.
1: "

the explaination is missing; i'm assuming that you're running into this
magic:

        fn cd { builtin cd $* && awd }

where awd outputs magic xterm escape codes.  if that's what you're talking
about the quick solution is

        @{ builtin cd /somewhere; tar c} | tar x

another way to work with this is to do this

        fn awd { tty -s < /dev/fd/1 && builtin awd $* }

asswards combackability.  ☺.  i tried to convince russ that
9term needed a /dev/label analog but he didn't agree.
his point was that you still need xterm escape sequences,
since most distributions use them in their shell prompts.


- erik

On Fri Jul  7 06:12:37 CDT 2006, [EMAIL PROTECTED] wrote:
> don't do this under 9term in plan9port:
> 
> @{cd /somewhere; tar c} | tar x
> 
> took me a while to figure out what was going on, as just catting
> the output looked fine.

Reply via email to