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

World: r3wp

[!REBOL3-OLD1]

Maxim
29-Oct-2009
[19243x2]
>> MIN-OF  [ 1 2 3 4]
== 1

>> MAX-OF  [ 1 2 3 4] 
== 4
pekr, add the ticket, this way Carl will realise I'm not the only 
one with some reserves as to current implementation of new date!/hour 
accessor
Geomol
29-Oct-2009
[19245]
Geomol, the default Windows console has history, both in terms of 
a screen buffer and command line history


Yes, I just noticed that today, when I tried under Windows. What 
exactly is the problem? The pasting of text into the console could 
be better, I think.
Pekr
29-Oct-2009
[19246]
Max - Carl objected a bit to my ticket, so please ad your comment 
there at least :-) http://curecode.org/rebol3/ticket.rsp?id=1308&cursor=1
Maxim
29-Oct-2009
[19247]
done.
sqlab
29-Oct-2009
[19248]
R3 produces an syntax error, when loading Umlaut in strings, but 
shows the correct string in the error message.
e.g

>> load %test
** Syntax error: invalid "string" -- "{ö}"
** Where: transcode either if load
** Near: (line 1) {ö}


I know, the problem has to do with the unicode extensions of R3, 
but it should be at least configurable, if R3 works with unicode 
by default..
Pekr
29-Oct-2009
[19249]
hmm, interesting. R3 scripts should be UTF-8 by default, but dunno 
if it should, or should not work ...
Maxim
29-Oct-2009
[19250]
see why I'm not using R3 yet  ;-)
Pekr
29-Oct-2009
[19251]
that's a little problem ...
BrianH
29-Oct-2009
[19252x2]
Showing the correct character in a string might be a console font 
thing. Is %test encoded in UTF-8?
The syntax scanner has been accumulating a set of changes that need 
fixing. I would guess that Carl wants to do them all at once, since 
fixing the scanner is apparently not an easy task. It might be hand-made.
Pekr
29-Oct-2009
[19254x2]
shouldn't it be put in CC though?
ah, it's there ...
sqlab
29-Oct-2009
[19256]
%test is ISO8859 decoded as default
Claude
29-Oct-2009
[19257x4]
hi, i try to explore tcp on R3 with an telnet scheme !!!!   i try 
 ;-)
wp: make port! tcp://user:[pass-:-telnetserver]:23
wp/awake: func [event /local port] [
    port: event/port
    print ["==TCP-event:" event/type]
    switch/default event/type [
        read [print ["read:" length? port/data] read port]
        wrote [read port]
        lookup [print query port open port]
        connect [write port {ls -lisa}]
    ][true]
]
open wp
wait [wp 5]
print wp/data
close wp
i try to have "ls -lisa echo" from telnet but a obtain only {} !!! 
why
thank in advance
Graham
29-Oct-2009
[19261x2]
http://www.rebol.org/view-script.r?script=telnet.r
ooop ... R3 group
Henrik
29-Oct-2009
[19263]
a94 released with 21 bugfixes
Maxim
29-Oct-2009
[19264]
the /hour refinements where changed to reflect timezone   :-D   


goes to show we have a lot of voice in how R3 evolves... when we 
can provide concrete arguments.
Pekr
30-Oct-2009
[19265x2]
Damned Windows. The heritage of old DOS is still present, resulting 
in one thing - we can't have good default console with R3. As http://curecode.org/rebol3/ticket.rsp?id=1305&cursor=7
was dismissed, we really need new console in R3 - no need to keep 
the default black crap Windows provides ...
If we don't get it, this one feature deeply degrades R3 experience 
for me - no tab completion, no multiline string, not freely resizable 
- current R3 console is of absolutly unacceptable quality for me. 
We need at least R2 level of console ...
Maxim
30-Oct-2009
[19267x3]
there is nothing stopping Carl from adding the R2 console back into 
R3.  the current.exe is still a GUI app.
which is why he speaks about making another .exe which starts up 
in console mode.
I had many problems running sdk command-line apps when doing client 
work a few years ago... now at least this whole issue can be addressed, 
by simply flicking a switch in the host code and compiling a console 
version  :-)
sqlab
30-Oct-2009
[19270]
I am really not satisfied with the Comments of Carl to #0001309 .
If I should read/as, I have to patch do and load and whatever.
I woud prefer a setting in the system/options.
Maxim
30-Oct-2009
[19271]
I also think the "default" user text format should be configurable. 
  I have absolutely no desire to start using utf-8 for my code and 
data, especially when I have a lot of stuff that already is in iso 
latin-1 encoding.
Pekr
30-Oct-2009
[19272]
if in ascii, it will be loaded ok, no?
Maxim
30-Oct-2009
[19273]
ascii is 127 bytes... we are talking about the upper 127 chars.
Pekr
30-Oct-2009
[19274x4]
sqlab - how do you want to do the conversion automatically? How should 
R3 know, what code-page the script is in? Maybe we could use header 
field, and load could act uccording to it?
Ascii is 255 ;-)
you trying to tell me, I can't load upper 127 bytes?
mmnt ...
Maxim
30-Oct-2009
[19278x2]
upper 127 are NOT ascii.
they are different all around the world.
Pekr
30-Oct-2009
[19280x2]
holy crap, wtf? :-)
It really does not work :-) I thought, that platform locale, as in 
R2, will be loadable, even without unicode.
Maxim
30-Oct-2009
[19282]
http://en.wikipedia.org/wiki/ASCII
sqlab
30-Oct-2009
[19283]
R3 should not try to do that automatically, if I do not want that
Maxim
30-Oct-2009
[19284x2]
the 256 char encodings are often mixed up since they used to be loosly 
refered to  ANSI
http://en.wikipedia.org/wiki/Windows-1252
Pekr
30-Oct-2009
[19286]
so what is an option? load/as? What if my script contains string 
in various charset?
sqlab
30-Oct-2009
[19287]
The systems I know before, had a default codepage and did use Unicode 
only as an option.

I think it would have been enough, if R3 just added an Unicode datatype.
But now it's probably too late.
Maxim
30-Oct-2009
[19288x2]
R3  is unicode from A-Z.   the code is unicode.
but for data, I would like to have default encoding of my choice.
Pekr
30-Oct-2009
[19290]
It is really not good, that I can't load my own local codepage. How 
should I make my source-file UTF-8? My Notepad will not probably 
add any BOM header for me automatically ...
Maxim
30-Oct-2009
[19291x2]
utf-8 needs no BOM... its only used as a signature.
if you only use ascii (lower 127 chars)  you will see no difference.