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

World: r3wp

[Linux] group for linux REBOL users

Graham
2-Feb-2007
[1171]
when the fax is received, it invokes a bash script.  But I just remembered 
that I also call my rebol script from that bash script that creates 
the file in question.  So, I should be able to make it readable to 
my other script to ftp it to me.
btiffin
2-Mar-2007
[1172]
Just a shout out to <b>Quanta+<b>


I think I'm starting to like KDE, and just last month I was a Gnome 
that thought it was KiddiE.

In the  had to say it  department
I think I'm settling on an environment, at least until I blink...

Debian GNU/Linux 4.0 - Thanks Ian
KDE with kdm - Thanks Matthias
REBOL - Thanks Carl
Cheyenne - Thanks Nenad
Quanta+ - Thanks Eric
Konsole - Thanks Lars
Whatever browser pops up...and the 'tousands of other net apps
Ahh, livin'.
PhilB
4-Mar-2007
[1173x2]
Been Playing with Ubuntu .... managed to get a Rebol console running 
....
but how do I acess files on drives other than the Root ?? (I am copletely 
new to linux, so bear with me if I am missing something completely 
obvious)
PeterWood
4-Mar-2007
[1175]
Drives or directories?
PhilB
4-Mar-2007
[1176x2]
Drives
my other drives are labelled hda1 or hda5 ...
PeterWood
4-Mar-2007
[1178]
Try this :

 list-dir %/media/hda1
PhilB
4-Mar-2007
[1179]
Thanks Peter ... that worked ....
PeterWood
4-Mar-2007
[1180]
I'm not sure if it's very cross-unix, so there may be a better way.
Anton
4-Mar-2007
[1181]
Also try
list-dir %/
Ingo
4-Mar-2007
[1182]
Hi Phil,


*nix doesn't use drive-letters, so _all_ drives show up somewhere 
under the root as directories. _Where_ they show up is up to you 
;-)

Drives are "named" /dev/hda1 (first paritiion on first disk), /dev/hdb3 
(third partitiion on second drive), etc ...

There's a file, which describes the mapping, where your drives are 
put, in Rebol

print read %/etc/fstab


the first two columns show where ich drive is put in the directory 
tree (and then some more info)

or you can do 

call "mount"

which displays the currently mounted drives.
Pekr
5-Apr-2007
[1183x2]
ah! - AltME did it once again. When sending message, it got grey, 
and message sent is lost (did not make it to the Linux group)
I get following error message with my old Fedora Core install. I 
can't run SDK (dated 2.8.2006) rebols, it throws following error 
to the console:


/usr/local/rebol-sdk-cmd/bin/rebcmd: error while loading shared libraries: 
libstdc++-libc6.2-2.so.3: cannot open shared object file: No such 
file or directory
Sunanda
5-Apr-2007
[1185]
I've lost several messages that way today, despite being on a broadband 
line.

Seems either the new server is not stable, or the latest Altme is 
buggy.

Either way, this remains one of the most annoying Altme usability/reliability 
issues.
btiffin
5-Apr-2007
[1186]
Pekr; On my Debian system, I had to do an
  apt-get install libstdc++5
to get an older sdk version running.
I don't know Fedora's package manager but under Debian you would
  apt-get install libstdc++6
to get the shared libraries required.

Under GNU/Linux, having various shared libraries around isn't great, 
but it rarely hurts things.
the ldd command will show what shared libraries are required.
Graham
5-Apr-2007
[1187]
I've got this odd problem.  I am running fedora core 6 as a vmware 
image.  the time keeps dropping back 12 hours.  I have the right 
time zone, and ntpd is running, and I'm pointing to a local time 
server.
btiffin
5-Apr-2007
[1188]
How does hwclock react?
Graham
5-Apr-2007
[1189x3]
hwclock is correct.
and I've ticked that the system clock is not set to utc
I don't think a vmware image can alter the host clock ...
btiffin
5-Apr-2007
[1192]
happening at boot?
does hwclock --hctosys fix the time?
I'm fishing here...could it be a cron job "helping"
Graham
5-Apr-2007
[1193x5]
oh .. is hwclock a program?
I'll try that when it goes bad again.  Seems to happen when I'm asleep.
I'll reboot the image and see what happens.
the main reason I am running this image is so that I have an imap 
server to use with rebelBB !
damm... gone back 12 hours after rebooting.
btiffin
5-Apr-2007
[1198]
how about tzconfig
Graham
5-Apr-2007
[1199x2]
and now it has been set correctly using hwclock --hctosys
don't have a tzconfig program
btiffin
5-Apr-2007
[1201]
Oh, it just makes sure  /etc/localtime is copied from proper /usr/share/zoneinfo 
and puts the tz in /etc/timezone...my directories are for Debian
Graham
5-Apr-2007
[1202x2]
Ok.  Well, Gnome shows me the correct timezone.
Does that help?
btiffin
5-Apr-2007
[1204]
do a cat /etc/timezone
Graham
5-Apr-2007
[1205]
nothing
btiffin
5-Apr-2007
[1206]
Then make sure that /etc/localtime is identical to the /usr/share/zoneinfo/Canada/Eastern 
where the Canada/Eastern part is for me...
Graham
5-Apr-2007
[1207]
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144894
btiffin
5-Apr-2007
[1208]
Other images keep the correct time?  I had to add --directisa  to 
get the system time to hardware in the hwclock executed at shutdown. 
 That was just to get the PC to hold UTC.
Graham
5-Apr-2007
[1209]
one is out by an hour only ( day light saving I guess ).
btiffin
5-Apr-2007
[1210]
What does hwclock --show say
Graham
5-Apr-2007
[1211x2]
Ubuntu says 6:46 EDT April 6, but i have not round to setting this 
up yet.
Gee, all my images have different times!
btiffin
5-Apr-2007
[1213x2]
How about ntpdate.  Does it correct itself?
Fun stuff isn't it.  :)
Graham
5-Apr-2007
[1215x3]
hwclock --show says 10:23 NZST
it's lost 20 mins since I set the time!
ntpdate says socket is being used
btiffin
5-Apr-2007
[1218]
Debian comes with ntpdate-debian that uses ntpdate 0.debian.pool.ntp.org 
 (for the (first) server arg)
Graham
5-Apr-2007
[1219]
How does one set the time from bash ?
btiffin
5-Apr-2007
[1220]
date