From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28728 invoked from network); 27 Oct 1999 20:21:29 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Oct 1999 20:21:29 -0000 Received: (qmail 20473 invoked by alias); 27 Oct 1999 20:21:09 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2712 Received: (qmail 20466 invoked from network); 27 Oct 1999 20:21:07 -0000 Message-ID: <19991027202703.17452.rocketmail@web1504.mail.yahoo.com> Date: Wed, 27 Oct 1999 13:27:03 -0700 (PDT) From: a normal guy Subject: Can't run zsh: get fatal: out of memory error To: zsh-users@sunsite.auc.dk MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I am running HP-UX 10.20 on a HP Apollo Series 735 with 206 MBytes of RAM. When I run zsh (version 3.15) from a ksh command line, I get the following error: zsh: fatal error: out of memory I'm including my .zshenv and .zshrc files and a run-time output. Any help would be greatly appreciated. -- zsh user. --------------- Run-time output --------------- HP-UX ftcsa001 B.10.20 A 9000/735 2011218470 two-user license Setting WORK Setting PRINTER Setting MANPATH Setting tty stuff Setting the prompt Setting environment variables Starting .zshrc Setting options Setting completion control Setting less fixes Setting aliases Setting alias tar Done with .zshrc zsh: fatal error: out of memory ------- .zshenv ------- # -*-sh-*- # Add in other system paths which I want in my path. PATH=`cat /etc/PATH` PATH=$PATH:/opt/gnu/bin PATH=$PATH:/opt/xemacs-19.15/bin PATH=$PATH:/opt/netscape PATH=$PATH:/opt/Acrobat3/bin PATH=$PATH:/opt/localtools/softtools/bin700 PATH=$PATH:. PATH=$PATH:$HOME PATH=$PATH:$HOME/bin export PATH # Echo the system information to the screen. echo uname -a echo # Set up columns and rows for generic 80x24 terminal. export COLUMNS=80 export LINES=24 echo "Setting WORK" # Set up home directory at work export WORK=/home/zshuser # This variable controls where 'cd' trys to look for directories. export CDPATH=.:..:$HOME:$HOME/bin echo "Setting PRINTER" # Default printer export LPDEST=dj895c export PRINTER=dj895c echo "Setting MANPATH" # Add in other paths. if [ -r /etc/MANPATH ]; then # This is what the system /etc/profile does to set up MANPATH. MANPATH=$LOCALMANPATH:`cat /etc/MANPATH` else MANPATH=$LOCALMANPATH fi LOCALMANPATH=$HOME/man LOCALMANPATH=$LOCALMANPATH:/opt/softbench/man export MANPATH echo "Setting tty stuff" tty -s if [ $? = 0 ]; then stty erase ^H kill ^U intr ^C susp ^Z stty cs8 -istrip -parenb # 8 bit mode, please! stty -ixon -ixoff -ixany # XON/XOFF flow control is evil - kill it fi echo "Setting the prompt" # # Set the prompt # #PS1="%m:%n:%4c> " PS1="%m:%4c> " #PS1="%m:%~> " # Set the prompt to explicitly show root if [ $UID = 0 ]; then PS1="%m:%n:%~# " fi echo "Setting environment variables" # # Set environment variables # # Phone stuff export ACROFILES=/nfsusers/lanadm/lib/acronyms export PHONEFILES=/nfsusers/lanadm/lib/phones.local export TELNETFILES=/nfsusers/lanadm/lib/phones.telnet export PHONETFILES=/nfsusers/lanadm/lib/phones.telnet export TELNETLOCS=/nfsusers/lanadm/lib/locs.telnet export HPDESKLOCS=/nfsusers/lanadm/lib/locs.hpdesk export WHEREFILES=/nfsusers/lanadm/lib/hpux.directory export HPDESKFILES=/nfsusers/lanadm/lib/hpdesk.dir export DIRSTACKSIZE=16 if [ $TERM = hpterm ]; then DISPLAY=${$(who -Rm | cut -d '(' -f2 | cut -d ')' -f1)%%.*}:0.0 else DISPLAY=${$(who -Rm | cut -d '(' -f2 | cut -d ')' -f1)%%:*}:0.0 fi export DISPLAY export EDITOR=emacs export HISTSIZE=2000 export LESS=-Qeis export LS_COLORS="fi=32:di=36:ex=37:ln=33:*.tar=01;32:*.tgz=01;32:*.arj=01;32:*.taz=01;32:*.lzh=01;32:*.zip=01;32:*.z=01;32:*.Z=01;32:*.gz=01;32:*.deb=01;34:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35" export MOZILLA_HOME=/opt/netscape export PAGER='less -s' export PG=-n # pg customization export PROJECT=$HOME # for mkmf finding $PROJECT/lib/mf/ export TZ=MST7MDT export VISUAL=emacs export WORDLIST=$HOME/.ispell_words # Personal ispell(1) ------ .zshrc ------ # -*-sh-*- echo "Starting .zshrc" longdisp() { export DISPLAY=$DISPLAY.0 ; echo "DISPLAY=$DISPLAY" } nohup() { setopt nohup; $* } setdisp() { export DISPLAY=$1:0.0 ; echo "DISPLAY=$DISPLAY" } setenv() { export $1=$2 } shortdisp () { export DISPLAY=${DISPLAY%.0}; echo "DISPLAY=$DISPLAY" } viewmp() { tbl -TX $* | nroff -man | neqn | col | less } ne() { nenscript -t 4 -G2r -p- $1 | lp -d${2:-$PRINTER} -od -onb -ops } xe() { xemacs $* &! } em() { emacs $* &! } umask 022 ulimit -c 0 echo "Setting options" # # Set environment options # setopt autocd setopt autolist setopt automenu setopt autopushd setopt chaselinks setopt correct setopt extendedglob setopt histignoredups setopt ksharrays setopt kshglob setopt kshoptionprint setopt nobeep setopt nohup setopt nonomatch setopt numericglobsort setopt pushdsilent setopt shwordsplit unsetopt rmstarsilent unsetopt bgnice bindkey -e echo "Setting completion control" compctl -k hosts ncftp ftp telnet ping remsh rlogin traceroute nslookup compctl -g '*(D/)' cd compctl -g '*.ps' gs ghostview compctl -g '*.dvi' xdvi dvips compctl -g '*.tex *latex' tex latex compctl -g '*.c *.C *.cc' cc gcc c89 compctl -g '*.postout *.postat.out' ps3o.pl sdd() { sd `who -uR|grep $LOGNAME | cut -c 52-88` ; } # This works for all XTerms to set the path in the window title swt() { echo -n "\033]0;$*\007" } LHOST=$(basename $HOST .fc.hp.com) if [ x$TERM = xxterm ]; then cd() {chdir $* ;swt $LHOST:$PWD} cd . fi # This allows the ALT key to be used as the Meta Key in Emacs (I think)... xmodmap -display $DISPLAY -e 'remove mod1 = Mode_switch' sv() { export $1=$PWD; cd ~$1 } rtop() { remsh $1 "sh -e 'export TERM=xterm; top'" } # This fixes problems with the weird X11 directory structure around here. LPATH=/usr/lib:/usr/lib/X11R6:/usr/lib/X11R5:/usr/local/X11R6/lib:/usr/local/X11R5/lib #LANG=english echo "Setting less fixes" # #HPUX-10.20 and less fixes: # bindkey "^[OA" up-line-or-history bindkey "^[OB" down-line-or-history bindkey "^[OC" forward-char bindkey "^[OD" backward-char # # For KSH compatability: # bindkey "^[^[" expand-or-complete export NNTPSERVER=news # # Fast, internal BCD function which records current place # bcd() { if [ $# != 1 ]; then echo "Usage: bcd " return 1 fi OLDCDPATH=$CDPATH CDPATH=$BLOCKPATH cd $1 CDPATH=$OLDCDPATH unset OLDCDPATH WORK=`pwd`; } llc() { LANG=english; gls -aoF --color=tty $*; LANG=C } echo "Setting aliases" # # Set aliases # if [ -x =gls ] && [ x$TERM != xemacs ] then alias llt='gls -alFt --color=tty' alias ll='gls -aoF --color=tty' alias lg='gls -alF --color=tty' alias lltr='gls -alFtr --color=tty' alias ls='gls -aCF --color=tty' alias lld='gls -adoF --color=tty' alias llm='gls -aoF --color=tty | more' alias llrs='gls -lrF --color=tty --sort=size' else alias llt='ls -alFt' alias ll='ls -alF' alias ls='ls -aCF' alias llm='ls -aoF' fi alias back='cd $OLDPWD' alias bc='bc -l' alias clean='rm -f *~ .*~' alias cdpm='cd epic/NM' alias dv='dirs -v' alias earth='xearth -pos fixed,40,-111 -ncolors 10 -grid -label -fork' alias ggi='ggrep -i' alias grep=ggrep alias h=history alias home='cd ~' alias la='ls -alF' alias ldd=chatr alias localweb='cd /nfsusers/ande/public_html' alias md='mkdir' alias netfind='stelnet netfind.sjsu.edu' alias nisttime='stelnet time_a.timefreq.bldrdoc.gov 13' alias psl='ps -l -u $LOGNAME' alias pslf='ps -lfu $LOGNAME' alias savecolors='xhpcalc -iconic &! ; xemacs -iconic &! ; mgdiff .zshrc .cshrc &! ' alias sdf='echo $DISPLAY >~/.display' alias sz='eval `resize`' echo "Setting alias tar" alias tar=gtar alias top='top -s1' alias up='cd ..' alias win='wfcmgr &' alias where=/usr/local/bin/where alias xt='TERM=xterm; resize' alias xterm='xterm -geometry 80x24+475+297' echo "Done with .zshrc" ===== __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com