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

World: r3wp

[Linux] group for linux REBOL users

ManuM
9-May-2009
[2913]
Henrik: If you are talking about bug#779 I have added a comment at 
bug
http://curecode.org/rebol3/ticket.rsp?id=779&cursor=1
Something similar can be:
open-file-manager: funct [ dir ][ call reform [ "xdg-open" dir ]]
Henrik
9-May-2009
[2914]
very nice and simple. thanks.
ManuM
9-May-2009
[2915]
Robert: I work with kubuntu 8.10 but I think that can help

This is one line from my "/etc/fstab" file. It mounts a fat filesystem 
at /media/DESARROLLO ( dir /media/DESARROLLO already exists )
/dev/sda7 /media/DESARROLLO vfat rw,utf8,umask=000 0 0

With umask=000 the access to /media/DESARROLLO will be rwxrwxrwx 
( the owner is root and the group is root, I don't know how to change 
it )
Robert
9-May-2009
[2916x3]
Ok, trying it.
There is a tool to convert filenames (convmv) to UTF8. I'm wondering, 
what influence this has on running programs?
For example: IOS has a registry, if I conver the filesystem names 
to UTF8, will this render the registry entries invalid?
ManuM
9-May-2009
[2919]
I don't know ( the two questions ) :)
Gabriele
12-May-2009
[2920x2]
Robert, afaik file names are utf8 by default on ext filesystems. 
(actually i think the filesystem does not care much about the encoding, 
but the os in general uses utf8.) i think you need that option on 
the ntfs filesystem, not the ext one.
re: ios, if you have non-ascii chars, it could be a problem.
Robert
13-May-2009
[2922x2]
I'm wondering how I got those "invalid UTF-8 characters" onto my 
EXT3 filesystem. IOS cleans-out filenames that contain special characters, 
so it should be no problem on the server-side.
I'm going to try to convert 1 single filename and see what happens.
Gabriele
13-May-2009
[2924x2]
most programs do not check that the file name is valid utf-8. normally, 
you're using a utf-8 terminal so there is no way you can type an 
invalid filename. but you can easily create one using rebol for eg. 
or using escape sequences in the shell and so on
in the same way, you can convert them back as long as you know what 
the source charset was
Robert
13-May-2009
[2926]
Ok thanks.
Maxim
17-May-2009
[2927x2]
I haven't played with unix for so long I'm a bit (very :-)  rusty.

when doing an 'ls -al'

I get:

total 20
drwxr-xr-x  2 root root 4096 May 16 05:37 .
drwxr-xr-x 21 root root 4096 May 16 12:10 ..
-rw-------  1 root root  437 May 17 09:35 .bash_history
-rw-r--r--  1 root root  412 Dec 15  2004 .bashrc
-rw-r--r--  1 root root  140 Nov 19  2007 .profile


I can't remember what the "total 20" stands for. 

it doesn't map to file numbers, block counts used by files, or anything 
I can gather... is this some type of millisecond count of time it 
took to perform the file list?
I used to be an IRIX certified integration expert... working on 1M$ 
+ systems ... this feels strange...I feel like a newbie all over 
again  :-)
Dockimbel
17-May-2009
[2929x2]
It matches the number of "o" in double "oo". ;-)
More seriously, it looks like it's the total number of file system 
blocks. See there : http://www.mailinglistarchive.com/[fedora-list-:-redhat-:-com]/msg51203.html
Maxim
17-May-2009
[2931x2]
ahhh yes using the -h flag does make it explit and clear
thx for the link
Maxim
18-May-2009
[2933x2]
I never really liked linux... (being a fan of "real" unixes which 
actually do work all the time  ;-)  and now I am remembering why.
I got a bare-bones debian install, and am trying to add X11 to it. 
can any one point me to a real link with explicit instructions?
Henrik
18-May-2009
[2935]
apt-get install xserver-xorg
 might be a good place to start
Maxim
18-May-2009
[2936x2]
I've tried following instructions from a few sites which show a 3 
command line install, but that fails, since it doesn't install x11 
, only xwindows, and then it reports its missing about 2% of the 
files from the distribution server itself.
yep that fails so far.

getting a number of missing packages.
Henrik
18-May-2009
[2938]
did you run apt-get update first?
Maxim
18-May-2009
[2939]
hum.... I seem to remember doing but I was falling asleep on my keyboard 
by that time... ok so I should de an apt-get update first, and then 
attempt the xserver-xorg  ?
Henrik
18-May-2009
[2940x2]
the update syncs the repository, so if packages were missing, they 
should be there now.
although I find it strange that debians package repository should 
be that broken. it usually isn't.
Maxim
18-May-2009
[2942x2]
the apt-get update  did the trick
thanks :-)  I was able to install the whole x11 without complaining.
Henrik
18-May-2009
[2944]
neat
Maxim
18-May-2009
[2945]
there are a few missing files, but so far it at least was able to 
get to the point where it actually installed the X 11 apps and utilities... 
not just a few libs
Henrik
18-May-2009
[2946]
my biggest peeve with it has always been to find that magic package 
that installs everything you need.
Maxim
18-May-2009
[2947x2]
retrying to start cheyenne...
btw all is good, cheyenne/view is working on my server. (in case 
someone is following the discussion)
Henrik
18-May-2009
[2949]
oh, that's nice. do graphics and fonts work?
Maxim
18-May-2009
[2950x3]
no clue  !!  I havn't even started putting content yet :-) 


working on new ssh-admin upload/download/shortcut features  and  
then  remark_mod.


until remark_mod is working, no content will be visible. forcing 
myself to implement what I've been wanting to do for years  ;-)
but since one of the initial tags will be liquid-paint integration, 
in order to build gfx dynamically... I'll soon know  :-)
this is an exciting time for me...


 I've been inching my way to this point for almost a decade.  building 
 libs and tools one by one with a precise vision in mind.   I am now 
 at the point where I can start integrating all of that into "products", 
 and so far there is very little things to change, all the lego bricks 
 fit together  :-D
btiffin
18-May-2009
[2953]
Go Max Go!
amacleod
18-May-2009
[2954]
What are we talking about here, Maxim? What will this allow you to 
do exactly?
Maxim
18-May-2009
[2955]
you mean the ssh-admin?
amacleod
18-May-2009
[2956x2]
yes/no...More interested in remark_mod and remark v2
how dynamic?
Maxim
18-May-2009
[2958]
there is a !remark group.. more details are there, ask remark questions 
there ;-)
Maxim
24-May-2009
[2959]
I am sourcing a file with alias commands in them, but they aren't 
actually being applied.

typing those exact commands directly in the shell works.


I know alias is not a file command, but a bash internal operation, 
but how can I get bash to source the files and apply the aliases 
to my login automatically?


the echo within the file IS printing on the shell, so its not just 
chmod thing... any linux gurus can help me?
Kaj
24-May-2009
[2960]
Depending on the Linux distro, there are several startup files executed 
by the shell where you can enter them
Maxim
24-May-2009
[2961]
in this case, debian.
Kaj
24-May-2009
[2962]
I currently have mine in my home directory in .bashrc