It turns out the mixing of the escaped back slash mixed with the forward
slashes in the error was not the problem; I needed to set the path to SciTE
in Windows. This solves one issue, but raises another. I renamed my
.factor-rc file and I just realized it is not being read when I start
Factor. This is why I have to always specify the editor when I use commands
like: "maze" edit. How can I get Factor to read the .factor-rc file for
windows? Is that the correct name? I have placed it in the
c:\Users\myname\factor directory.
Also, is there a language extension for proper text highlighting available
for SciTE for Factor?
Thank you.
Rob
PS: For Windows users, you can create a .factor-rc file by opening a
command line window, cd to the directory you want the file in or that can
easily be located, and typing the following at the command prompt:
copy con .factor-rc
type your contents here
Press Ctrl-z when you are finished, and your file will be in that
directory. This is a quick way to create a file that begins with a dot.
On Sun, Feb 19, 2012 at 8:43 PM, Robert Herman <rpjher...@gmail.com> wrote:
> First, I just want to say that finding Factor has revived my desire to
> learn programming again!
>
> I am working through tutorials and online content, however, I am stuck
> with one hurdle at the moment. I have set up my .factor-rc file to include
> the following lines:
>
> USING: namespaces io.directories io.pathnames editors.scite tools.scaffold;
> "C:\\Program Files (x86)\\SciTE\\SciTE.exe" scite-path set-global
> "myname" \ developer-name set-global
>
> I F2, restart Factor Listener, but when I try to edit a file such as:
>
> "boids" edit
>
> It asks me to pick the editor, even though it's already picked in the
> .factor-rc file, and it returns the following error message in an error
> window:
>
> Win32 error 0x2: The system cannot find the file specified.
> Launch descriptor:
>
> T{ process
> { command
> {
> "scite.exe"
> "C:\\Users\\myname\\factor/extra/boids/boids.factor"
> "-goto:1"
> }
> }
> { detached t }
> { environment H{ } }
> { environment-mode +append-environment+ }
> { group +same-group+ }
> }
>
> It seems like it is using the proper escaped back slash for Windows from
> my current-directory global setting, but then the appended portion after is
> using forward slashes. I am pretty sure that's why it can't walk the
> directory in Windows to find the file. Any ideas? I can not find any
> documentation on this portion of building the file path.
>
> Thank you.
>
> Rob
>
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk