9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] a little gotcha
@ 2006-07-07 14:34 erik quanstrom
  2006-07-07 15:17 ` rog
  0 siblings, 1 reply; 18+ messages in thread
From: erik quanstrom @ 2006-07-07 14:34 UTC (permalink / raw)
  To: 9fans

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, rog@vitanuova.com 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.


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [9fans] a little gotcha
@ 2006-07-07 11:06 rog
  2006-07-07 16:45 ` Russ Cox
  0 siblings, 1 reply; 18+ messages in thread
From: rog @ 2006-07-07 11:06 UTC (permalink / raw)
  To: 9fans

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.


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

end of thread, other threads:[~2006-07-09  0:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 14:34 [9fans] a little gotcha erik quanstrom
2006-07-07 15:17 ` rog
2006-07-07 16:46   ` Russ Cox
2006-07-07 16:56     ` rog
2006-07-07 17:10       ` Micah Stetson
2006-07-07 17:30       ` quanstro
2006-07-07 17:38         ` quanstro
2006-07-07 19:15         ` Charles Forsyth
2006-07-08  2:55           ` Ronald G Minnich
2006-07-08 17:47             ` David Leimbach
2006-07-08 19:08             ` Micah Stetson
2006-07-09  0:45               ` Ronald G Minnich
2006-07-09  0:39                 ` quanstro
2006-07-07 18:19     ` Paul Lalonde
2006-07-07 18:26       ` Lyndon Nerenberg
2006-07-07 19:00         ` David Leimbach
  -- strict thread matches above, loose matches on Subject: below --
2006-07-07 11:06 rog
2006-07-07 16:45 ` Russ Cox

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).