r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Core] Discuss core issues

Henrik
29-Nov-2008
[11341]
what does it do?
[unknown: 5]
29-Nov-2008
[11342x6]
it just reads lines as normal
it doesn't break a line at the with argument
ahhh it works but not with certain strings.
doing some more tests
Yeah there is definately a problem.
And it has something to do with blocks
Henrik
29-Nov-2008
[11348]
ok, let's elaborate, so we can see if this is something that is in 
RAMBO.
[unknown: 5]
29-Nov-2008
[11349]
I'm trying to create another instance of the problem that I can post 
that  doesn't have the confidential data in it.
Henrik
29-Nov-2008
[11350]
ok
[unknown: 5]
29-Nov-2008
[11351x6]
ok I have the following data posted in a file:    {1 ["paul" "tretter" 
41]*EOR*2 ["darla" "jean" 45]*EOR*}
Now write that to a file and try to open/lines/with %filename "*eor*"
maybe it is case sensitive - didn't check that.
thats what it is
damn I didn't know that.
we should update the docs on using /with that it is case sensitive 
- which is opposite to how REBOL usually is.
Anton
29-Nov-2008
[11357x2]
Post a bug report/feature request to update the OPEN docs on that.
(If one on RAMBO is not there already.)
[unknown: 5]
30-Nov-2008
[11359]
I actually sent an email to feedback to request it.
Henrik
30-Nov-2008
[11360]
put it on RAMBO. it is the safest place to catalog such bugs.
[unknown: 5]
30-Nov-2008
[11361]
4244 submitted
[unknown: 5]
1-Dec-2008
[11362x4]
I need the functionality of open/direct/lines/with such that I can 
access the lines in reverse order.  In otherwords I want to be able 
to access the last line and then the next to last line etc... in 
that order.
Any ideas on if that can easily be done without rolling my own method?
Want to make sure I'm not overlooking something simple.
If we dont' have a simple way of doing this now I hope R3 offers 
the capability.
Ashley
1-Dec-2008
[11366]
How can I iterate over a range of IP addresses (looking for a particular 
response) and "time out" the ones that "hang". I've got something 
like:

ip: 10.1.1.0
loop 100 [
	rc: read join http:// ip
	if find rc ... [...]
	ip: ip + 0.0.0.1
]


This works great on most devices (IP Phones, Printers, etc) but hangs 
when it hits a computer with Stealth mode. I've tried read/no-wait 
but that doesn't seem to make a differemce.
[unknown: 5]
1-Dec-2008
[11367x5]
what about read tcp://ipaddy:135
for computers
think that works for computers that you have admin to.
otherwise simply read dns://ipaddy or dns://computername
best way might be to use 'call and use the ping command since REBOL 
doesn't support ICMP
Graham
1-Dec-2008
[11372x2]
Didn't doc write an async ping?
or did he just call ping asynchronously
[unknown: 5]
1-Dec-2008
[11374x2]
He wrote an async call that called the ping command.
STill if a computer is in sleep mode it may not work (not sure).
Ammon
1-Dec-2008
[11376]
Ashley think I did something like that a long time ago by construction 
a port! and then calling wait [port! 0:03] in a loop.
btiffin
1-Dec-2008
[11377]
Ashley;  the connections do eventually timeout?   system/schemes/default/timeout 
  is normally 30 seconds.  Drop that down to 00:00:01 (or other short 
reasonable)?
Nicolas
1-Dec-2008
[11378x4]
how do you read files off a computer in your network?
I've already tried "tcp://computername"
I mean "read tcp://comoputername"
do I need to have a server on the other computer?
Graham
1-Dec-2008
[11382]
read/binary %/computername/shared-directory/filename
Nicolas
1-Dec-2008
[11383]
thankyou. you've made me so happy.
Graham
1-Dec-2008
[11384]
>> to-rebol-file "\\server\shared-directory\file.exe"
== %/server/shared-directory/file.exe
Ashley
3-Dec-2008
[11385]
system/schemes/default/timeout: 1
 did the trick ... thanks Brian.
Robert
4-Dec-2008
[11386]
At what situations do I get the spining waiting "cursor": | / - \ 
|  ?

I want to avoid any output of my script.
Oldes
4-Dec-2008
[11387]
while waiting on port without system/options/quiet
Robert
4-Dec-2008
[11388x2]
Ah, thanks.
Never heard about this.
Dockimbel
4-Dec-2008
[11390]
http://www.rebol.com/docs/core23/rebolcore-18.html#section-4