[BACK]Return to .etsh.login CVS log [TXT][DIR] Up to [cvs] / v6shell / examples

File: [cvs] / v6shell / examples / .etsh.login (download)

Revision 1.4, Sat Dec 15 21:22:04 2018 UTC (4 weeks, 4 days ago) by jneitzel
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines

Update examples/{.*,*}; primarily, 'io' to 'nl' changes...; + in
examples/.etshrc, remove the fd2(1) rdirection to /dev/null from
the V & VV aliases

: $h/.@EBN@.login - " Modify to taste. "
:
: "  The author of this file, J.A. Neitzel <jan (at) etsh (dot) nl>,  "
: "  hereby grants it to the public domain.                           "
:
: "  From:  https://etsh.nl/examples  "
:

: fd2 -e echo "debug: Executing `"$h/.@EBN@.login"' now..."

: " OpenBSD: Using /etc/man.conf is preferable to setting MANPATH if possible. "
: setenv MANPATH $h/man:/usr/share/man:/usr/X11R6/man:/usr/local/man
: " But in the   ^^^^^^ case, MANPATH is the better way (assuming you need     "
: " or want your $h/man to remain private).                                    "

alias	logout	'(trap)|if { grep "^trap :  1$">/dev/null } fd2 -e echo "SIGHUP ignored - Type an EOT (^D) instead";trap : 1;(trap)|if ! { grep "^trap :  1$">/dev/null } fd2 -e echo "SIGHUP ignored - Type an EOT (^D) instead";kill -HUP $$;false'
source	etshdir	$$

: " Print a message or two at login time (to standard error). "
fd2 -e echo ; fd2 -e date '+%A, %Y-%m-%d, %T %Z' ; fd2 -e echo
fd2 -e if -x /usr/games/fortune /usr/games/fortune -s
: zero status