<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Andrew,<br>
<br>
thanks for trying it out. I saw you used double backslashes and
quotation marks in your registry file, instead of single backslashes
and quotation marks. I tried it out, and it worked this way.<br>
<br>
Best Hannah<br>
<br>
Am 30.07.2010 01:01, schrieb Hardie, Andrew:
<blockquote
cite="mid:2831FE7879A9934289304F0B9DE1DD52017EA521@exchange-be4.lancs.local"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Verdana","sans-serif";
        color:#002060;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Verdana","sans-serif";
        color:#002060;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);">Hi Hannah,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);">I am afraid that I can’t reproduce this error on
my system
– the following all works for me within cmd.exe:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">C:\CWB>cqp -r registry<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">[no corpus]> show
corpora;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">System corpora:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);"> [correct list of
corpora]<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">C:\>cqp -r
C:\CWB\REgistry<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">[no corpus]> show
corpora;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">System corpora:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);"> [correct list of
corpora]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New"; color: rgb(0, 32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">C:\Documents and
Settings>cqp -r
C:\CWB\REgistry<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">[no corpus]> show
corpora;<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">System corpora:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);"> [correct list of
corpora]<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Courier New"; color: rgb(0, 32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">With the following paths
in the registry
file:<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);"># path to binary data
files<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">HOME
"C:\\CWB\\Data\\name-of-corpus"<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);"># optional info file
(displayed by
"info;" command in CQP)<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left: 36pt;"><span
style="font-size: 10pt; font-family: "Courier
New"; color: rgb(0, 32, 96);">INFO
"C:\\CWB\\Data\\name-of-corpus\\corpus-info.txt"</span><span
style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);">Even <b>cqp -r "documents and
Settings\..\CWB\Registry"</b> worked.<b><o:p></o:p></b></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);">I was working on a clean XP virtual machine,
version 3.2.b1. I
have not got a Windows 7 install disk yet, but I should have
it next week, and
when I do I will try it on there to see if it’s just a
difference in the
OS that is causing your trouble.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);">Andrew.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif"; color: rgb(0,
32, 96);"><o:p> </o:p></span></p>
<div>
<div style="border-right: medium none; border-width: 1pt
medium medium; border-style: solid none none; border-color:
rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color;
padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><span style="font-size: 10pt;
font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">From:</span></b><span
style="font-size: 10pt; font-family:
"Tahoma","sans-serif"; color:
windowtext;" lang="EN-US">
<a class="moz-txt-link-abbreviated" href="mailto:cwb-bounces@sslmit.unibo.it">cwb-bounces@sslmit.unibo.it</a>
[<a class="moz-txt-link-freetext" href="mailto:cwb-bounces@sslmit.unibo.it">mailto:cwb-bounces@sslmit.unibo.it</a>] <b>On Behalf
Of </b>Hannah Kermes<br>
<b>Sent:</b> 26 July 2010 12:08<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:cwb@sslmit.unibo.it">cwb@sslmit.unibo.it</a><br>
<b>Subject:</b> Re: [CWB] CWB Windows 7 (64bit) used
with cygwin<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi Andrew,<br>
Am 26.07.2010 12:17, schrieb Hardie, Andrew: <o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";">Hi
Hannah,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";">It’s
almost certainly because you are using forward-slash as the
directory separator.
The Windows build expects backslash as is usual in the
Windows world. Likewise
it expects a drive-letter root not a bare / root for
absolute paths. (If you
use cwb-encode to create your registry file, you’ll see it
creates paths
like this; paths may also need to be double quoted in the
reg file).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";"> </span><o:p></o:p></p>
<p class="MsoNormal">That was what I tried first, but with
backslashes with or
without drive-letter root it wouldn't work (I am talking about
the windows
shell now). The only version that works is with
forward-slashes and no
drive-letter root (i.e., the version I sent to you). That was
what suprised me
in the beginning, because the windows shell displays the
directory with
backslashes. <br>
<br>
Best <br>
Hannah<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";">The
Windows version can in some cases but not all cope with the
forward slash as a
separator, as you found, but I think the problems on cygwin
may be due to the
conflicting expectations of cygwin and the win32 build
environment in this
regard. But I’m not especially troubled by this; as I said
before, the
win32 binaries are not expected to work in cygwin, so when
they don’t,
it’s not a bug! If you build CWB from source within cygwin,
then all the
paths you gave below will work exactly as per your
expectations.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";">As
for -e mode – I see the problem now. The command-line
editing you get
from cmd.exe includes the use of backspace, left-right
cursors, and a command
history on the up-down cursors. Under *nix, you need the –e
option to get
these – and so that’s what I was thinking about, rather than
the
TAB-complete-corpus. Next time I get a chance, I’ll take a
look at the
code to see if there is a way to enable this in the Win32
build. However, I
suspect this may be problematic.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";">best</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: 10pt; font-family:
"Verdana","sans-serif";">Andrew.</span><o:p></o:p></p>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dr. Hannah Kermes
Dept. of Applied Linguistics, Interpreting and Translation (FR 4.6)
Universität des Saarlandes
Building A2.2, Room 1.07
P.O. Box 15 11 50, D-66041 Saarbrücken
phone: +49-(0)681-302-70076
</pre>
</body>
</html>