From owner-freebsd-questions Thu Mar 23 18:49:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 5701D37B626 for ; Thu, 23 Mar 2000 18:49:13 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (ppp1.patr.hellasnet.gr [212.54.197.16]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id EAA11327; Fri, 24 Mar 2000 04:48:10 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.9.3/8.9.3) id EAA00959; Fri, 24 Mar 2000 04:01:45 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 24 Mar 2000 04:01:44 +0200 From: Giorgos Keramidas To: Justin Cc: questions@FreeBSD.ORG Subject: Re: tcsh .tcsh resources Message-ID: <20000324040144.A303@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="envbJBWh7q8WU6mo" X-Mailer: Mutt 1.0i In-Reply-To: ; from asmo@bck.org on Thu, Mar 23, 2000 at 04:52:56PM -0500 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii On Thu, Mar 23, 2000 at 04:52:56PM -0500, Justin wrote: > > Can a few of you send me a few samples of your tcshrc files, IF you > use it of course. And make sure you take anything personal out :> > Im in the process of building mine to perfection! heh I'm using the standard /bin/csh as my login shell, although for scripting I usually prefer /bin/sh or perl. I don't know if you'll find these useful at all, but my .cshrc and .login are attached :) Ciao, - Giorgos Keramidas --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dot-cshrc Content-Transfer-Encoding: quoted-printable # $Id: .cshrc,v 1.9 2000/03/23 17:15:11 charon Exp $ # # .cshrc - csh resource script, read at beginning=20 # of execution by each shell # # see also csh(1), environ(7). # # new file permissions umask 022 # aliases, aliases, aliases alias cd 'cd \!* ; pwd' alias h history 25 alias j jobs -l alias m \$PAGER alias ls /bin/ls -bAFoC alias v ls -l # even more aliases alias w3m '/usr/local/bin/w3m -no-graph' # this works with my 'hacked' version of send-pr. alias send-pr 'env MAIL_AGENT=3D"/usr/sbin/sendmail -oem -oi -t -f user@mai= l.isp.gr" /usr/bin/send-pr' # shortcuts for launching ssh's alias bug 'ssh -l charon bug.gr' alias diogenis 'ssh -l keramida diogenis.ceid.upatras.gr' alias zenon 'ssh -l keramida zenon.ceid.upatras.gr' # be paranoid alias cp 'cp -ip' alias mv 'mv -i' alias rm 'rm -i' # set the primary prompt to `HOST% ' switch ($TERM) case xterm*: set prompt =3D "=1B[34m`hostname | cut -d. -f1`%=1B[0m " breaksw default: set prompt =3D "`hostname | cut -d. -f1`% " breaksw endsw set filec # enable ESC file completion set history =3D 1024 # size of the history buffer set savehist =3D 1024 # size of saved history # user environment setup setenv BLOCKSIZE K setenv CVSROOT /home/cvs setenv EDITOR vi setenv LESSCHARSET koi8-r setenv BLOCKSIZE K setenv IRCNAME 'morto, come sempre' setenv IRCNICK charon setenv LESSCHARSET "koi8-r" setenv MM_CHARSET iso-8859-1 setenv MAIL "$HOME/mail/default" setenv NNTPSERVER localhost setenv PAGER less setenv PARINIT 'rTbgqR B=3D.?_A_a Q=3D_s>|%:#' setenv QMAILHOST "isp.gr" setenv QMAILUSER "username" setenv QMAILNAME "Giorgos Keramidas" # extra environment setup for using postgres dbms setenv PGLIB /usr/local/pgsql/lib setenv PGDATA /usr/local/pgsql/data --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=dot-login # $Id: .login,v 1.6 2000/03/21 01:22:52 charon Exp $ # # .login - csh login script, read by login shell, # after `.cshrc' at login. # # see also csh(1), environ(7). # # the path for simple users set path = (/sbin /bin /usr/sbin /usr/bin /usr/games \ /usr/local/bin /usr/X11R6/bin \ /usr/local/pgsql/bin \ $HOME/bin) # ignore end-of-file for login shells set ignoreeof # personal additions to the system path set path = ($path /usr/games) # A righteous umask umask 022 # Set erase to backspace. stty erase '^H' # Print any calendar entries for today. [ -d $HOME ] && cd $HOME echo "" [ -x /usr/bin/calendar -a ./calendar ] && /usr/bin/calendar [ -x /usr/games/fortune ] && /usr/games/fortune echo "" --envbJBWh7q8WU6mo-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message