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

World: r3wp

[Linux] group for linux REBOL users

Anton
16-Oct-2008
[2475]
(Once some hard working individual has already figured it out, of 
course.)
Pekr
29-Oct-2008
[2476]
Is there any description out there, which describes how to add missing 
libraries to Linux, when you want to run Rebview? My friend is running 
some small linux distro, and can't start View, so he asked me to 
help him to get it running ....
Robert
29-Oct-2008
[2477x2]
If it's Debian: apt-get install <libname>
and libname is something you must guess ;-)
Graham
29-Oct-2008
[2479]
I'm sure the Cheyenne website explains which libs are required.
btiffin
29-Oct-2008
[2480x2]
ldd    will list dependencies for any object or binary.
Tracking which package (as Robert mentions can be a pain, but)

after  apt-get install apt-file   and  apt-file update   it gets 
easier.
If he has yum,   yum whatprovides
Dockimbel
30-Oct-2008
[2482]
http://www.cheyenne-server.org/blog.rsp?view=14&cmt=on
Graham
30-Oct-2008
[2483]
Perhaps you could amend that page to include vista users < 1024
Izkata
30-Oct-2008
[2484x2]
kcollins:  I have Rebol 2.7.6 running with zero problems on 64-bit 
Ubuntu Hardy fresh install, with no hackery...
old post..  x_x   I need to visit more often
Robert
30-Oct-2008
[2486]
And you can search with: apt-cache search <lib name fragment> to 
see what the packagename might be. Or use atptitude and press / to 
search and than N for next hit. Than + to install.
Louis
5-Nov-2008
[2487x2]
Anybody see what is wrong with this script? It is supposed to call 
ImageMagick to reduce the size of specific jpeg files in a directory. 
 It processes a few files, then locks up my computer.

rebol []
files: sort read %.
num: length? files
print ["Number of files in directory: " num newline]
count: 0
foreach file files [
	if all [find file ".JPG" not find file "Nain-"][
		newfile:  join "Nain-" file
		call/console reduce ["convert" file "-resize 25%" newfile]
		count: count + 1
		prin [count " "]
	]
]
print "DONE"
Never mind. It work now.
Anton
5-Nov-2008
[2489x2]
What was the problem ?
I was going to suggest putting a short wait after the call.
Henrik
5-Nov-2008
[2491]
I think it will call imagemagick a lot of times without wait, like 
Anton suggests.
Louis
5-Nov-2008
[2492]
Either the /console refinement fixed it (I should have tested one 
more time before posting), or else using trace fixed it by slowing 
it down (kind of a wait substitute).  :>)
Graham
7-Nov-2008
[2493x2]
I've got mail for root ending up in /var/mail/root ... is there any 
way I can get this mail redirected to my gmail account?
I looked at the etc/aliases but you can't seem to alias to outside
Gabriele
7-Nov-2008
[2495x2]
the most simple way is to create a file /root/.forward with your 
email address in it
otherwise, you can use the virtusertable file to control what happens 
on incoming mail. you can send to a local user, forward to another 
address, run a command, and so on. (eg. you could call rebol, filter 
with your spam filter, then SEND to gmail, or whatever)
Graham
7-Nov-2008
[2497]
Thanks .. I'll look at that.
Robert
4-Dec-2008
[2498x2]
Can I keep a Rebol script running by starting it with: 
	script-name.r &

if the script has a shebang line? It seems this makes some problems.
Looks like using: nohup script-name.r & works.
btiffin
4-Dec-2008
[2500]
Robert;  You may want to look at   screen   as well.  Pretty powerful.
Robert
5-Dec-2008
[2501]
What's "screen"? I''m using Linux without any GUI.
Tomc
5-Dec-2008
[2502]
man screen
Robert
5-Dec-2008
[2503]
;-)
Tomc
5-Dec-2008
[2504x2]
although terse I wasn't intending to be flippant
I used screen enough years ago i would have to re read the man page 
to use it now
Robert
5-Dec-2008
[2506]
No, no problem. It's just THAT obvious to try but screen is that 
general...
btiffin
5-Dec-2008
[2507]
screen may not be installed by default.  And I think it may be best 
described as a multiple process enabled session multiplexor disguised 
as a teminal program
kcollins
5-Dec-2008
[2508]
Another option is dtach, which allows you to detach from and reattach 
to a terminal session even if you completely disconnect from the 
machine in the interim.
Graham
5-Dec-2008
[2509]
http://rebol.wik.is/Hylafax/Dtach
Tomc
5-Dec-2008
[2510x2]
dtach looks alot like all I ever used screen for anyway
thanks
Gabriele
5-Dec-2008
[2512]
or just >/dev/null </dev/null 2>/dev/null :-)
Robert
6-Dec-2008
[2513x2]
Gab, yes of course ;-) that's the "through the desert on your knees" 
approach.
Guys, thanks a lot. As always there is more than one way to do it. 
:-)
Henrik
10-Dec-2008
[2515]
http://linuxlock.blogspot.com/2008/12/linux-stop-holding-our-kids-back.html


Interesting problem to face, if some people think Linux is illegal 
to copy.
Kaj
11-Dec-2008
[2516]
Yeah, we're brainwashed by the intellectual property industry
btiffin
11-Dec-2008
[2517]
I don't usually, as I like to remain gullible, but I'm calling bullpies 
on the original e-mail.
amacleod
17-Dec-2008
[2518]
btiffin, Are you saying you do not believe the e-mail? I find it 
hard believe the pro-microsoft stuff but the ignorance of Linux I 
do not doubt. I taught HS in NYC for 6 years and most teachers were 
clueless of computers in general.
btiffin
17-Dec-2008
[2519]
Yeah, I'm calling bull on the original, but it's just a spidey-sense 
more than faith in humanity.  I did like the one comment mentioning 
some people thinking "it's illegal to erase Windows from my harddrive".
BrianH
17-Dec-2008
[2520]
I've met people who think that what the original message said is 
true, so I think it's plausible.
Pekr
19-Dec-2008
[2521]
Who has got better Linux support - AMD or NVidia? I am looking for 
MB with embedded gfx chipset, being able to utilise FullHD, so it 
has contain H.264, VC-1 hw codecs, and Linux must be able to support 
it ...
Gabriele
20-Dec-2008
[2522]
I'm not aware of any video decoding acceleration on linux, though 
there may be ways to get it I guess. it surely is not mainstream.
Anton
20-Dec-2008
[2523]
I would say NVidia.
Pekr
20-Dec-2008
[2524]
thanks!