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

World: r3wp

[!RebGUI] A lightweight alternative to VID

Graham
14-Apr-2007
[5948x4]
this is my rebgui interface to the rebelBB.cgi script
if you resize, and the messages don't fill the screen, the offset 
needs to be reset to 0
for the main pane .. otherwise, the messages start mid screen.
vertically
Ashley
14-Apr-2007
[5952]
Does the data structure meet your needs? Note that, like AltME, if 
the date is today then the time component is shown instead. You can 
insert abbreviated date/time's with:

	to date! reform [now/date now/time]
Graham
14-Apr-2007
[5953x2]
I think it's nice to have an addition column for a message id.
Otherwise , if you try and refer to a particular message .. you can't.. 
except by pointing to a datestamp which may be different depending 
upon which time zone you're in.
Ashley
14-Apr-2007
[5955]
Preceeding the User column?
Graham
14-Apr-2007
[5956x6]
Yes.
I think with Altme, each message is followed by a font block etc.
so, each colum of data is then followed by a block that specifies 
the font, background etc.
Which might be a bit of overkill ...
In my chat client, I use Allen's parser to create active links for 
http/s ftp etc.
Allen and Gabriele's
Ashley
14-Apr-2007
[5962x2]
Is it safe to assume that messages will always be in ascending age 
order? i.e. Do we need to cater for message insertion at top? Or 
message numbers that are in descending order? I want to avoid having 
sortable columns. Simple but functional is good.
Allen and Gabriele's
 ... rebol.org link?
Graham
14-Apr-2007
[5964x3]
http://www.compkarori.com/reb/download-manager.r
Click on the Synapse EMR client button, and then GSView
And you'll see this link ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsv48w64.exe
appear .. you can right click on it to copy to the clipboard
Ashley
14-Apr-2007
[5967]
Remember we are in a public group. You may want to take this private?
Graham
14-Apr-2007
[5968]
No, that's free software
Ashley
14-Apr-2007
[5969]
Just chceking.
Graham
14-Apr-2007
[5970x3]
I announced that on rebolweek in May 2006 :)
I basically wrapped a gui around other peoples' code :)
commented out are links to lib:// ( rebol.org scripts ) and # ( to 
rambo ) as they were not needed for this script.
Ashley
14-Apr-2007
[5973]
I'll look at incorporating this.
Graham
14-Apr-2007
[5974x4]
great
I think there's no need to sort messages
unncessary complexity
spellchecker is a must though :(
Ashley
14-Apr-2007
[5978]
Although not ideal, you can always force a spellcheck with:

	...
	button "Submit" [
		request-spellcheck my-area
		...
	]

But check-as-you-go is where it needs to be.
Graham
14-Apr-2007
[5979x5]
yep
and in a chat screen, you don't normally need to scroll the text 
in the reply area ..
which might make it easier to mark the text that is thought to be 
incorrect.
How do you make a display stay on top without making it modal ?
ie. on top of the parent window
Ashley
14-Apr-2007
[5984]
Odd, just noticed that the latest View beta is registering fkeys 
as 'console, 'icmp, 'oracle, etc. Wierd. I vagually recollect someone 
else mentioning this before in another group though.
Graham
14-Apr-2007
[5985x2]
oracle ??
I haven't see this in the sdk .. but I'm not using the latest sdk.
Ashley
14-Apr-2007
[5987]
display/parent (god help anyone else trying to follow this convo 
;) )
Graham
14-Apr-2007
[5988x2]
Ok.
and to display borderless windows ?
Ashley
14-Apr-2007
[5990]
do [insert face/options 'no-title]


or you may want to create the face directly in view with the 'no-border 
option
Graham
14-Apr-2007
[5991x3]
Ok. I added a /options to display previously ...
display/options "Form" lo [ no-border ]
and this to display

	either dialog [
		spec/type: 'popup
		spec/feel: system/words/face/feel
		show-popup spec
	] [
		;; GC
		either options [
			view/new/options spec opts
		][
			view/new spec
		]
	]
Ashley
14-Apr-2007
[5994]
That will replace any options added to spec in prior steps. Better 
to insert them.
Graham
14-Apr-2007
[5995]
ok
Ashley
14-Apr-2007
[5996]
Just added fkey handling in 4 lines of code.
Graham
14-Apr-2007
[5997]
svn?