f



Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: token '=': syntax error"

I'm in /sys/src/9/pc and I type

`mk CONF=9pcdisk`

and rc gives me the error "rc: #d/0: token '=': syntax error".

Why is this? Just doing mk works fine (I think).

Thanks! Plan9 looks very cool... just finished reading through intro (all of it).
0
kalaracey (5)
7/19/2012 9:07:41 AM
comp.os.plan9 9252 articles. 1 followers. quanstro (3876) is leader. Post Follow

13 Replies
1247 Views

Similar Articles

[PageSpeed] 12

you're using backquotes, why? that would be `{mk CONF=3D9pcdisk} in rc's
syntax.

now to compile that kernel the syntax is:
% mk 'CONF=3Dpcdisk'

now are you sure you want a pcdisk?=20

On Jul 19, 2012, at 6:07 AM, kalaracey@gmail.com wrote:

> I'm in /sys/src/9/pc and I type
>=20
> `mk CONF=3D9pcdisk`
>=20
> and rc gives me the error "rc: #d/0: token '=3D': syntax error".
>=20
> Why is this? Just doing mk works fine (I think).
>=20
> Thanks! Plan9 looks very cool... just finished reading through intro =
(all of it).
>=20

---
Federico G. Benavento
benavento@gmail.com

0
benavento (417)
7/19/2012 9:16:16 AM
--0015174757f6baa65404c52b40a6
Content-Type: text/plain; charset=UTF-8

9pcdisk is the output file, not the configuration file. Also you need to
quote the = because it is special to rc (assignment).
Try
    mk 'CONF=pcdisk'

On 19 July 2012 10:07, <kalaracey@gmail.com> wrote:

>
> `mk CONF=9pcdisk`

--0015174757f6baa65404c52b40a6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

9pcdisk is the output file, not the configuration file. Also you need to qu=
ote the =3D because it is special to rc (assignment).<div>Try</div><div>=C2=
=A0 =C2=A0 mk &#39;CONF=3Dpcdisk&#39;<br><br><div class=3D"gmail_quote">On =
19 July 2012 10:07,  <span dir=3D"ltr">&lt;<a href=3D"mailto:kalaracey@gmai=
l.com" target=3D"_blank">kalaracey@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><br>
`mk CONF=3D9pcdisk`</blockquote></div><br></div>

--0015174757f6baa65404c52b40a6--

0
7/19/2012 9:17:47 AM
The = character have a special meaning for
the rc shell and should be escaped.

Type this instead:

% mk CONF'='9pcdisk

-- 
David du Colombier

0
0intro (136)
7/19/2012 9:20:56 AM
On Thursday, July 19, 2012 5:16:16 AM UTC-4, Federico Benavento wrote:
> you&#39;re using backquotes, why? that would be `{mk CONF=9pcdisk} in rc&#39;s
> syntax.
> 
> now to compile that kernel the syntax is:
> % mk &#39;CONF=pcdisk&#39;
> 
> now are you sure you want a pcdisk? 
> 
> On Jul 19, 2012, at 6:07 AM, kalaracey@gmail.com wrote:
> 
> &gt; I&#39;m in /sys/src/9/pc and I type
> &gt; 
> &gt; `mk CONF=9pcdisk`
> &gt; 
> &gt; and rc gives me the error &quot;rc: #d/0: token &#39;=&#39;: syntax error&quot;.
> &gt; 
> &gt; Why is this? Just doing mk works fine (I think).
> &gt; 
> &gt; Thanks! Plan9 looks very cool... just finished reading through intro (all of it).
> &gt; 
> 
> ---
> Federico G. Benavento
> benavento@gmail.com

Sorry; I was just using backquotes to quote it here. Literally, I just typed
mk CONF=9pcdisk.
0
kalaracey (5)
7/19/2012 2:25:42 PM
On Thursday, July 19, 2012 5:17:47 AM UTC-4, Charles Forsyth wrote:
> 9pcdisk is the output file, not the configuration file. Also you need to =
quote the =3D because it is special to rc (assignment).
> Try</div>
> =A0 =A0 mk &#39;CONF=3Dpcdisk&#39;
>=20
>=20
> On 19 July 2012 10:07,  <span dir=3D"ltr">&lt;<a href=3D"mailto:kalaracey=
@gmail.com" target=3D"_blank">kalaracey@gmail.com</a>&gt;</span> wrote:
>=20
> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:=
1px #ccc solid;padding-left:1ex">
>=20
> `mk CONF=3D9pcdisk`</blockquote></div>
> </div>

