9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] re: little gotcha
@ 2006-07-07 14:48 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2006-07-07 14:48 UTC (permalink / raw)
  To: 9fans

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

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] only message in thread

only message in thread, other threads:[~2006-07-07 14:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 14:48 [9fans] re: little gotcha erik quanstrom

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