besides being pretty and colorful this prompt is useful as well!
set prompt="%{\033[0;35m%}<%{\033[30;1m%}%h%{\033[0;35m%}>%{\033[0;36m%}%m%{\033[1m%}: %{\033[32m%}%c5%{\033[33m%}%#%{\033[0m%} "
set rprompt='%S%$note %s [%B%?%b] %D %w %T'
(make sure there are NO spaces in the $prompt variable. even though the above shows a space after a [0)
from right to left:
* history number.
allows you to quickly recall history events you see on screen.
* machine_name:path.
useful if you use rcp or scp, simply copy-paste the relevant part of the prompt to another window:
> scp a.out carl:~/R+D
i used to have my login name there too:
<212>eli7@fuzzy:~/R+D>
which helps if you have different logins on different machines.
<501>ealexand@dubek:~/ckp> scp tmp.c eli7@fuzzy:~/R+D
but the prompt becomes a bit too long.
* a little reminder.
i have a silly alias for taking a small note:
alias note 'set note="\!*"'
if i type "note call home" this will show up on the right hand side of my screen as a reminder.
* exit status.
cant live without it! for those programs that dont bother printing error messages for us humans.
* and finally the date and time.
Try it!
p.s.
if i dont have a color terminal i use:
set prompt="<%h>%m:%c5%# "
or with some c-shells:
set prompt="$hostname> "
i would be happy if they forced people to put binaries in the right place.
ones critical for system boot in/bin, and/sbin and the rest in/usr/bin,/usr/sbin, etc.
and what about boot scripts?
where do they go?
/etc/init.d/, not/etc/rc.d/init.d/!
i dont know why he's complaining about the deafult install's partitioning scheme.
the default debian install has a swap and a huge / partition. i agree that this is a bad-thing if you have users, in which case thier home directories should be seprate, and so should/var and/tmp, and perhaps have/usr mounted over NFS - but who uses the default install anyway? these people probably do not have users to worry about! since we are not yet using LVM, this is the most efficient way to partition. you will never run into problems where you run out of space on one partition and have to juggle stuff around.
while it is not the way i do it, it is definitly the best choice for new users - the ones who would choose the default install.
i was very unhappy with PPPoE. but maybe I was just very unhappy with bell atlantic DSL. first, the do not advertize that they use PPPoE, so I had to figure that out myself, and obviously they are clueless about everything. there were 3 different solutions for PPPoE in Linux. The one i used required a kernel patch and running pppd (PPPoE seems like useless overhead). i had to use a dynamic IP which forced me to use dynodns.net, and it was quite a pain with the firewall scripts. bell atlantic claimed there was no way to get a fixed IP with PPPoE. finally, the worst thing was that i would get disconnected all the time and had to log back in. a simple keepalive script helped with that. i canceled my DSL service with them. maybe someone else had a better experience with PPPoE?
The Public DNS Service seem very cool. This isn't related either, but DynoDNS will give you yourname.dynodns.net for a dynamic IP. updatable with a web page or various clients you can put in your ip-up script.
when i lived in newyork.ny.us i tried to register a domain. they never got back to me, whats up with that?
besides being pretty and colorful this prompt is useful as well!
;35m%}>%{\033[0;36m%}%m%{\033[1m%}: %{\033[32m%}%c5%{\033[33m%}%#%{\033[0m%} "
set prompt="%{\033[0;35m%}<%{\033[30;1m%}%h%{\033[0
set rprompt='%S%$note %s [%B%?%b] %D %w %T'
(make sure there are NO spaces in the $prompt variable. even though the above shows a space after a [0)
from right to left:
* history number.
allows you to quickly recall history events you see on screen.
* machine_name:path.
useful if you use rcp or scp, simply copy-paste the relevant part of the prompt to another window:
> scp a.out carl:~/R+D
i used to have my login name there too:
<212>eli7@fuzzy:~/R+D>
which helps if you have different logins on different machines.
<501>ealexand@dubek:~/ckp> scp tmp.c eli7@fuzzy:~/R+D
but the prompt becomes a bit too long.
* a little reminder.
i have a silly alias for taking a small note:
alias note 'set note="\!*"'
if i type "note call home" this will show up on the right hand side of my screen as a reminder.
* exit status.
cant live without it! for those programs that dont bother printing error messages for us humans.
* and finally the date and time.
Try it!
p.s.
if i dont have a color terminal i use:
set prompt="<%h>%m:%c5%# "
or with some c-shells:
set prompt="$hostname> "
i would be happy if they forced people to put binaries in the right place. /bin, and /sbin and the rest in /usr/bin, /usr/sbin, etc.
/etc/rc.d/init.d/!
ones critical for system boot in
and what about boot scripts?
where do they go?
/etc/init.d/, not
the two will annihilate producing energy that correspondes to the sum of the mass of the patent and the mass of the antipatent.
i dont know why he's complaining about the deafult install's partitioning scheme. /var and /tmp, and perhaps have /usr mounted over NFS - but who uses the default install anyway? these people probably do not have users to worry about! since we are not yet using LVM, this is the most efficient way to partition. you will never run into problems where you run out of space on one partition and have to juggle stuff around.
the default debian install has a swap and a huge / partition. i agree that this is a bad-thing if you have users, in which case thier home directories should be seprate, and so should
while it is not the way i do it, it is definitly the best choice for new users - the ones who would choose the default install.
from the would-C-be-different-if-it-WERE-in-German dept.
i was very unhappy with PPPoE. but maybe I was just very unhappy with bell atlantic DSL.
first, the do not advertize that they use PPPoE, so I had to figure that out myself, and obviously they are clueless about everything.
there were 3 different solutions for PPPoE in Linux. The one i used required a kernel patch and running pppd (PPPoE seems like useless overhead).
i had to use a dynamic IP which forced me to use dynodns.net, and it was quite a pain with the firewall scripts. bell atlantic claimed there was no way to get a fixed IP with PPPoE.
finally, the worst thing was that i would get disconnected all the time and had to log back in. a simple keepalive script helped with that.
i canceled my DSL service with them.
maybe someone else had a better experience with PPPoE?
The Public DNS Service seem very cool.
This isn't related either, but DynoDNS will give you yourname.dynodns.net for a dynamic IP. updatable with a web page or various clients you can put in your ip-up script.