Oh 9pcdisk is the OUTPUT file! That's odd... I'm following the instructions=
 for compiling in this (http://lsub.org/who/nemo/9.pdf)  guide to the plan =
9 3ed source code, and on pg 24, it says to do exactly that, mk CONF=3D9pcd=
isk. I tried mk 'CONF=3Dpcdisk' and it works. Thanks.
0
kalaracey (5)
7/19/2012 2:25:53 PM
On Thu, Jul 19, 2012 at 7:25 AM, Kyle Laracey <kalaracey@gmail.com> wrote:
> On Thursday, July 19, 2012 5:17:47 AM UTC-4, Charles Forsyth wrote:
>> 9pcdisk is the output file, not the configuration file. Also you need to=
 quote the =3D because it is special to rc (assignment).
>> Try</div>
>>     mk &#39;CONF=3Dpcdisk&#39;
>>
>>
>> On 19 July 2012 10:07,  <span dir=3D"ltr">&lt;<a href=3D"mailto:kalarace=
y@gmail.com" target=3D"_blank">kalaracey@gmail.com</a>&gt;</span> wrote:
>>
>> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex">
>>
>> `mk CONF=3D9pcdisk`</blockquote></div>
>> </div>
>
> Oh 9pcdisk is the OUTPUT file! That's odd... I'm following the instructio=
ns for compiling in this (http://lsub.org/who/nemo/9.pdf)  guide to the pla=
n 9 3ed source code, and on pg 24, it says to do exactly that, mk CONF=3D9p=
cdisk. I tried mk 'CONF=3Dpcdisk' and it works. Thanks.
>

But as Federico mentioned, you might not want pcdisk--that's for
running with a kfs root, which isn't officially supported any more. If
you were looking at the 3e guide, that might explain it. These days,
for a terminal, you probably want pcf (pc + fossil).


john

0
john9320 (125)
7/19/2012 4:59:15 PM
> But as Federico mentioned, you might not want pcdisk--that's for
> running with a kfs root, which isn't officially supported any more. If
> you were looking at the 3e guide, that might explain it. These days,
> for a terminal, you probably want pcf (pc + fossil).

for a terminal, ideally one would be booting off a file server,
and have no local storage.  

but local storage can't be avoided,
as i see it, on a standalone terminal, simple, speedy, safe
would trump fs features.  so kfs can't just be excluded.

your tradeoffs may vary.  :-)

- erik

0
quanstro (3876)
7/19/2012 5:21:04 PM
On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom <quanstro@quanstro.net> wrote:
>> But as Federico mentioned, you might not want pcdisk--that's for
>> running with a kfs root, which isn't officially supported any more. If
>> you were looking at the 3e guide, that might explain it. These days,
>> for a terminal, you probably want pcf (pc + fossil).
>
> for a terminal, ideally one would be booting off a file server,
> and have no local storage.
>
> but local storage can't be avoided,
> as i see it, on a standalone terminal, simple, speedy, safe
> would trump fs features.  so kfs can't just be excluded.
>
> your tradeoffs may vary.  :-)
>
> - erik
>

There's certainly reasons for using kfs, but for a new user I'd
probably recommend fossil simply because the documentation and most
9fans will assume you're using fossil.

But yeah, *best* option is to netboot a 9pc kernel, it's lovely to
just hit the power button when you're done working.


John

0
john9320 (125)
7/19/2012 5:48:06 PM
On Thursday, July 19, 2012 1:48:06 PM UTC-4, John Floren wrote:
> On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom &lt;quanstro@quanstro.net&gt; wrote:
> &gt;&gt; But as Federico mentioned, you might not want pcdisk--that&#39;s for
> &gt;&gt; running with a kfs root, which isn&#39;t officially supported any more. If
> &gt;&gt; you were looking at the 3e guide, that might explain it. These days,
> &gt;&gt; for a terminal, you probably want pcf (pc + fossil).
> &gt;
> &gt; for a terminal, ideally one would be booting off a file server,
> &gt; and have no local storage.
> &gt;
> &gt; but local storage can&#39;t be avoided,
> &gt; as i see it, on a standalone terminal, simple, speedy, safe
> &gt; would trump fs features.  so kfs can&#39;t just be excluded.
> &gt;
> &gt; your tradeoffs may vary.  :-)
> &gt;
> &gt; - erik
> &gt;
> 
> There&#39;s certainly reasons for using kfs, but for a new user I&#39;d
> probably recommend fossil simply because the documentation and most
> 9fans will assume you&#39;re using fossil.
> 
> But yeah, *best* option is to netboot a 9pc kernel, it&#39;s lovely to
> just hit the power button when you&#39;re done working.
> 
> 
> John

