f



[9fans] p9p win(1) body file

Hello,

Suppose $winid is the id of an acme window running win(1). An echo ls
> /mnt/acme/$winid/body will execute ls, i.e. the input to body will
be treated as if we had just typed ls in $winid.

P9p on the other hand, will show ls in $winid but not execute it. Code reads:

win.c:372:         case 'E':    /* write to body or tag; can't affect us */

Is there a reason for the p9p behavior?

iru

0
iru
5/27/2013 8:42:53 PM
comp.os.plan9 9252 articles. 1 followers. quanstro (3876) is leader. Post Follow

0 Replies
266 Views

Similar Articles

[PageSpeed] 23

Reply:

Similar Artilces:

[9fans] Plan9port file(1) fails to detect OS X binaries
P9p file(1) fails to recognise 64-bit Mach-O binaries (thus breaking things like src(1) and friends). I don't know if it ever worked right. : iridium:aram; uname -a Darwin iridium 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64 : iridium:aram; : iridium:aram; gcc -v Using built-in specs. Target: i686-apple-darwin11 Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=3D/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=3D/share/man --enable-languages=3Dc,objc,c++,obj-c++ --program-prefix=3Dllvm- --program-transform-name=3D/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=3D/usr/lib --build=3Di686-apple-darwin11 --enable-llvm=3D/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCo= re/Developer/usr/local --program-prefix=3Di686-apple-darwin11- --host=3Dx86_64-apple-darwin11 --target=3Di686-apple-darwin11 --with-gxx-include-dir=3D/usr/include/c++/4.2.1 Thread model: posix gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00= ) : iridium:aram; : iridium:aram; which sam /Users/aram/plan9/bin/sam : iridium:aram; : iridium:aram; 9 file /Users/aram/plan9/bin/sam /Users/aram/plan9/bin/sam: as program : iridium:aram; file /Users/aram/plan9/bin/sam /Users/aram/plan9/bin/sam: Mach-O 64-bit executable x86_64 : iridium:aram; --=20 Aram H=C4=83v=C...

[9fans] Xen 3.1 w/ Plan 9 domU: plan9.img file after install not recognized.
Greetings, I followed these instructions: http://www.cs.bell-labs.com/wiki/plan9/Installing_in_Xen/index.html for installing plan9 in a Xen domU. It appeared to go swimmingly, until I tried booting the image file after my successful install: 216# xm create -c plan9.py Using config file "./plan9.py". Error: unknown image type: plan9 217# file plan9.img plan9.img: x86 boot sector 218# ls -l plan9.img -rw-r--r-- 1 root root 1073741824 2007-07-04 08:56 plan9.img 219# My plan9.py looks like: kernel = "/export/2/Guests/Plan9/9xenpcf.gz" builder = "plan9" memory =...

