Hi, the first two problems you describe are linked.
The refreshing problem comes from symbolic links. I can reproduce the problem here on linux as well. The problem comes from the vocab monitor that doesn't get the message that something changed. If the monitor doesn't detect the change, the crc32 checking of the source is not called. I am not skilled enough to good in the io backend code and see where the problem comes from though. So the solution for now is to not use symlinks, and instead apply the solutions given in the link you provide (http://docs.factorcode.org/content/article-add-vocab-roots.html). The three different options for work folders seem pretty obvious to me, what part of it doesn't work for you ? Have you edited the shell variable FACTOR_ROOTS, or created the file .factor-roots like it's said in the article ? A workaround if you can't get the work folder working is be to use the word "reload" instead of "refresh" which doesn't do any checks, but you should use solutions instead of workaround, right ? I also confirm the problem with the middle click and pasting in factor's listener. Cheers, On Tue, Oct 20, 2009 at 2:10 AM, Conrad Hughes <[email protected]> wrote: > > Hello, > > I've been trying to work through the getting started tutorial for Factor > on a 32-bit Linux system (Debian stable). I've tried using two official > releases (factor-linux-x86-32-2009-10-14-16-57.tar.gz and -10-19-01-04) > and a manual build of today's factor-clean-linux-x86-32 git repositiory. > I've three questions; have already tried searching the mailing list > archives and reading both the factor source and the wiki documentation: > > - 'refresh' doesn't appear to work for me. Has anybody else witnessed > similar behaviour? Neither hitting F2, typing refresh-all, nor > typing '"palindrome" refresh' (this is the "Your first program" > palindrome tutorial) cause palindrome.factor to be reloaded on my > machine. I've tried this both on AFS (network file system) disks > and local storage. In all three releases, if I create a version of > palindrome.factor with a bug, 'USE: palindrome', discover the bug, > fix it and re-save, refresh will not load the fixed implementation. > "make" works just fine on this machine, so my filing system does > support working timestamps. Does Factor need a particular file > modification monitoring library installed or something? > > http://docs.factorcode.org/content/article-first-program.html > > This is something of a show-stopper as far as I can see, since I > don't know how else to iterate a debug-edit cycle: typing 'USE: > palindrome' again won't load the fixed version of palindrome.factor > that I've just saved either. > > - How can I control the location of my work directory? I share a home > directory between several machines and architectures, so it would be > nice to be able to install Factor on all three machines, but have a > common work directory. I've come up with a workaround using > symlinks for the time being, but even though I've read the page on > Working with code outside of the Factor source tree and poked around > at the stuff around resource-path and normalize-path, it's not > obvious to me how I can indicate a work directory separate from my > Factor source tree. Is a symlink the only way? > > http://docs.factorcode.org/content/article-add-vocab-roots.html > > - Finally, I can't use middle-click to paste into my Listener in all > circumstances: if I select text from the Listener window itself, I > can then paste a copy of that text back into the Listener window > using middle-click, as is normal under X Windows; however, if I > select text from other applications, such as my web browser or a > terminal window, middle-click won't paste (control-C, control-V > still works). In the past I've witnessed this kind of behaviour > resulting from character encoding problems, e.g. the receiving > window is in the "C" locale, while the source window is UTF-8. My > machine is configured to use UTF-8. Is there anything I can do > about this? > > http://docs.factorcode.org/content/article-gadgets-editors-commands.html > > All help on the above three issues, particularly the first, greatly > appreciated: I'd like to just start experimenting with the language :) > > Regards, > Conrad > > -- > The University of Edinburgh is a charitable body, registered in > Scotland, with registration number SC005336. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > -- Jon Harper ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