Wow so do you guys actually netbook Plan9? Where's the central
server? where you work / university or something? Or do you just
have it set up at your homes? Sounds pretty cool...
0
kalaracey (5)
7/23/2012 8:32:12 AM
I'm currently traveling but I simply install it on all PCs I can find.
If people ask me where their data is I start catclock and pretend I
thought plan9 was a game.

0
23hiro1 (20)
7/23/2012 11:14:11 AM
On Monday 23 July 2012 08:32:12 Kyle Laracey wrote:
> On Thursday, July 19, 2012 1:48:06 PM UTC-4, John Floren 
wrote:
> > On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom
> > &lt;quanstro@quanstro.net&gt; wrote: &gt;&gt; But as 
Federico mentioned,
> > you might not want pcdisk--that&#39;s for &gt;&gt; running 
with a kfs
> > root, which isn&#39;t officially supported any more. If 
&gt;&gt; you were
> > looking at the 3e guide, that might explain it. These days, 
&gt;&gt; for
> > a terminal, you probably want pcf (pc + fossil).
> > &gt;
> > &gt; for a terminal, ideally one would be booting off a file 
server,
> > &gt; and have no local storage.
> > &gt;
> > &gt; but local storage can&#39;t be avoided,
> > &gt; as i see it, on a standalone terminal, simple, speedy, 
safe
> > &gt; would trump fs features.  so kfs can&#39;t just be 
excluded.
> > &gt;
> > &gt; your tradeoffs may vary.  :-)
> > &gt;
> > &gt; - erik
> > &gt;
> > 
> > There&#39;s certainly reasons for using kfs, but for a new 
user I&#39;d
> > probably recommend fossil simply because the documentation 
and most
> > 9fans will assume you&#39;re using fossil.
> > 
> > But yeah, *best* option is to netboot a 9pc kernel, it&#39;s 
lovely to
> > just hit the power button when you&#39;re done working.
> > 
> > 
> > John
> 
> Wow so do you guys actually netbook Plan9? Where's the central
> server? where you work / university or something? Or do you 
just
> have it set up at your homes? Sounds pretty cool...

My fs/auth server is at my house, and I netboot 9vx off of it 
when I need to get real work done. There used to be a server at 
RIT that you could do the same thing at, but it doesn't seem to 
be online anymore.

--
Veety

0
mveety (23)
7/23/2012 12:29:30 PM
On Monday 23 July 2012 13:14:11 hiro wrote:
> I'm currently traveling but I simply install it on all PCs I can 
find.
> If people ask me where their data is I start catclock and 
pretend I
> thought plan9 was a game.

Catclock isn't a game? I always thought that catclock was the best 
mmorpg/fps/rts game ever.

--
Veety

0
mveety (23)
7/23/2012 12:32:13 PM
On Mon, Jul 23, 2012 at 1:32 AM, Kyle Laracey <kalaracey@gmail.com> wrote:
> On Thursday, July 19, 2012 1:48:06 PM UTC-4, John Floren wrote:
>> On Thu, Jul 19, 2012 at 10:21 AM, erik quanstrom &lt;quanstro@quanstro.net&gt; wrote:
>> &gt;&gt; But as Federico mentioned, you might not want pcdisk--that&#39;s for
>> &gt;&gt; running with a kfs root, which isn&#39;t officially supported any more. If
>> &gt;&gt; you were looking at the 3e guide, that might explain it. These days,
>> &gt;&gt; for a terminal, you probably want pcf (pc + fossil).
>> &gt;
>> &gt; for a terminal, ideally one would be booting off a file server,
>> &gt; and have no local storage.
>> &gt;
>> &gt; but local storage can&#39;t be avoided,
>> &gt; as i see it, on a standalone terminal, simple, speedy, safe
>> &gt; would trump fs features.  so kfs can&#39;t just be excluded.
>> &gt;
>> &gt; your tradeoffs may vary.  :-)
>> &gt;
>> &gt; - erik
>> &gt;
>>
>> There&#39;s certainly reasons for using kfs, but for a new user I&#39;d
>> probably recommend fossil simply because the documentation and most
>> 9fans will assume you&#39;re using fossil.
>>
>> But yeah, *best* option is to netboot a 9pc kernel, it&#39;s lovely to
>> just hit the power button when you&#39;re done working.
>>
>>
>> John
>
> Wow so do you guys actually netbook Plan9? Where's the central
> server? where you work / university or something? Or do you just
> have it set up at your homes? Sounds pretty cool...
>

Here at work, we've got a cpu/auth/file server running fossil and
venti off a Coraid storage appliance, sitting in the machine room. We
netboot some terminals and a 32-core test server from it.

At home, I've got a cpu/auth/file server running on an old Thinkpad,
but I generally just drawterm in since 1. it's a hassle to plug
yourself into the wired network and 2. I rarely have a netbootable
terminal at home.

Netbooting is great, though. You can also cheat and install Plan 9 on
the disk, but then specify that root is from a remote server, meaning
your kernel will boot from the hard drive but after bootup it's
basically idle.


John

0
john9320 (125)
7/23/2012 4:42:46 PM
Reply:

Similar Artilces:

ABF "error: expected identifier or '(' before '=' token"
When trying to compile an ABF application on a Red Hat Enterprise Linux Server release 5.4,Intel(R) Xeon(R) and II 9.1.2 (int.lnx/ 100)NPTL, I get the following errors : "Processing form 'ylxo60701p' . . . Forcing compilation to create object file. Compiling '218688.c' . . . 218688.c:1420: error: expected identifier or '(' before '=' token E_AB001E Compilation failed" I've found out that the form in question (218688.c) is missing the global FRAME identifier here : FRAME * = { &_form0 }; which should be replaced wi...

Compile time error: "error: 'write_n' is not a member of 'ACE'"
Hi All, ACE VERSION: 5.5.6 HOST MACHINE and OPERATING SYSTEM: LINUX, Kernel 2.6.19-1.2288.fc5, i686 I tried to compile the program given below, but was giving following compilation error: Please help me to compile this proram --------------------------------------- COMPILATION------------------------------------------ [root@paresh ACE_MSG_BLOCK]# g++ main.C -o main -lACE -IACE_ROOT main.C: In function 'int main(int, char**)': main.C:9: error: 'read_n' is not a member of 'ACE' main.C:20: error: 'write_n' is not a member of 'ACE' ----------------------------------END COMPILATION-------------------------------------------- ---------------------------------------------PROGRAM main.C--------------------------------------------- #include "ace/OS.h" #include "ace/Message_Block.h" int main(int argc, char* argv[]) { ACE_Message_Block *head = new ACE_Message_Block(BUFSIZ); ACE_Message_Block *mblk = head; for(;;) { ssize_t nbytes = ACE::read_n(ACE_STDIN, mblk- >wr_ptr(), mblk->size()); if(nbytes <= 0) break; mblk->wr_ptr(nbytes); mblk->cont(new ACE_Message_Block(BUFSIZ)); mblk = mblk->cont(); } for(mblk = head; mblk != 0/*NULL POINTER*/; mblk = mblk- >cont()) { ACE::write_n(ACE_STDOUT, mblk-&g...

'Parse error' problem in "isset" and "empty"
I've been having some problems with a parse error that I can't figure out (PHP 4.3.11 on Solaris9). Sample code: <?php // getting strange parse errors on this class A { var $value; function A() { $this->value = 1; } function getValue() { return $this->value; } } $a = new A(); if (!empty($a->getValue())) { echo "success"; } else { echo "failure"; } ?> The result of this is: Parse error: parse error, unexpected '(', expecting ')' in /foo/public_html/parse_errors.php on line 15 I also get the same effect with "iss...

"error C2057: expected constant expression", "error C2466: cannot allocate an array of constant size 0". Why doesn't my simple program work???
Hi: I have the following simple program: #include<iostream> using namespace std; int main(int argc, char* argv[]){ const double L = 1.234; const int T = static_cast<const int>(L); int arr[T]; return 0; } But I get the error message shown in title. Why doesn't my program work? Thanks for help! On 2007-01-20 17:08, hn.ft.pris@gmail.com wrote: > Hi: > I have the following simple program: > > #include<iostream> > using namespace std; > int...

Re: [ace-users] Compile time error: "error: 'write_n' is not a member of 'ACE'"
Hi, You lack an include, include "ace/ACE.h" in your program Regards, Johnny Willemsen Remedy IT Postbus 101 2650 AC Berkel en Rodenrijs The Netherlands www.theaceorb.nl / www.remedy.nl "Paresh" <pareshspednekar@gmail.com> wrote in message news:<1173985162.346951.209100@y66g2000hsf.googlegroups.com>... > Hi All, > > ACE VERSION: 5.5.6 > HOST MACHINE and OPERATING SYSTEM: LINUX, Kernel 2.6.19-1.2288.fc5, > i686 > > I tried to compile the program given below, but was giving following > compilation error: > Please help me to compile this proram > > --------------------------------------- > COMPILATION------------------------------------------ > [root@paresh ACE_MSG_BLOCK]# g++ main.C -o main -lACE -IACE_ROOT > main.C: In function 'int main(int, char**)': > main.C:9: error: 'read_n' is not a member of 'ACE' > main.C:20: error: 'write_n' is not a member of 'ACE' > ----------------------------------END > COMPILATION-------------------------------------------- > > > > ---------------------------------------------PROGRAM > main.C--------------------------------------------- > > #include "ace/OS.h" > #include "ace/Message_Block.h" > > int main(int argc, char* argv[]) { > ACE_Message_Block *head = new ACE_Message_Block(BUFSIZ); > ...

