World: r3wp
[View] discuss view related issues
older newer | first last |
Anton 23-Apr-2006 [4870x3] | (Or you don't have the XVID codec) |
(probably the simpler explanation.. :) | |
Go to http://doom9.net/ and click on Codecs to find XVID 1.1 | |
Henrik 23-Apr-2006 [4873] | or use VLC from videolan.org |
Graham 23-Apr-2006 [4874] | Is there a function that returns the curret position in draw after an operation? |
Geomol 24-Apr-2006 [4875] | Good question, but I don't think so. And should it be position related to last command, or should transformations be taken into consideration? Like: .... effect [ draw [translate 234x123 matrix [1 0 0 0 -1 0] line 20x-20 40x40]] What is position? |
Pekr 24-Apr-2006 [4876] | can't live without some All-in-1 or ffdshow codec packs ... as for players, I do use older (ad-ware free) Bsplayer .... |
Graham 24-Apr-2006 [4877x2] | I think it should be relative to the current translation |
I'm particularly interested in positioning for precise text placement. | |
DideC 24-Apr-2006 [4879] | I have done some text placement calculation for my RT-style (rich text). Result is 99% Draw code. Graham, you should have a copy of in on your HD as lecture-forum use it to show the posts (search "rtd-styles.r" or maybe "rtf-styles.r" if it's too old). |
Graham 24-Apr-2006 [4880] | I really need a better way of indexing the rebol scripts on my drive. Using the windows search tool finds far too many viruses :( |
Anton 24-Apr-2006 [4881x2] | Do you have a recursive directory walker, ie. tree ? |
I finally got around to making a nice little "command line" function FIND-FILE. You can use it with optional arguments like this: find-file *.r ; just lists all files with ".r" suffix. find-file *.r "rebol" ; lists all files with ".r" suffix and containing "rebol" find-file * "rebol" ; all files containing "rebol" etc... | |
Graham 24-Apr-2006 [4883] | not currently. |
Anton 25-Apr-2006 [4884x4] | Ok try this: |
do http://www.lexicon.net/antonr/rebol/library/dir-utils.r dir-utils/only [push pop] ; needed for tree foreach [url words][ http://www.lexicon.net/antonr/rebol/library/tree.r[tree] ; needed for find-file http://home.wilddsl.net.au/anton/rebol/util/find-file.r[find-file] ][ foreach word words [set word get in do url word] ] find-file *.r | |
push, pop and tree are pretty stable. Find-file is pretty new, but so far no problems. Find-file is short, so it's a good example of how to use tree. | |
I would expect you would just modify find-file a little bit to suit your purposes. | |
Gregg 25-Apr-2006 [4888] | Anton, your demo is simply awesome. Just blows me away what you guys can do. |
Pekr 25-Apr-2006 [4889] | Anton - nice example .... I wonder how difficult would it be to get it working via shell environment, which is now available in all rebol versions? |
Anton 25-Apr-2006 [4890x2] | Thanks, Gregg. |
Pekr, what do you have in mind ? | |
Pekr 25-Apr-2006 [4892x2] | I mean - complete shell wrapper, so I can use rebol instead of windows shell ... |
your find-file function is really nice addition though ... | |
Anton 25-Apr-2006 [4894] | I don't think it's easy to completely replace windows shell. I use dir-utils and find-file for most simple file system tasks already, but I use windows DOS console for all those particular windows DOS things. |
PeterWood 25-Apr-2006 [4895] | Pekr: doesn't call/console "cmd params" help? |
Anton 25-Apr-2006 [4896x2] | I think maybe he wants transparent fall-back to DOS console, as shown before by somebody. |
(I'm not going to do that, probably.) | |
Henrik 25-Apr-2006 [4898] | anton, that is pretty neat. would you mind if I tried to integrate this with http://www.hmkdesign.dk/rebol/old/msearch.r? |
Anton 25-Apr-2006 [4899] | By all means. |
Pekr 25-Apr-2006 [4900] | yes, I meant transparent command-set support. It was just theoretical quesiton, I don't need it that much ... |
BrianH 25-Apr-2006 [4901] | If there was a console-mode REBOL perhaps we could use it as a command shell replacement. |
Pekr 25-Apr-2006 [4902x3] | iirc 1.0 branch used native console, but you know, native console in W9x did not feature even arrow-up list of already processed commands ... |
this is imo why RT came with native console. Nowadays, I do prefer separate console, but I would like to see better support for keyboard navigation, which is currently very weak ... | |
now the thing is, if we want to reinvent the wheel. I do remember very powerfull consoles (even with coloring modes) from Amiga days, and if we talk non X-windows Linux installation, we do want to use text based console anyway ... | |
Henrik 25-Apr-2006 [4905] | having a separate console seems to me causes a problem with rebol processes that do not initially print anything on a console. the problem arises when needing to print to a console. where to go? If another rebol process is already running, the new process starts printing there, "merging" the two consoles and rendering the console useless. |
BrianH 25-Apr-2006 [4906] | I'd like the option to use a native console. I'm frequently using Windows remotely and that can be a little awkward to do cross-platform, and can be high bandwidth as well. The NT console is powerful enough. |
Pekr 25-Apr-2006 [4907x2] | yes, at least it can jump by words :-) |
as for Windows, I am used to own graphical one. And how do we get cross-platform console, which behaves the same way, if not having rebol own one? | |
BrianH 25-Apr-2006 [4909] | Windows console apps can run on some other platforms as well, where GUI support is spotty. They integrate with batch scripts better too. |
Pekr 25-Apr-2006 [4910] | but then maybe someone writes async visual console as Cyphre did some time ago ... |
Henrik 25-Apr-2006 [4911] | pekr, yes it would be interesting to see a console written in View |
Rebolek 25-Apr-2006 [4912] | Henrik, Cyphre's vconsole is still available on his rebsite. |
BrianH 25-Apr-2006 [4913] | I can run Windows console apps on DOS, for instance. |
Pekr 25-Apr-2006 [4914x2] | why the amiga console was so powerfull and windows is so weak? it even can't use tab to form form commands ... without that feature I am agains using native windows console ... |
arrow-down does nothing too - it should discard the input .... it is a bad joke, not a console ... | |
Henrik 25-Apr-2006 [4916] | the windows rebol console has one thing I hate.... when you type in a long sentence and accidentally press arrow-up, the sentence is lost |
BrianH 25-Apr-2006 [4917] | Hey, I just want as an option, like a seperate build or something. What Windows are you using? Sounds like you need doskey. |
Pekr 25-Apr-2006 [4918x2] | yes, that is bad ... |
Win2K .... talking the standard ... | |
older newer | first last |