# Defines stolfi's aliases, hopefully also in a foreign environment
# Peculiar to Solaris....

#==== COMMAND ALIASES ================================================

# editors

setenv EDITOR "${STOLFIHOME}/bin/stolfi-emacs"

alias emacs "${EDITOR} \!* &"

# directory listing commands

alias laf  'ls -aF \!*'
alias ll   'ls -al \!*'
alias ld   'ls -ad \!*'
alias lld  'ls -ald \!*'

# Process listing

alias psa '/usr/ucb/ps -augx'
alias psc '/usr/ucb/ps -augxw | /bin/sort | '"${GNU_PUB}"'/bin/expand | /bin/cut -c1-14,43-'

# Postscript printing 

alias prlac 'cat \!:1 | rsh escher "/usr/bin/lp ; /usr/bin/lpstat -plj2"'

# MSDOS diskette commands

alias mcd 'setenv MCWD \!:1'
alias mpwd 'printenv MCWD'

# ping (tests whether an INTERNET address is alive)

alias ping /usr/sbin/ping

# mem (vistual memory status)

alias mem /usr/sbin/swap -s


