[REBOL] Re: Global Font settings
I think that the best way to do something like this may be to set it in the user prefs file that would enable you to define the basic settings that the styleset is built on. Another option would be to be able to regenerate the styleset on the fly which would mean having the styleset in its native, un-STYLIZEd form. If you just want to apply global settings to ALL styles then the code I already gave you is really simple to understand and easy to use... The colors (on some styles) are controlled by statements within the INIT Block which grabs the colors from rebol/view/vid/vid-colors. Perhaps font should have a similar feature? In fact, I am sure that it should and really this is something that anyone could create. I think I will mention it on the View world... Enjoy!! ~~Ammon ;~> - Original Message - From: "Paul Tretter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 10:21 PM Subject: [REBOL] Re: Global Font settings > > Actually great comments. I just think that we need to start with a certain > canvas and need to be able to define what the canvas should look like and > make our rebellious brushstrokes later as we want to. So wouldn't it be > nice to have an addition to system/standard/face that defines some of these > settings? Seems it could help alot to set the global effects of face > rendering in /view. I'm not sure what cause system/standard/face actually > has at this time. Does anyone know why its in system standard? I'm not > saying we decide what is default for everyone - what I'm saying is that we > are able to change what is decided as default for everyone. These global > adustments could be very beneficial and I think they should be included into > some version of /view or at least an easy way of setting their values. > > Paul Tretter > > - Original Message - > From: "Ammon Johnson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 20, 2004 10:53 PM > Subject: [REBOL] Re: Global Font settings > > > > > > The question is how do you decide what is default and what is not? Almost > > every face that is intended to display text has a different font object! > > And the problem with the code I gave you is that it is going to change the > > font object for every style. Just which facets of the font object would > you > > say need to be changed across all styles and would everyone agree with > you? > > Just a few thoughts I had on it... > > > > Enjoy!! > > ~~Ammon ;~> > > > > ps. You could change the code there a bit... > > > > foreach [style face] rebol/view/vid/vid-styles [ > > face/font/name: "Verdana" > > ] > > > > and get the same result... > > > > > > - Original Message - > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, February 20, 2004 9:10 PM > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > Thats interesting - since the 1.3 project is underway, do you think we > > need > > > a global settings type of system for /view? Where we can change the > > default > > > font, spacing, origin, etc...? > > > > > > Paul Tretter > > > > > > - Original Message - > > > From: "Ammon Johnson" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, February 20, 2004 9:50 PM > > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > > > > > Ah, you want to the font that is used... Well, I don't believe that > > there > > > > is a built in way to do that, but this should do what you are looking > > > for... > > > > > > > > foreach [style face] rebol/view/vid/vid-styles [ > > > > face/font: make face/font [name: "Verdana"] > > > > ] > > > > > > > > note though that it isn't going to change the font used in any faces > > that > > > > have already been passed through LAYOUT... > > > > > > > > HTH > > > > ~~Ammon ;~> > > > > > > > > > > > > - Original Message - > > > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Friday, February 20, 2004 8:08 PM > > > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > > > > > > > > > That doesn't seem to work globally. I tried the following: > > > > > > > > > > >> Stylize/master [ > > > > > [text: text with [ > > > > > [font: make font [name: "Verdana"] > > > > > [ > > > > > [] > > > > > [] > > > > > == [face > > > > > make object! [ > > > > > type: 'face > > > > > offset: 0x0 > > > > > size: none > > > > > span: none > > > > > pane: none > > > > > ... > > > > > >> view layout [backdrop forest a: banner "Superfonttest"] > > > > > >> a/font/name > > > > > == "arial" > > > > > >> > > > > > > > > > > Maybe, I'm assuming to much to think there is something more global > in > > > > this > > > > > case. > > > > > > > > > > Paul > > > > > > > > > > - Original Message - > > > > > From: "Ammon Johnson" <[EMAIL PROTECTED]> > > > > > To:
[REBOL] Re: Global Font settings
Actually great comments. I just think that we need to start with a certain canvas and need to be able to define what the canvas should look like and make our rebellious brushstrokes later as we want to. So wouldn't it be nice to have an addition to system/standard/face that defines some of these settings? Seems it could help alot to set the global effects of face rendering in /view. I'm not sure what cause system/standard/face actually has at this time. Does anyone know why its in system standard? I'm not saying we decide what is default for everyone - what I'm saying is that we are able to change what is decided as default for everyone. These global adustments could be very beneficial and I think they should be included into some version of /view or at least an easy way of setting their values. Paul Tretter - Original Message - From: "Ammon Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 10:53 PM Subject: [REBOL] Re: Global Font settings > > The question is how do you decide what is default and what is not? Almost > every face that is intended to display text has a different font object! > And the problem with the code I gave you is that it is going to change the > font object for every style. Just which facets of the font object would you > say need to be changed across all styles and would everyone agree with you? > Just a few thoughts I had on it... > > Enjoy!! > ~~Ammon ;~> > > ps. You could change the code there a bit... > > foreach [style face] rebol/view/vid/vid-styles [ > face/font/name: "Verdana" > ] > > and get the same result... > > > - Original Message - > From: "Paul Tretter" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 20, 2004 9:10 PM > Subject: [REBOL] Re: Global Font settings > > > > > > Thats interesting - since the 1.3 project is underway, do you think we > need > > a global settings type of system for /view? Where we can change the > default > > font, spacing, origin, etc...? > > > > Paul Tretter > > > > - Original Message - > > From: "Ammon Johnson" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, February 20, 2004 9:50 PM > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > Ah, you want to the font that is used... Well, I don't believe that > there > > > is a built in way to do that, but this should do what you are looking > > for... > > > > > > foreach [style face] rebol/view/vid/vid-styles [ > > > face/font: make face/font [name: "Verdana"] > > > ] > > > > > > note though that it isn't going to change the font used in any faces > that > > > have already been passed through LAYOUT... > > > > > > HTH > > > ~~Ammon ;~> > > > > > > > > > - Original Message - > > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, February 20, 2004 8:08 PM > > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > > > > > That doesn't seem to work globally. I tried the following: > > > > > > > > >> Stylize/master [ > > > > [text: text with [ > > > > [font: make font [name: "Verdana"] > > > > [ > > > > [] > > > > [] > > > > == [face > > > > make object! [ > > > > type: 'face > > > > offset: 0x0 > > > > size: none > > > > span: none > > > > pane: none > > > > ... > > > > >> view layout [backdrop forest a: banner "Superfonttest"] > > > > >> a/font/name > > > > == "arial" > > > > >> > > > > > > > > Maybe, I'm assuming to much to think there is something more global in > > > this > > > > case. > > > > > > > > Paul > > > > > > > > - Original Message - > > > > From: "Ammon Johnson" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Friday, February 20, 2004 8:41 PM > > > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > > > > > > > > > Try something like... > > > > > > > > > > Stylize/master [ > > > > > text: text with [ > > > > > font: make font [;desired settings go here > > > > > ] > > > > > ] > > > > > ] > > > > > > > > > > before you LAYOUT the faces... > > > > > > > > > > HTH > > > > > ~~Ammon ;~> > > > > > > > > > > > > > > > > > > > > > > > > > - Original Message - > > > > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > > > > To: <[EMAIL PROTECTED]> > > > > > Sent: Friday, February 20, 2004 7:15 PM > > > > > Subject: [REBOL] Global Font settings > > > > > > > > > > > > > > > > I was looking thru anamonitor trying to find where to change the > > font > > > > > globally. I would assume this is something trivial. I tried > setting > > > the > > > > > font on vid-face but no luck. Any ideas? I know I can use 'with to > > set > > > > the > > > > > font but want the same font by default on all rendered faces. > > > > > > > > > > > > Paul Tretter > > > > > > > > > > > > > > > > > > --- > > > > > > Outgoing mail is certified Virus Free. > > > > > >
[REBOL] Re: Global Font settings
The question is how do you decide what is default and what is not? Almost every face that is intended to display text has a different font object! And the problem with the code I gave you is that it is going to change the font object for every style. Just which facets of the font object would you say need to be changed across all styles and would everyone agree with you? Just a few thoughts I had on it... Enjoy!! ~~Ammon ;~> ps. You could change the code there a bit... foreach [style face] rebol/view/vid/vid-styles [ face/font/name: "Verdana" ] and get the same result... - Original Message - From: "Paul Tretter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 9:10 PM Subject: [REBOL] Re: Global Font settings > > Thats interesting - since the 1.3 project is underway, do you think we need > a global settings type of system for /view? Where we can change the default > font, spacing, origin, etc...? > > Paul Tretter > > - Original Message - > From: "Ammon Johnson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 20, 2004 9:50 PM > Subject: [REBOL] Re: Global Font settings > > > > > > Ah, you want to the font that is used... Well, I don't believe that there > > is a built in way to do that, but this should do what you are looking > for... > > > > foreach [style face] rebol/view/vid/vid-styles [ > > face/font: make face/font [name: "Verdana"] > > ] > > > > note though that it isn't going to change the font used in any faces that > > have already been passed through LAYOUT... > > > > HTH > > ~~Ammon ;~> > > > > > > - Original Message - > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, February 20, 2004 8:08 PM > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > That doesn't seem to work globally. I tried the following: > > > > > > >> Stylize/master [ > > > [text: text with [ > > > [font: make font [name: "Verdana"] > > > [ > > > [] > > > [] > > > == [face > > > make object! [ > > > type: 'face > > > offset: 0x0 > > > size: none > > > span: none > > > pane: none > > > ... > > > >> view layout [backdrop forest a: banner "Superfonttest"] > > > >> a/font/name > > > == "arial" > > > >> > > > > > > Maybe, I'm assuming to much to think there is something more global in > > this > > > case. > > > > > > Paul > > > > > > - Original Message - > > > From: "Ammon Johnson" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, February 20, 2004 8:41 PM > > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > > > > > Try something like... > > > > > > > > Stylize/master [ > > > > text: text with [ > > > > font: make font [;desired settings go here > > > > ] > > > > ] > > > > ] > > > > > > > > before you LAYOUT the faces... > > > > > > > > HTH > > > > ~~Ammon ;~> > > > > > > > > > > > > > > > > > > > > - Original Message - > > > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > > > To: <[EMAIL PROTECTED]> > > > > Sent: Friday, February 20, 2004 7:15 PM > > > > Subject: [REBOL] Global Font settings > > > > > > > > > > > > > I was looking thru anamonitor trying to find where to change the > font > > > > globally. I would assume this is something trivial. I tried setting > > the > > > > font on vid-face but no luck. Any ideas? I know I can use 'with to > set > > > the > > > > font but want the same font by default on all rendered faces. > > > > > > > > > > Paul Tretter > > > > > > > > > > > > > > > --- > > > > > Outgoing mail is certified Virus Free. > > > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > > > > -- > > > > > To unsubscribe from this list, just send an email to > > > > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > To unsubscribe from this list, just send an email to > > > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > > > > > -- > > > To unsubscribe from this list, just send an email to > > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > > > > > > > > > -- > > To unsubscribe from this list, just send an email to > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > > > -- To unsubscribe from
[REBOL] Re: Global Font settings
Thats interesting - since the 1.3 project is underway, do you think we need a global settings type of system for /view? Where we can change the default font, spacing, origin, etc...? Paul Tretter - Original Message - From: "Ammon Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 9:50 PM Subject: [REBOL] Re: Global Font settings > > Ah, you want to the font that is used... Well, I don't believe that there > is a built in way to do that, but this should do what you are looking for... > > foreach [style face] rebol/view/vid/vid-styles [ > face/font: make face/font [name: "Verdana"] > ] > > note though that it isn't going to change the font used in any faces that > have already been passed through LAYOUT... > > HTH > ~~Ammon ;~> > > > - Original Message - > From: "Paul Tretter" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 20, 2004 8:08 PM > Subject: [REBOL] Re: Global Font settings > > > > > > That doesn't seem to work globally. I tried the following: > > > > >> Stylize/master [ > > [text: text with [ > > [font: make font [name: "Verdana"] > > [ > > [] > > [] > > == [face > > make object! [ > > type: 'face > > offset: 0x0 > > size: none > > span: none > > pane: none > > ... > > >> view layout [backdrop forest a: banner "Superfonttest"] > > >> a/font/name > > == "arial" > > >> > > > > Maybe, I'm assuming to much to think there is something more global in > this > > case. > > > > Paul > > > > - Original Message - > > From: "Ammon Johnson" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, February 20, 2004 8:41 PM > > Subject: [REBOL] Re: Global Font settings > > > > > > > > > > Try something like... > > > > > > Stylize/master [ > > > text: text with [ > > > font: make font [;desired settings go here > > > ] > > > ] > > > ] > > > > > > before you LAYOUT the faces... > > > > > > HTH > > > ~~Ammon ;~> > > > > > > > > > > > > > > > - Original Message - > > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Friday, February 20, 2004 7:15 PM > > > Subject: [REBOL] Global Font settings > > > > > > > > > > I was looking thru anamonitor trying to find where to change the font > > > globally. I would assume this is something trivial. I tried setting > the > > > font on vid-face but no luck. Any ideas? I know I can use 'with to set > > the > > > font but want the same font by default on all rendered faces. > > > > > > > > Paul Tretter > > > > > > > > > > > > --- > > > > Outgoing mail is certified Virus Free. > > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > > > -- > > > > To unsubscribe from this list, just send an email to > > > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > To unsubscribe from this list, just send an email to > > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > > > -- > > To unsubscribe from this list, just send an email to > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Global Font settings
Ah, you want to the font that is used... Well, I don't believe that there is a built in way to do that, but this should do what you are looking for... foreach [style face] rebol/view/vid/vid-styles [ face/font: make face/font [name: "Verdana"] ] note though that it isn't going to change the font used in any faces that have already been passed through LAYOUT... HTH ~~Ammon ;~> - Original Message - From: "Paul Tretter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 8:08 PM Subject: [REBOL] Re: Global Font settings > > That doesn't seem to work globally. I tried the following: > > >> Stylize/master [ > [text: text with [ > [font: make font [name: "Verdana"] > [ > [] > [] > == [face > make object! [ > type: 'face > offset: 0x0 > size: none > span: none > pane: none > ... > >> view layout [backdrop forest a: banner "Superfonttest"] > >> a/font/name > == "arial" > >> > > Maybe, I'm assuming to much to think there is something more global in this > case. > > Paul > > - Original Message - > From: "Ammon Johnson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 20, 2004 8:41 PM > Subject: [REBOL] Re: Global Font settings > > > > > > Try something like... > > > > Stylize/master [ > > text: text with [ > > font: make font [;desired settings go here > > ] > > ] > > ] > > > > before you LAYOUT the faces... > > > > HTH > > ~~Ammon ;~> > > > > > > > > > > - Original Message - > > From: "Paul Tretter" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, February 20, 2004 7:15 PM > > Subject: [REBOL] Global Font settings > > > > > > > I was looking thru anamonitor trying to find where to change the font > > globally. I would assume this is something trivial. I tried setting the > > font on vid-face but no luck. Any ideas? I know I can use 'with to set > the > > font but want the same font by default on all rendered faces. > > > > > > Paul Tretter > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > > -- > > > To unsubscribe from this list, just send an email to > > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > > > > > > > > > > > > -- > > To unsubscribe from this list, just send an email to > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Global Font settings
That doesn't seem to work globally. I tried the following: >> Stylize/master [ [text: text with [ [font: make font [name: "Verdana"] [ [] [] == [face make object! [ type: 'face offset: 0x0 size: none span: none pane: none ... >> view layout [backdrop forest a: banner "Superfonttest"] >> a/font/name == "arial" >> Maybe, I'm assuming to much to think there is something more global in this case. Paul - Original Message - From: "Ammon Johnson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 8:41 PM Subject: [REBOL] Re: Global Font settings > > Try something like... > > Stylize/master [ > text: text with [ > font: make font [;desired settings go here > ] > ] > ] > > before you LAYOUT the faces... > > HTH > ~~Ammon ;~> > > > > > - Original Message - > From: "Paul Tretter" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 20, 2004 7:15 PM > Subject: [REBOL] Global Font settings > > > > I was looking thru anamonitor trying to find where to change the font > globally. I would assume this is something trivial. I tried setting the > font on vid-face but no luck. Any ideas? I know I can use 'with to set the > font but want the same font by default on all rendered faces. > > > > Paul Tretter > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > > -- > > To unsubscribe from this list, just send an email to > > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > > > > > > > > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Global Font settings
Try something like... Stylize/master [ text: text with [ font: make font [;desired settings go here ] ] ] before you LAYOUT the faces... HTH ~~Ammon ;~> - Original Message - From: "Paul Tretter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 20, 2004 7:15 PM Subject: [REBOL] Global Font settings > I was looking thru anamonitor trying to find where to change the font globally. I would assume this is something trivial. I tried setting the font on vid-face but no luck. Any ideas? I know I can use 'with to set the font but want the same font by default on all rendered faces. > > Paul Tretter > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > > > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Global Font settings
I was looking thru anamonitor trying to find where to change the font globally. I would assume this is something trivial. I tried setting the font on vid-face but no luck. Any ideas? I know I can use 'with to set the font but want the same font by default on all rendered faces. Paul Tretter --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.577 / Virus Database: 366 - Release Date: 2/3/2004 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Email Headers ?
Maybe just using Didier's email filter would be a good start. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Email Headers ?
Hi DideC Your example not only answer my questions it will also help my learning Rebol. Thank you very much. Regards Peter On Friday, Feb 20, 2004, at 20:32 Asia/Kuala_Lumpur, Didec wrote: > Re: Email Headers ? > Hi Peter, > > Unfortunately, you will not find this in the doc, as Rebol standard > POP protocol doesn't handle reading part of a message. > > But here is a simple code than show you how to do it by yourself. > > > ;--- Will receive the header objects > emails: copy [] > > ;--- open your mailbox > mb: open pop://user:[EMAIL PROTECTED] > > ;--- point on [message-num size-of-message] pairs > sizes: mb/locals/sizes > > ;--- for each message-num and size > foreach [mesg-num size] sizes [ > ;--- Here we insert "manually" the command not handled by the > standard pop:// protocol > ; First send the request > insert mb/sub-port rejoin ["TOP " pick mb/locals/msg-nums > mb/state/index + mesg-num " 0"] > ; second, wait for the correct answer > net-utils/confirm mb/sub-port [ none "+OK" ] > ; then pick in the answer received the message header without the > content > headers: mb/handler/read-til-dot mb make string! 1024 > ;--- Append to the msg block the email object obtained from the > string header form > append emails import-email headers > ] > > ;--- The result > probe emails > > > > Hope it helps > > DideC > >> I'm just starting to learn Rebol and would appreciate some advice on >> where to look in the documentation to see how to get hold of email >> message headers without downloading the message first. As I understand >> it, import-email needs the message to be downloaded first. >> >> Peter >> >> > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
Hi Sunanda, Thanks very much for the service. Plarform: WIN95/98 Does'nt run under Rebol/core 2.5.0.3.1 Runs' under Rebol/view 1.1.0.3.1 -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL rocks
>wow - That is great :-) >Any idea when this server might be read for general testing/use ? > > > I hope within 1-2 weeks. I want it to be RFC 2616 compliant and embeddable in your apps, so that takes time. --Maarten -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL rocks
> today I did some preliminary tests on an async:// REBOL-based HTTP > 1.1 server that I'm writing > [ no. it's not in a decent shape yet, be patient. It will be free as in > BSD-free, with XML-RPC on board and the possibility to run Reblets] This is wonderful news! Thank you. > On a 2Ghz Dell desktop with Debian Linux, Rebol sent out an MPEG-2 (DVD) > at 6 mbit/sec with 0.3-0.9% CPU load. > > Same here on WinXP. wow - That is great :-) Any idea when this server might be read for general testing/use ? good luck & thanks again - Jason -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] REBOL rocks
today I did some preliminary tests on an async:// REBOL-based HTTP 1.1 server that I'm writing [ no. it's not in a decent shape yet, be patient. It will be free as in BSD-free, with XML-RPC on board and the possibility to run Reblets] On a 2Ghz Dell desktop with Debian Linux, Rebol sent out an MPEG-2 (DVD) at 6 mbit/sec with 0.3-0.9% CPU load. Same here on WinXP. Very very very impressive for an interpreter, hence the subject. Gabriele's async:// (also very impressive) is at http://www.rebol.it/giesse/async-protocol.r --Maarten (who is still impressed by REBOL after 5 years) -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
Hi Sunanda, as you told the downloader did its job very well even under Core 2.3 and View 1.2.1 running Win 98 while the demo ran only under View. Under Core no real file seems to be saved on disk but the downloader script worked since I got this screen indicating a try to exec the DEMO : >> do/args http://www.rebol.org/library/public/lds-package-downloader.r >> "lds-demo1-package.r" connecting to: www.rebol.org Script: "Library data services: Download package files" (16-Feb-2004) ** Script Error: view? has no value. ** Where: if view? [ lds-styles: stylize [ info: info black 172.200.234 font-size 11 h1: text black 172.200.234 font-size 15 h2: text black 172.200.234 font-size 13 p: text black 172.200.234 font-size 13 notes: text-list black 100.200.200 font-size 13 hr: box 600x2 blue ] ] lds-dp: make >> list-dir rebol.exe ropus.r under View I got the ending message "The package is fully downloaded" and all files were downloaded into the current DIR as I tried it first and then it was OK too when dumped into a second newly created folder. The old Select File requester appeared (View 1.2.1) and I then asked myself how to create a new folder since no new button appeared and I mustr admit I never found how-to (simply type the new name and SELECT it as for any other file to select just don't do the job - with or without the trailing /)... While the download was occuring, I also attempted to review the names of files that had to be downloaded but I could no more scroll the list - can it be enhanced (unlocked) or is View freezing the displayed faces when it works downloading files? The Online Help goes browsing the rebol.org web site and appropriately displays the needed HELP info. Finally the DEMO script runs first class. Great work guys ! Congratulations for all your contributive efforts ... I really appreciate the resulting products set !!! Regards, Gerard P.S. For the contest I must admit I would have not guessed right in 3 of 4 cases and even then I already saw Andrew's snapshot before do if I want to play fair I got 0 of 4 cases ;-) -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
On Thu, 19 Feb 2004 16:45:25 EST, <[EMAIL PROTECTED]> wrote: >> by package, you mean a named group of files? > > Mainly that,yes -- any application that needs more than one script to > work. Hi, than why not name it: fileset like it is on IOS? I don't like word-fragmentation ;-) Robert -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
> Congratulations! 100% right!! Email me an address and your prize will be on > its way. Whooohooo! Thanks to Ammon who nutted most of it out. And just a few more words of thanks, I'd just like to thank my wife, my mum, my dad, my friends, ahem For the prize, while I would be most honored and gratified to receive such a magnificent gift, I fear the international voyage this valuable item would take could be perilous and so it would enough for me if you could find it an alternative worthy home. Perhaps a local computing museum? :-) > I've updated the package to change the text. If anyone wants to try to > download it again to the same folder, it should just retrieve the notes.txt file. > Please let me know if it doesn't. Listed and downloaded the one item successfully. Regards, Brett. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
Hi DideC: > image1 : Andrew (for sure) > image6 : Volker > image4 : Gregg > image5 : Sunanda Close! Congratulations, you've correctly spotted all four REBOL developers. But two names match, and two don't. Hi Brett: Congratulations! 100% right!! Email me an address and your prize will be on its way. I've updated the package to change the text. If anyone wants to try to download it again to the same folder, it should just retrieve the notes.txt file. Please let me know if it doesn't. Thanks again everyone, Sunanda. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: Email Headers ?
Re: Email Headers ? Hi Peter, Unfortunately, you will not find this in the doc, as Rebol standard POP protocol doesn't handle reading part of a message. But here is a simple code than show you how to do it by yourself. ;--- Will receive the header objects emails: copy [] ;--- open your mailbox mb: open pop://user:[EMAIL PROTECTED] ;--- point on [message-num size-of-message] pairs sizes: mb/locals/sizes ;--- for each message-num and size foreach [mesg-num size] sizes [ ;--- Here we insert "manually" the command not handled by the standard pop:// protocol ; First send the request insert mb/sub-port rejoin ["TOP " pick mb/locals/msg-nums mb/state/index + mesg-num " 0"] ; second, wait for the correct answer net-utils/confirm mb/sub-port [ none "+OK" ] ; then pick in the answer received the message header without the content headers: mb/handler/read-til-dot mb make string! 1024 ;--- Append to the msg block the email object obtained from the string header form append emails import-email headers ] ;--- The result probe emails Hope it helps DideC > I'm just starting to learn Rebol and would appreciate some advice on > where to look in the documentation to see how to get hold of email > message headers without downloading the message first. As I understand > it, import-email needs the message to be downloaded first. > > Peter > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: (No In-reply-to: <4034EDEA.3050708@webz.dk>
Carl Read wrote: > Will HELP at the console be updated to cover VID? I couldn't find any > mention of it here... > > http://www.rebol.net/cgi-bin/projects/track.r Bug 334 talks about embedding help objects (auto-docs) into VID. This is apparently semi-implemented and does not work fully yet. -- Regards, Henrik Mikael Kristensen -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
> Brett: > > As for the competition - Gregg => Image6 > We need all four for the big prize. Damn, I quoted it but didn't make it explicit that I was modifying Ammon's response. So here it is again - just in case I get to fix my entry image1.jpg - Andrew image4.jpg - Volker image5.jpg - Sunanda image6.jpg - Gregg And in case that was right. image2 - Peter image3 - John Slattery image7 - Trebor image8 - Sir David Ramsbotham Regards, Brett. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
Re: REBOL [REBOL.org] Packages announcement and competition I have ran the script with View 1.2.40 and it works. Same comment than other about the UI, or the req-dir func. My answer : image1 : Andrew (for sure) image6 : Volker image4 : Gregg image5 : Sunanda DideC -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Email Headers ?
I'm just starting to learn Rebol and would appreciate some advice on where to look in the documentation to see how to get hold of email message headers without downloading the message first. As I understand it, import-email needs the message to be downloaded first. Peter -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
Thanks for all the comments everyone. It's been very helpful. Apologies for not replying to them all individually. Apologies also for the problems with the downloader --It's written to work with View 1.2.1 specifically so it wouldn't use any esoteric words. But that version (or later) obviously isn't as universal as I'd thought. I'll go back one more version and try again. --I've fixed a few of the bugs (typos, and assuming browse was available) Thanks too for all the comments on the UI. I'll have a go at making some changes over the weekend. Graham: > Has the download process introduced lots of jpg artifacting?? :) I hope not! Image7 and image8 are fairly poor in that way in the original. The others should be reasonable. Let me know if they aren't. Rod: >Sorry, can't play on my platform... You should still be able to enter the competition view the 8 images and read the notes.txt file. And it's not too late, because: The competition is still open! No winner yet. Here's a summary of the entries so far: Ammon: > Image1.jpg is Andrew > Image4.jpg is Volker > image7.jpg is Gregg > image5.jpg is Sunanda Pretty good! Three exactly right! One wrong. Ashley: > Image1.jpg is Sunanda > Image2.jpg is Andrew > image5.jpg is Gregg > image7.jpg is Volker Not bad -- you picked four people with strong IT skills. But only two of them are REBOL developers. And you didn't match the images to the names. Ammon: > change Sunanda to > image2.jpg... You mean? > Image1.jpg is Andrew > Image4.jpg is Volker > image7.jpg is Gregg > image2.jpg is Sunanda Sorry! That's two exactly right, and two wrong. Brett: > As for the competition - Gregg => Image6 We need all four for the big prize. I think there must be enough clues there for someone to crack it. Thanks again everyone, Sunanda. -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [Time frame for REBOL/VIEW 1.3]
Maxim Olivier-Adlhoch wrote: > who is doing the docs, has anyone really taken charge or is everyone expecting Carl > S. to do it? > (just asking, no sarcasm intended!) Carl made the original proposal and I think he wrote all the docs too. I can't find anything in the bug tracker about other people writing docs. Being mostly a spectator on the Rebol View 1.3 project discussion, I think Carl wants 1.3 out first, then docs after that, but I can't be sure. -- Regards, Henrik Mikael Kristensen -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [ANN] RebDB v1.1
Petr Krenzelok wrote.. apparently on 20-Feb-2004/10:33:08+1:00 >>try dbase ... >> >> >> >do you mean Konstantin's dybase? It requires library component IIRC. But no, I meant dbase, or any other odbc available connection http://www.rebolfrance.net/articles/odbcsockserv/odbcsockserv.html -- Graham Chiu http://www.compkarori.com/cerebrus -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: (No In-reply-to: <4034EDEA.3050708@webz.dk>
Odd - my mailer stripped the subject I was replying to, which was... Re: [Time frame for REBOL/VIEW 1.3] Carl Read. On 20-Feb-04, Carl Read wrote: > On 20-Feb-04, Henrik Mikael Kristensen wrote: >> Maxim Olivier-Adlhoch wrote: >>> is there anyone working on docs as the features are added/refined? >> There is a new document on the image! datatype, because it has >> changed completely in behavior. >> http://www.rebol.net/projects/view1.3/image.html >> Also a new View manual has been proposed in the same format as the >> current HTML based Core manual. >> TOC mockup can be seen here: >> http://www.rebol.net/projects/view1.3/rebolview.html > Will HELP at the console be updated to cover VID? I couldn't find > any mention of it here... > http://www.rebol.net/cgi-bin/projects/track.r -- Carl Read -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [ANN] RebDB v1.1
Graham Chiu napsal(a): >Petr Krenzelok wrote.. apparently on 20-Feb-2004/9:10:58+1:00 > > > >>my friend looked for small DB, your solutions would be good for him, but >>the app is supposed to run on old notebook with only 16MB RAM. Is there >> >> > >try dbase ... > > > do you mean Konstantin's dybase? It requires library component IIRC. But that is not a much of a problem. I also remember Jeff producing link to ... was it BerkeleyDB? The problem as I see it is - the set-up and deployment cost. E.g. mySQL maybe overhead, but it accepts SQL syntax, so switching to another DB may not influence your scripts so much, even if there will surely be some work required. I think that Rebol badly misses its small, native db format, which would become standard for those, who don't want/can't use in-memory storage and IOS-like one-record-per file storage is either not an option. I think RebDB could be the answer, if open/skip would be fixed, but that is another story. In the time being, I would stick with "standard" - mySQL and would not support proprietary aproach/syntax, unless thinking of such solution as being standard and long-term ... PS: I have nothing against existance of various options, though ... -pekr- >-- >Graham Chiu >http://www.compkarori.com/cerebrus > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: (No In-reply-to: <4034EDEA.3050708@webz.dk>
On 20-Feb-04, Henrik Mikael Kristensen wrote: > Maxim Olivier-Adlhoch wrote: >> is there anyone working on docs as the features are added/refined? > There is a new document on the image! datatype, because it has > changed completely in behavior. > http://www.rebol.net/projects/view1.3/image.html > Also a new View manual has been proposed in the same format as the > current HTML based Core manual. > TOC mockup can be seen here: > http://www.rebol.net/projects/view1.3/rebolview.html Will HELP at the console be updated to cover VID? I couldn't find any mention of it here... http://www.rebol.net/cgi-bin/projects/track.r -- Carl Read -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [ANN] RebDB v1.1
Petr Krenzelok wrote.. apparently on 20-Feb-2004/9:10:58+1:00 >my friend looked for small DB, your solutions would be good for him, but >the app is supposed to run on old notebook with only 16MB RAM. Is there try dbase ... -- Graham Chiu http://www.compkarori.com/cerebrus -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] REBOL [REBOL.org] Packages announcement and competition
[EMAIL PROTECTED] wrote.. apparently on 19-Feb-2004/16:27:30 > >There is one test package up on the Library. If you've got the time, could >you please download it, see if it runs, and let me know what goes wrong. I tried changing the directory and realised I couldn't select a directory, so cancelled, and "none" appeared. I tried typing in a directory but that didn't work and I couldn't see a way to activate the download. Quit and tried again accepting the defaults, and this time it "worked". > >As a tiny encouragement to you to do this, the demo package is a "guess the >REBOL developer" competition Okay, that fedex carton there is clearly a red herring since Joel Neely is not one of the developers! Has the download process introduced lots of jpg artifacting?? :) -- Graham Chiu http://www.compkarori.com/cerebrus -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: I want time!, not string!
Dixit iNetW3 (05.06 20.02.2004): >Hi Hallvard, >look at >> HELP JOIN >whatever type? the first value is (the Base value), >the second argument (the rest) will adopt it's type?. > in your case *print join "Took" * is a string >so, *s* will allways be a string. it's not a bug. Hi iNetW3, True, the 'join behaviour is not a bug, but my initial problem was that 's became a string _before_ 'join could ever be evaluated. Now/time - s crashed. Turned out to be the mysql protocol that used the global word 's. Problem is fixed (cf. earlier on in this email thread). Thanks for your help anyway. HY Prætera censeo Carthaginem esse delendam -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: [ANN] RebDB v1.1
Ashley Trüter napsal(a): >Latest release includes: > >* memo! support >* Client / Server >* SQL dialect >* RebDB*Lite variant (uses save/load with REBOL native values) >* SQL*Plus like command-line (uncomment last line of db.r / db-lite.r) > >Release notes and source available at http://www.dobeash.com/RebDB/ > > > my friend looked for small DB, your solutions would be good for him, but the app is supposed to run on old notebook with only 16MB RAM. Is there really no way of how to get damned open/skip-or-whatever-would-help to work? Currently, in rebol, being able to only work with in-memory storage is starting to be pretty painfull, I meet ppl here or there who don't want to install full mySQL server and would be fine with some kind of small rebol db, if that would not be memory based. -pekr- >Regards, > > Ashley > > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] 'upgrade' not working correctly.
Hello, I installed rebol/view the other day, then replaced the rebol.exe file with the beta version I downloaded. It doesn't seem to be working correctly. For one thing, here's what happens when I double-click the Rebol icon on my Windows XP home machine, then type in 'upgrade': REBOL/View 1.2.10.3.1 30-May-2003 Copyright 2000-2002 REBOL Technologies. All rights reserved. REBOL is a trademark of REBOL Technologies. WWW.REBOL.COM Type DESKTOP or SET-USER for settings. REBOL Mezzanine Extensions 1.1.2.1 29-Nov-2002/19:29:09 Windows Registry Access 1.1.2.4 11-Dec-2002/0:36:56 REBOL Internet Protocols 1.59.2.15 14-Feb-2003/1:45:14 Dynamic Library Access 1.4.2.1 24-Mar-2002/20:13:53 Command Shell Access 1.5.2.5 11-Dec-2002/0:37:05 Graphics 1.1.2.4 11-Dec-2002/0:36:39 View and VID 1.155.2.5 10-Dec-2002/23:30:53 View Desktop 1.26.2.9 18-Jan-2003/1:16:28 Sound 1.2.2.2 24-Mar-2002/20:13:58 Encryption 1.3.2.2 24-Mar-2002/20:13:52 Big Numbers 1.2.2.2 24-Mar-2002/20:13:52 DH/DSA Encryption 1.2.2.2 24-Mar-2002/20:13:52 RSA Encryption 1.3.2.2 24-Mar-2002/20:13:58 System Port 1.1.2.5 30-Nov-2002/17:24:03 Licensing 1.8.2.5 30-Nov-2002/19:58:53 *** REBOL/View license only. No REBOL/View/Pro features. *** Obtain REBOL/View/Pro from http://www.rebol.com >> upgrade connecting to: www.rebol.com connecting to: www.rebol.com Script: "Download Current Version" (10-May-2001/20:12:53-7:00) You are running an unknown version of REBOL. >> This is what I get on my Sun Ultrasparc II machine running Solaris 8: REBOL/Core 2.5.6.10.1 Copyright 1997-2003 REBOL Technologies REBOL is a Trademark of REBOL Technologies All rights reserved. Component: "REBOL Mezzanine Extensions" 1.1.2.1 (30-Nov-2002/13:47:03) Component: "REBOL Internet Protocols" 1.59.2.15 (31-Jul-2003/4:28:06) Finger protocol loaded Whois protocol loaded Daytime protocol loaded SMTP protocol loaded POP protocol loaded IMAP protocol loaded HTTP protocol loaded FTP protocol loaded NNTP protocol loaded Component: "System Port" 1.1.2.5 (1-Aug-2003/8:23:17) >> upgrade connecting to: www.rebol.com connecting to: www.rebol.com Script: "Download Current Version" (10-May-2001/20:12:53-7:00) Your copy of Solaris Sparc REBOL/core 2.5.6.10.1 is currently up-to-date. >> I realize I'm running rebol/core on the sparc and rebol/view on the PC, but I expected both to come back with a "currently up-to-date" message. Is this a bug on the PC? Thanks, oo | Gregory Benjamin Laserlab, Inc. o Laser photoplotting | | [EMAIL PROTECTED] 6790 Top Gun Street o CNC machining| |Suite 9 o Chemical milling | |San Diego, CA 92121 o Printed Circuit Fabrication | | www.laserlab.com Tel: 858-646-7660o Precision photomasks | | ftp.laserlab.com Fax: 858-646-7667o AutoCAD to Gerber conversion | oo -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
[REBOL] Re: REBOL [REBOL.org] Packages announcement and competition
Hi Sunanda, it works here REBOL/View 1.2.8.4.2 3-Aug-2002 (on Debian/Gnu Linux). The UI could do with a bit of a cleanup, as already mentioned, though ;^) Kind regards, Ingo -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.