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

World: r3wp

[Linux] group for linux REBOL users

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
Maxim
24-May-2009
[2963]
I usually prefer having separate files for different tasks rather 
than dumping everything in the main files.
Kaj
24-May-2009
[2964]
If you're not using BASh it could be .profile
Maxim
24-May-2009
[2965x2]
maybe the originally sourced files are executed a bit differently.


on sgi IRIX I never had any issue with sourcing files into the .cshrc 
files...  I was using tcsh, which I usually prefer over bash, but 
isn't included by default in all flavors of unix.
bash tells me it can't find tcsh, so I assume its not loaded on my 
distro.
Kaj
24-May-2009
[2967]
If you want to define them globally, /etc/profile probably works, 
or maybe /etc/bash.bashrc
Maxim
24-May-2009
[2968]
I'll defining them in the .bashrc to see if they are set automatically.
Kaj
24-May-2009
[2969]
tcsh is not standard, but you can install it
Maxim
24-May-2009
[2970x3]
I remember that things like aliases are a bit more flexible (dangerous 
too) in csh and tcsh
its possible define an alias for "/" , for example, which bash doesn't 
understand.
thanks for the help :-)
Kaj
24-May-2009
[2973]
You're welcome
Maxim
24-May-2009
[2974]
its soo cool my ssh based tool reports the login errors in a nice 
rebol alert box hehehe
Kaj
24-May-2009
[2975]
:-)
Maxim
24-May-2009
[2976]
putting them in .bashrc does work... ah well, if you can't beat the 
system, join it.