xclock fail with "Error: Can't open display" on "ssh -X"
I can ssh -X to a RHEL4 linux and a HP-UX B.11.23 U ia64 computer from a FC6 linux computer. I can run xclock or xterm on the RHEL4 linux computer. However, running xclock or xterm on the HP-UX B.11.23 U ia64 computer has these errors: bash-3.2# xclock Error: Can't open display: Error: Couldn't find per display information bash-3.2# xterm xterm Xt error: Can't open display: %s bash-3.2# sshd -version sshd: illegal option -- v OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006 HP-UX Secure Shell-A.04.50.021, HP-UX Secure Shell version Using "ssh -Y" to login to the RHEL4 and HPUX computer get the same result. Please help so that I can run xclock or xterm on the HPUX computer. On Mon, 5 Jan 2009 17:34:57 -0800 (PST), TsanChung wrote: > I can ssh -X to a RHEL4 linux and a HP-UX B.11.23 U ia64 computer > from a FC6 linux computer. > I can run > xclock or xterm > on the RHEL4 linux computer. > However, running > xclock or xterm > on the HP-UX B.11.23 U ia64 computer has these errors: might try xhost +localhost ssh RHEL4.ip.here You may want to verify your hupx login script(s) does not hard code $DISPLAY On Jan 5, 9:01=A0pm, Bit Twister <BitTwis...@mouse-potato.com> wrote: > On Mon, 5 Jan 2009 17:34:57 -0800 (PST), TsanChung wrote: > > I can ssh -X to a RHEL4 linux and a HP-UX B.11.23 U ia64 computer > > from a FC6 linux computer. > > I can run > > xclock or xterm &...

xclock fail with "Error: Can't open display:" on "ssh -X"
I can ssh -X to a RHEL4 linux and a HP-UX B.11.23 U ia64 computer from a FC6 linux computer. I can run xclock or xterm on the RHEL4 linux computer. However, running xclock or xterm on the HP-UX B.11.23 U ia64 computer has these errors: bash-3.2# xclock Error: Can't open display: Error: Couldn't find per display information bash-3.2# xterm xterm Xt error: Can't open display: %s bash-3.2# sshd -version sshd: illegal option -- v OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006 HP-UX Secure Shell-A.04.50.021, HP-UX Secure Shell version Using "ssh -Y"...

ipfw 'table' doens't exist? Gives "ipfw: setsockopt(IP_FW_TABLE_ADD): Invalid argument" Error
Hey, I've recently setup ipfw to attempt to block some of the abusers trying to gain access to my web server and have run into a problem. I was originally using add rules like so: add 600 deny log all from 218.0.0.0/8 to any in add 601 deny log all from 202.0.0.0/7 to any in add 602 deny log all from 219.0.0.0/8 to any in But after reading some information from newsgroups I was told it's best to use a table to deny large amounts of people as it improves efficiency, and was told to setup my ipfw.rules like so: ipfw table 666 add 218.0.0.0/8 ipfw table 666 add 202.0.0.0/7 ipfw table 666 add 219.0.0.0/8 ipfw table 666 add 222.0.0.0/8 ipfw table 666 add 124.0.0.0/8 ipfw add 400 deny ip from table(666) to any However when trying to run this, I get a seres of errors that all repeat the same thing: "ipfw: setsockopt(IP_FW_TABLE_ADD): Invalid argument" Not sure how to resolve this and my extensive Google searches have turned up nothing besides C scripting for ipfw. Any help would be greatly appreciated. Thanks in Advance. Inferno wrote: > ipfw table 666 add 218.0.0.0/8 > ipfw table 666 add 202.0.0.0/7 > ipfw table 666 add 219.0.0.0/8 > ipfw table 666 add 222.0.0.0/8 > ipfw table 666 add 124.0.0.0/8 > ipfw add 400 deny ip from table(666) to any > > However when trying to run this, I get a seres of errors that all > repeat the same thing: > > "ipfw: setsockopt(IP_FW_TABLE_ADD...