where shall i place a file like libeftapi.so.1.1.8 on LINUX OS?
I have here a file , i think a library to be used by a java demo program of a supplier providing serial interface api that will run on Linux. e.g. libeftapi.so.1.1.3 . Where shall I place this on Linux system??? what subdirectory? Or shall i place it in my JDK1.4\lib director(ies)? i have tried copying this file to different subdirectories in linux and in jdk/*/* .. but still arrive at the same RUN-TIME error... like this java.lang.UnsatisfiedLinkError: no eftapijava in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) at java.lang.Runtime.loadLibrary0(Runtime.ja...

Troi File Plug-in 2.7.1 (Mac OS 9.1)
Saw it on VersionTracker, downloaded, installed by dragging to FileMaker Extensions folder. Confirmed that I wanted to replace the existing earlier file of the same name. Launched a solution which uses File plug functions. Promptly presented with a message that the plug-in can't be found. Odd. It is right where it belongs, right where the previous working copy was. Have advised Troi, but I would suggest holding off updating until the problem is fixed. Try it if you want, but keep your 2.7 plug safe so you can put it back. Matt ...

Win-OS/2 with W32S vv. 1.25 or 1.30; reference please.
Hi Folks: I have a copy of Scientific WorkPlace v. 2.5 which contains Scientific Word ('word' processor that also handles equations and formulae for writing scientific and mathematical papers &c.). It looks as if it is a set of W3.1 programs, and so 'should' work under Win-OS/2. It says it needs W32S v. 1.30, but I.B.M. only ever produced up to v. 1.25. I seem to remember that there were some dodges to crowbar many W3.1 programs saying that they needed W32S v. 1.30 around this limitation, and I have seen references to a repository of such information, but can't reme...

[ANN] Graphviz for Mac OS X 1.12 (v8) [ANN] Graphviz for Mac OS X 1.12 (v8) [ANN] Graphviz for Mac OS X 1.12 (v8)
Hi all, It's been a busy week or two at Pixelglow Software. Here's a brand new version of Graphviz, all spit and polish now. You'll enjoy the integrated color and font panel support, hand cursor panning and remembered settings. And everyone's most asked for -- a single click on the Edit tool will now bring up the DOT code for you to edit, and of course when you save it the graph automatically re-renders. http://www.pixelglow.com/graphviz/download/ Here's the lowdown: Added edit, render and stop toolbar items [PCh]. Added integrated font and color fields and panels. Adde...

[ANN] Graphviz for Mac OS X 1.12 (v12) [ANN] Graphviz for Mac OS X 1.12 (v8) [ANN] Graphviz for Mac OS X 1.12 (v8)
Dear All: Them pesky bugs. A few more squashed courtesy of the sleepy pixel. http://www.pixelglow.com/graphviz/ What's new in v11 ------------ Fixed some comprehensive help [NRi]. Fixed scale option placeholder [NRi]. Improved application and document icons. Example files now double-click to open in application. What's new in v12 ------------ Added layout option tooltips [NRi]. Fixed layout popup button changing wrong graph [MKe]. Clicking on warning icon now opens Activity window [NRi, AM]. Revert menu item now disabled. Cheers, Glen Low --- pixelglow software | simply brillian...

[ANN] Graphviz for Mac OS X 1.12 (v10) [ANN] Graphviz for Mac OS X 1.12 (v8) [ANN] Graphviz for Mac OS X 1.12 (v8)
Hi all, Yet another Graphviz version. The old application icon had been voted off the island, and brand new application and document icons flown in for the task. Comprehensive help features in this version too. http://www.pixelglow.com/graphviz/ What's new: ------------ Added new application and document icons. Added comprehensive help. Fixed changes not affecting graph size displaying incorrectly [BTr]. Fixed export then close crashing the export of an open window. Improved shadowed frame for graph [NRi]. Improved status display [NRi]. Changed sources to pure BSD license. Cheers, Gl...

[ANN] Graphviz for Mac OS X 1.13 (v13) [ANN] Graphviz for Mac OS X 1.12 (v8) [ANN] Graphviz for Mac OS X 1.12 (v8)
Dear All, I've just released the newest version of Mac Graphviz, featuring shapefile support and enhanced zoom. http://www.pixelglow.com/graphviz/ Shapefiles supported include PDF, EPS, PS, JPEG, PNG and all Quicktime formats. Either specify an absolute or relative (to working directory) file path, or a URL using the shapefile attribute. Developers can now also use the graphviz.framework directly with #include headers in C e.g. using Xcode "Add Frameworks..."; documentation is available from the main Graphviz site -- http://www.research.att.com/sw/tools/graphviz/libguide.pdf...

Re: Win-OS/2 with W32S vv. 1.25 or 1.30; reference please
NNTP-Posting-Date: Tue, 30 Nov 2004 07:31:42 -0600 From: "Mark Dodel" <madodelNOSPAM@ptd.net> Organization: VOICE - http://www.os2voice.org Message-ID: <cLdq6jdb1N4Q-pn2-d2ybxtOt48cy@localhost> Newsgroups: comp.os.os2.apps Subject: Re: Win-OS/2 with W32S vv. 1.25 or 1.30; reference please. snip >See Jeffrey Race's article on "Installing a hybrid WIN32S 1.25/1.30 >xtension in WinOS/2 on OS/2 Warp 4" >http://www.os2voice.org/vnl/past_issues/VNL0503H/vnewsf3.htm Out of interest, what has happened to Judy's Warped World? Cheers, Tom ...

Mac file dialog extensions [2.8.1, Mac OS-X, xCode 2.4.1]
------_=_NextPart_001_01C755D2.E5708505 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Looking at the code in Mac/Carbon/FileDlg.cpp, at NavEventProc, in response to the kNavCBPopupMenuSelect event, I noticed that the code takes the LAST extension from the filter and attaches it to the file. I find this a bit strange, and I would expect the FIRST extension of each file type to be the most dominant one, so that it's used as the default extension if none is supplied. Is there any reason for using the last extension (o...

RE: Mac file dialog extensions [2.8.1, Mac OS-X, xCode 2.4.1]
OK, I will fix this, and send a patch. > -----Original Message----- > From: Vadim Zeitlin [mailto:vadim@wxwindows.org] > Sent: Sunday, March 04, 2007 11:38 PM > To: wx-users@lists.wxwidgets.org > Subject: Re: Mac file dialog extensions [2.8.1, Mac OS-X, xCode 2.4.1] >=20 > On Wed, 21 Feb 2007 18:11:23 +0200 Yaron Tadmor <YaronT@HumanEyes.com> > wrote: >=20 > YT> Looking at the code in Mac/Carbon/FileDlg.cpp, at NavEventProc, in > YT> response to the kNavCBPopupMenuSelect event, I noticed that the code > YT> takes the LAST extens...

Text File Workshop 1.1.1
Work with text file More Info: http://www.textfileworkshop.com/ Download URL: http://www.textfileworkshop.com/TextFileWorkshopInstall.exe Screenshot URL: http://www.textfileworkshop.com/screenshots/textfileworkshop.gif Order Page: http://www.textfileworkshop.com/ ...

FLAC 1.1.1 on OS/2
Did anybody succeed in building a correctly working FLAC on OS/2? The distribution page claims that OS/2 build is supported, but actually it is not even close to be supported... Fixing "obvious flaws", I can make the test scripts run, but they show subtle (?) corruption of the sound. Typical errors are like simple iterator on writable file creating APPLICATION block creating PADDING block is writable = 1 [S]VP try to write over STREAMINFO block... FLAC__metadata_simple_iterator_set_block() returned false like it should [S]VP next...

Possible to use only 1 "write labview measurement file" for writing several files (1 file per channel) ?
Hello, &nbsp; I acquire data on 16 channels and I would like to write 1 file per channel acquired. So I would like to write 16 files. &nbsp; But is it possible to do that by using only 1 "write labview measurement file" VI ? If so, how ? (Indeed, I want to avoid using 16&nbsp; "write labview measurement file" VIs !) &nbsp; Thanks in advance, &nbsp; Julien &nbsp; PS : please excuse my english I am really sorry but that's not very clear.&nbsp;&nbsp;&nbsp;&nbsp; :-) &nbsp; What do you mean exactly by "index on/out the channel" ? &nbsp; I can tell you that my program structure is the following : &nbsp; I am really sorry but that's not very clear.&nbsp;&nbsp;&nbsp;&nbsp; :-) &nbsp; What do you mean exactly by "index on/out the channel" ? &nbsp; I can tell you that my program structure is the following : &nbsp; I am really sorry but that's not very clear.&nbsp;&nbsp;&nbsp;&nbsp; :-) &nbsp; What do you mean exactly by "index on/out the channel" ? &nbsp; I can tell you that my program structure is the following : &nbsp;&nbsp; I am really sorry but that's not very clear.&nbsp;&nbsp;&nbsp;&nbsp; :-) &nbsp; What do you mean exactly by "index on/out the channel" ? &nbsp; I can tell you that my program structure is the following : &nbsp;&nbsp;&nbsp; I am real...

1 - 1, 1 -1, 1-1, 1
Hi, I have a question regarding lexical analysis. I recently came across a bug in our lexical analyser in phc (www.phpcompiler.org), that I am unsure how to solve. This is the problem: our current definition for integer constant looks something like INT ([1-9][0-9]*)|0 In particular, note that it does not allow for an (optional) "+" or "-" at the start of the integer. This means that the strings "1 - 1", "1 -1" and "1-1" all generate the same sequence of three tokens INT(1), OP(-), INT(1), for which the syntax analyser generates the subtree BIN_OP(-, 1, 1). For the string "1 - -1", the lexer (unsurprisingly) generates INT(1), OP(-), OP(-), INT(1). The syntax analyser recognises this as BIN_OP(1, UNARY_OP(-, 1)). In other words, the second "-" is treated as a unary operator, rather than as part of the number. This works fine, with the sole exception of the number "-2147483648". The problem is, of course, overflow: -2147483648 is a valid negative number (assuming 32-bit numbers), but the integer 2147483648 is _not_ a valid positive number. Thus, the above method of dealing with "-" as a unary operator breaks down. The solution is to interpret the "-" as part of the number, and generate INT(-2147483648), rather than OP(-), INT(...). However, changing the definition of INT to INT [+-]?([1-9][0-9]*)|0 causes "1-1" to be recognised as INT(1), INT(-1), which is...

Win Win Win Win......
Win Win Win Win...... Win cash Rs.10,000. SMS BLUFF to 57333 (Only For Indian) Free Registration! - Register here Free:- http://offr.biz/HLDDT337130BVGMJPF (....Free Offer is Valid Only For First 250 members who Registered...) ------------------------------------------------------------------------------- ...

[9fans] plot(1) to file?
Hey guys, I've got some data I want to put in a graph. I got graph |plot going easy enough, which gets me a nice pic on the screen, but I can't work out how to generate an image file instead. plot(1) mentions troff which convinces me that it is possible, I just can't figure out how. I'm using p9p, otherwise I could probably do something clever with /dev/screen... -sqweek > I've got some data I want to put in a graph. I got graph |plot going > easy enough, which gets me a nice pic on the screen, but I can't work > out how to generate an image file instead....

[9fans] Plan9 as an everyday OS
--0016364273773c02e8046e5c23bf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi all, I've just installed (with few difficulties, I must admit) a fresh Plan9 on my Dell Inspiron laptop. I played with it and I'd really like to study it and get used to it. Ideally, I would like to make it my "everyday OS", to do all the nice stuff you can do with a computer (a part from work and study), like browsing the web, watching movies and so on... Is anyone using it for such things? Is there, for example, a decent browser for Plan9 (I haven't found any)...

1.1.1.1 ?
hi my firewall logs dropped packets from an internal IP address trying to contact 1.1.1.1 through port 9999. Any ideas whether 1.1.1.1 is valid IP? and what is port 9999?? thanks mike wrote: > hi > > my firewall logs dropped packets from an internal IP address trying to > contact 1.1.1.1 through port 9999. Any ideas whether 1.1.1.1 is valid > IP? and what is port 9999?? > thanks These trojans *BlitzNet*, *Backdoor.Oracle*, *Backdoor.Spadeace* uses port 9999 -- S.S. "StarScripter" <Star@privacy.net> wrote in message news:<bv8ejj$p54t3$1@ID-185702.new...

Convert Flotherm V5.1 file to Flotherm V4.1 file
I have files done in Flotherm version 5.1 previously, unfortunately now I only have the Flotherm version 4.1 software in my school. How do I convert the files so that I can open the files in the older version? ...

[9fans] shell for wins in p9p acme
Hi, what's the best solution if I want all the wins I open in acme to automatically have rc as a shell (with -l, so that my lib/profile has been read too), while still keeping bash as my SHELL when I'm out of acme, for various reasons. So far I simply have a script/launcher for acme that exports the SHELL to rc before starting acme, but I still have to source lib/profile everytime I open a new win, which is a bit annoying. Of course I could change src/cmd/9term/rcstart.c, but if there's a less intrusive solution I'd like to hear it please. Cheers, Mathieu why do you want t...

[9fans] dvips(1) for Plan9: done
Hello, With some delay, as usual, the work is done and now dvips(1) is up and running in kerTeX 0.8.0.0. As an "advertising" feature, I have put on the site a (poor resolution) jpeg conversion of Tomas Rokicki test page (generated on Plan9 so it works...) just to give you the incentive to look. Next step (and last for first complete release) will be MetaPost. Here is an extract of the README file to give you a taste of the work and modifications. But mind you, it is called README, and I really mean it ;-) ----------8< KerTeX dvips(1) is a modified version. S...

[9fans] p9p host os recommendation
Hi Everyone, thanks for all the help with qemu and such. I've managed to get it running, but it appears to completely hog my XP laptop. So I'm abandoning my quest for P9 in a VM for the moment. I will now attempt at running P9P instead. Since it runs on so many platforms, what would people recommend I use as the host OS? Bearing in mind that I am working in a Windows only environment with an XP laptop, I'm looking for something I can run under VMWare. (I've got a reasonably chunky laptop with 1.5GB and 1.7GHz.) Essentially, which Unix variant is easiest to install on VMWa...

Web resources about - [9fans] p9p win(1) body file - comp.os.plan9

GSoC (Plan 9 wiki)
Open source distributed operating system Plan 9 from Bell Labs.

[9fans] SO for plan9?
9fans archive / 2000 / 06 / 529 prev next search terms are split using tokenize from: regexp searches From: lines subject: regexp searches Subject: ...

Blog Archive
John Floren Home - Blog 2012 12/22 - Disassembling MyVu Shades 301 Video Glasses - ( Comments ) 9/27 - Found some old RIT pictures - ( Comments ...

Nielsen research: Social media impressions in Facebook ads
AdvertisingEffectiveness: Understanding the Value of a Social Media Impression APRIL 2010 INSIDE: …

Plan 9 from User Space
quotes - docs - repo - golang - sam - man - acme - Glenda - 9times - harmful - 9P - cat-v.org Related sites: - site updates - site map - man(1) ...

9fans archive /
9fans archive / search terms are split using tokenize from: regexp searches From: lines subject: regexp searches Subject: lines before: yyyy ...

[9fans] 9pi
9fans archive / 2012 / 08 / 129 prev next search terms are split using tokenize from: regexp searches From: lines subject: regexp searches Subject: ...

Resources last updated: 3/6/2016 7:03:55 AM