Error
Why does the code below give me this error? What can I do to fix it? /people3.rb:4:in `+': can't convert nil into String (TypeError) om C:/Ruby192/people3.rb:4:in `to_s' class Person attr_accessor :fname, :lname, :age def to_s "hi " + @fname + ", " + @lname end end Thanks PR -- Posted via http://www.ruby-forum.com/. On Sep 29, 12:03=A0am, Paul Roche <prpaulro...@gmail.com> wrote: > Why does the code below give me this error? What can I do to fix it? > > /people3.rb:4:in `+': can't convert nil into String (...

Re: Mandis Quotes (aka retiring """ and ''')
Russell Nelson wrote: > If you need to put a single quote in, then you put > an arbitrary string in-between the single quotes which does NOT > appear in the string. For example, "Bill's house" becomes > 'x'Bill's house'x'. So possible examples might be: 'xx'somebody's mother'xx' 'xy'somebody's father'xy' 'wink'somebody's uncle'wink' 'quote'somebody's body'quote' not terrible easy on the eyes, and why use the single quote at all? Why no= t use a similar pattern li...

'quote' to `quote'
Hi, what is the way to change 'shocking,' said Sally into `shocking', said Sally automatically as Tex read the author.txt file? Does this method also change "whatever happens," he said into ``whatever happens.'' he said. David R David R <angel_ov_north@tiscali.co.uk> wrote: > what is the way to change 'shocking,' said Sally > into `shocking', said Sally > automatically as Tex read the > author.txt file? It is possible (e.g. via an active '). But I suspect, this is a lot easier using a script language or similar. Also you should consider ['s] coming from genitive and other uses of the apostrophe. Yours sincerely Heiko <oberdiek@uni-freiburg.de> David R wrote: > what is the way to change 'shocking,' said Sally > into `shocking', said Sally > automatically as Tex read the > author.txt file? Tricky thing to do on the TeX level because you can't tell a quote from an apostrophe in a reliable and efficient way. This will probably require pre-processing of author.txt (it's no big deal with regular expressions). > Does this method also change "whatever happens," he said > into ``whatever happens.'' he said. Assuming you're using Latex: try the csquotes package. See \MakeOuterQuote{"} in the tutorial. -- Sender address blackholed; do not reply to From: address. You can still reach me by email at: plehman gmx net. On Wed, 10 Ja...

solution to ""ERROR: Output argument 'a' was not assigned during call to 'xlim'": Link to download xlim.m/ylim.m is not updated
Hi, I found technical solution to download new fixed xlim.m/ylim.m files in this adress: http://www.mathworks.com/support/solutions/en/data/1-19WWP/index.html?product=CO&solution=1-19WWP However they refering to a link to get the fixed files - but the link is not available any more. Do you know where I can download those files from? Thanks, Gilad "Gilad Asseraf" <gilad_asseraf@amat.com> wrote in message news:hsr9v6$333$1@fred.mathworks.com... > Hi, > I found technical solution to download new fixed xlim.m/ylim.m files in > this adress: &g...

Re: Mandis Quotes (aka retiring """ and ''') #2
Russell Nelson notes: > = > Choose poor examples, and then criticize them as poor choices? > = true enough, but the suggested scheme introduces another variable into the = language syntax; I might always make good choices <wink> on what delimiter = I choose, but I might also end up working on code written by someone else w= ho makes less good choices. Or vice versa. = > Exactly. It really would be better to have one(1) string literal > which can quote anything without reverting to backslashing. Why one? > Simpler parsing, simpler learning of the language, fewe...

ERROR: "Method 'Connection' of object '_Current Project' failed."
I have created a front-end application and back-end database. Everytime that I opened the program in the past, it open just fine with no errors when linking to the back-end tables. lately, I get the following error message whenever I open my application: ERROR: "Method 'Connection' of object '_Current Project' failed. Check to see if you installed the tables used for storing data is in the default directory. -2147024769 After clicking, "OK", my application continues on to open anyway. I have checked the application to determine if the intended location for the link tables where in view and relinked them to be sure. Each of the forms continue to show data from the backend. But, I continue to get the above error message. Any clues? John ...

expect script : "expect 'X', send 'Y'" until expect "Z".
Hi. I am having some difficulties with an expect script, and was hoping someone could help me out here. I am running a scripted telnet session to some 'black box' appliance, and would like to retrieve the output of a particular command. However, the output of the command is longer than a single screen full. Since it was designed for interactive use, you get the magic string "[=More (xx%)=]" after each screenfull of output, at which point the command expects you to hit the spacebar in order to get another screenfull of output. Of course, I could just "send <space>" a few times, but since I have no idea how long the output will be in advance, this does not appear to be such a good approach. It looks like I would have to do something were I keep sending a space as long as I keep getting/expecting the string "[=More (xx%)=]", and stop doing that after I have gotten/expected the prompt again. (which is "% "). Does anyone have any idea on how to do such a thing in expect ? Of course, other suggestions to tackle the same problem are welcome as well of course. Sincerely, John Smith. "J.Smith" <lbalbalba@hotmail.com> wrote in message news:737da4e2.0410200305.1f12696f@posting.google.com... > Hi. > > > I am having some difficulties with an expect script, and was hoping > someone could help me out here. > > > I am running a scripted telnet session to some 'black box' applianc...

Why doesn't Python's "robotparser" like Wikipedia's "robots.txt" file?
For some reason, Python's parser for "robots.txt" files doesn't like Wikipedia's "robots.txt" file: >>> import robotparser >>> url = 'http://wikipedia.org/robots.txt' >>> chk = robotparser.RobotFileParser() >>> chk.set_url(url) >>> chk.read() >>> testurl = 'http://wikipedia.org' >>> chk.can_fetch('Mozilla', testurl) False >>> The Wikipedia robots.txt file passes robots.txt validation, and it doesn't disallow unknown browsers. But the Python pars...

error: "couldn't execute "date": no such file or directory" in Tk
hi, i am using the following code in a tcl script with the TK framework, and i get the above error on executing the file main file.. main file --------------- #!c:/tcl/bin/tclsh label .l -text "click to execute" button .b -text "Execute" -command "exec_script" proc exec_script {} { set inp 1 source sss.tcl puts $inp } pack .l .b sss.tcl ----------------------------- #!c:/tcl/bin/tclsh set inp 0 puts $inp set d [exec date] The error i get is "couldn't execute "date": no such file or directory" I am using Tk with Tcl and it is necessary to print the date along with along with my output. The "exec date" works perfect in a tcl script only. but when i use it along with TK i get the error... i will be glad if someone could please help me... thank you.. On 21 Feb., 12:42, "ronnie" <maninder....@gmail.com> wrote: > set d [exec date] > > The error i get is "couldn't execute "date": no such file or > directory" Since Tcl 7.6 or so, the [clock] function delivers date and time in a portable way. See http://www.tcl.tk/man/tcl8.4/TclCmd/clock.htm Examples: 53615 % clock format [clock seconds] Wed Feb 21 12:48:09 W. Europe Standard Time 2007 84 % clock format [clock seconds] -format %c Mittwoch, 21. Februar 2007 12:48:21 53 % clock format [clock seconds] -format %Y-%m-%d,%H:%M:%S 2007-02-21,12:49:42 That [exec date] does work at times, and not at ...

ERROR: "Method 'Connection' of object '_Current Project' failed. -2147024769"
I have created a front-end application and back-end database. I have code that automatically links the front-end application to the back-end database for whenever I provide a patch or upgrade. Everytime that I opened the program in the past using either Access 2002 and 2003, it open just fine with no errors when linking to the back-end tables. Lately, I get the following error message whenever I open my application: ERROR: "Method 'Connection' of object '_Current Project' failed. Check to see if you installed the tables used for storing data is in the default directory. -2147024769" After clicking, "OK", my application continues to open and re-links to the back-end tables anyway. Yes, all the data displays in the application front-end data fields. I removed all the links to the back-end tables; re-imported the back-end tables; same problem. This was then followed by with creating a new application re-combining the front and back-ends (no problems occurred in loading and using the application) and preceded to re-split the application again. I continue to receive the above error. I went to backups and earlier versions of my application, up to 12 months, and now, they give out the same above error message. Could this be an Access problem? Any ideas on what is going on? John I've seen this problem when there are hidden table objects confusing my re-linker. Have the re-linker print out the name of each table as it loops, a...

ERROR: "Method 'Connection' of object '_Current Project' failed. -2147024769"
Continue to get error message. Here is an update of my problem and everything that I have done to correct it. I have created a front-end application and back-end database. I have code that automatically links the front-end application to the back-end database for whenever I provide a patch or upgrade. Everytime that I opened the program in the past using either Access 2002 and 2003, it open just fine with no errors when linking to the back-end tables. Lately, I get the following error message whenever I open my application: ERROR: "Method 'Connection' of object '_Current Project' failed. Check to see if you installed the tables used for storing data is in the default directory. -2147024769" After clicking, "OK", my application continues to open and re-links to the back-end tables anyway. Yes, all the data displays in the application front-end data fields. I removed all the links to the back-end tables; re-imported the back-end tables; same problem. This was then followed by with creating a new application re-combining the front and back-ends (no problems occurred in loading and using the application) and preceded to re-split the application again. I continue to receive the above error. I went to backups and earlier versions of my application, up to 12 months, and now, they give out the same above error message. Could this be an Access problem? John John Phelan wrote: > Continue to get error message. > > Here is an update...

Dev C++ Err "expected `]' before ';' token" / source "DWORD rtec_Stack[XYZ_SIZE] __attribute__((aligned(4)));"
In Dev C++, we tried to compile a application, but it will throw some peculiar error. please find it below "path/main.cpp expected `]' before ';' token" and the source code is "DWORD rtec_Stack[XYZ_SIZE] __attribute__((aligned(4)));" is this problem of envirnment or else? nagaraj wrote: > In Dev C++, we tried to compile a application, but it will throw some > peculiar error. please find it below > > "path/main.cpp expected `]' before ';' token" and the source code is > "DWORD rtec_Stack[XYZ_SIZE] __attribute__((align...

"Run-Time Error '3012' : Object "------------" already exists
Dear Sir or Madam : Hello ! Newbie to Access 2010 programming here ; I've a form which is almost complete -- HOWEVER, whenever selecting a specific pull-down, I'm thrown the error : "Run-time error '3012' : Object "------------" already exists " Where "------------" is a 'set' statement... Hmmm... So... My code's below and if anyone can take a gander, it would be greatly appreciated ! ( The error checking MsgBoxes are showing me the data being returned is correct. ) It will help my office run more smoothly... Thanks in advance ! -- B. Private Sub UserID_Click() Dim dbs As Database, qdf As QueryDef, sqlQry As String, strSQL As String Set dbs = CurrentDb If (Court222 = "Middlesex") Then strSQL = "SELECT Middlesex FROM Pricing WHERE Testpanel ='" & Panel & "'" ElseIf (Court222 = "Suffolk") Then strSQL = "SELECT Suffolk FROM Pricing WHERE Testpanel ='" & Panel & "'" ElseIf (Court222 = "Essex") Then strSQL = "SELECT Essex FROM Pricing WHERE Testpanel ='" & Panel & "'" Else strSQL = "SELECT Norfolk FROM Pricing WHERE Testpanel ='" & Panel & "'" End If MsgBox "strSQL: " & strSQL 'THE LINE BELOW IS WHERE THE ERROR OCCURS FOR "S...

Instruction at "0x00FC3D70" use memory address "0x00000000". Can't be "read".
Yesterday, ALL code in python work and nothing when I close(finish) a code. Today, when I close, some raise this windows error : Instruction at "0x00FC3D70" use memory address "0x00000000". Can't be "read". Click on "OK" to exit program. Why this error, today and not before today? Askari Askari wrote: > Yesterday, ALL code in python work and nothing when I close(finish) a code. > Today, when I close, some raise this windows error : > > Instruction at "0x00FC3D70" use memory address "0x00000000". Can't be &...

"require 'sqlite3'" gives "no such file to load -- sqlite3 (LoadError)"
hi, folks, I have been hacking away at this thing for a number of hours now, and have found no solution. I have absolutely no idea what happened here, but I do know for a fact that this has always been working all along. I have ruby (from source), sqlite (from source), gems, and the sqlite3-ruby gem installed, but try as I might, i keep hitting into this error. What's wrong? ========== # ruby -e "require 'sqlite3'" -e:1:in `require': no such file to load -- sqlite3 (LoadError) ========== # irb irb(main):001:0> require 'sqlite3' LoadError: no such file t...

[OT] Nit: please don't user "it's" unless you can substitute "it is" without changing your inteded meaning.
Typos happen to all of us, but in case you hadn't realized what "it's" is a contraction for ("it is"), now you do, and you can save yourself further embarrassment (assuming you care ;-). If your friends won't tell you, who will ;-) Write the contraction "it's" only when you want its meaning to be "it is," otherwise it's wrong ;-) OTOH, how does one punctuate the posessive of a word per se? E.g., the first letter of "it" is "i", but can one write that as "it"'s first letter is "i," or it...

Why can't "define" double as "set!"?
hi Is there any good reason that "define" shouldn't double as "set!"? dillogimp@gmail.com wrote: > Is there any good reason that "define" shouldn't double as "set!"? Yes: DEFINE defines variables, SET! changes the values of (defined) variables: (set! x 1) => wrong! (define x 0) (set! x 1) x => 1 Some interpreters may implicitly define variables when you try to set! them for the first time, thereby making DEFINE and SET! /appear/ to be the same. -- Nils M Holm <n m h @ t 3 x . o r g> -- http://t3x.org/nmh/ On Thu, 5 Apr 200...

Web resources about - Can't "mk CONF=9pcdisk" --> gives error "rc: #d/0: token '=': syntax error" - comp.os.plan9

Resources last updated: 3/23/2016 5:48:41 AM