Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Job control under IRIX [5.3/6.2]



Hello all,

	I just compiled Zsh 3.0.1 under IRIX 5.3 and 6.2 for the first
time.  It compiled clean and "out-of-the-box".  I then just noticed some 
strangeness with job control.

	If I startup an application, say netscape, and do not immediatly
background the process, say "netscape &", I cannot later, background the
application to regain shell control.  I also cannot kill the application
from this shell either.  I have to either exit the application or kill it
from another window.  This happens in both IRIX's Winterm (aka XWsh) and
plain-old XTerm.

	Here is a sample:

	babylon % netscape
	^C^Z
	...

etc.

	This doesn't happen on my Linux boxes or my FreeBSD boxes from
with in XTerms or on console.  I thought I might be something with not
defining -D_BSD_SIGNALS or -DPOSIX_SIGNALS properly, but config.h has them
included.

	Any ideas? (I am not the UNIX programmer... ;)

	I have attached:

	1. the config.log
	2. the configh.h
	3. my .zshrc file

Thanks
	--ryan

=========================================================================
+ Ryan Dooley                       * ryan@xxxxxxxxxxxxxxxx             +
+ Network / Systems Administrator   * voice: (573) 882-2162             +
+ University of Missouri - Columbia * College of Education              +
=========================================================================
/* config.h.  Generated automatically by configure.  */
/* config.h.in.  Generated automatically from configure.in by autoheader.  */

/***** begin user configuration section *****/

/* Define this to be the location of your password file */
#define PASSWD_FILE "/etc/passwd"

/* Define this to be the name of your NIS/YP password *
 * map (if applicable)                                */
#define PASSWD_MAP "passwd.byname"

/* Define to 1 if you want user names to be cached */
#define CACHE_USERNAMES 1

/* Define to 1 if system supports job control */
#define JOB_CONTROL 1

/* Define to 1 if system has working FIFO's */
#define HAVE_FIFOS 1

/* Define this if you use "suspended" instead of "stopped" */
#define USE_SUSPENDED 1
 
/* The default history buffer size in lines */
#define DEFAULT_HISTSIZE 30

/* The default editor for the fc builtin */
#define DEFAULT_FCEDIT "vi"

/* The default prefix for temporary files */
#define DEFAULT_TMPPREFIX "/tmp/zsh"


/***** end of user configuration section            *****/
/***** shouldn't have to change anything below here *****/

/* Define to empty if the keyword does not work.  */
/* #undef const */

/* Define if the `getpgrp' function takes no argument.  */
#define GETPGRP_VOID 1

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef gid_t */

/* Define if you have the strcoll function and it is properly defined.  */
#define HAVE_STRCOLL 1

/* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */
#define HAVE_SYS_WAIT_H 1

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef mode_t */

/* Define to `long' if <sys/types.h> doesn't define.  */
/* #undef off_t */

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef pid_t */

/* Define as the return type of signal handlers (int or void).  */
#define RETSIGTYPE void

/* Define to `unsigned' if <sys/types.h> doesn't define.  */
/* #undef size_t */

/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly.  */
/* #undef STAT_MACROS_BROKEN */

/* Define if you have the ANSI C header files.  */
#define STDC_HEADERS 1

/* Define if you can safely include both <sys/time.h> and <time.h>.  */
#define TIME_WITH_SYS_TIME 1

/* Define to `int' if <sys/types.h> doesn't define.  */
/* #undef uid_t */

/* The global file to source absolutely first whenever zsh is run; *
 * if undefined, don't source anything                             */
#define GLOBAL_ZSHENV "/etc/zshenv"

/* The global file to source whenever zsh is run; *
 * if undefined, don't source anything            */
#define GLOBAL_ZSHRC "/etc/zshrc"

/* The global file to source whenever zsh is run as a login shell; *
 * if undefined, don't source anything                             */
#define GLOBAL_ZLOGIN "/etc/zlogin"

/* The global file to source whenever zsh is run as a login shell, *
 * before zshrc is read; if undefined, don't source anything       */
#define GLOBAL_ZPROFILE "/etc/zprofile"

/* The global file to source whenever zsh was run as a login shell.  *
 * This is sourced right before exiting.  If undefined, don't source *
 * anything                                                          */
#define GLOBAL_ZLOGOUT "/etc/zlogout"

/* Define to 1 if compiler incorrectly cast signed to unsigned */
/* #undef BROKEN_SIGNED_TO_UNSIGNED_CASTING */

/* Define if your system defines TIOCGWINSZ in sys/ioctl.h.  */
/* #undef GWINSZ_IN_SYS_IOCTL */

/* Define to 1 if you have NIS */
#define HAVE_NIS 1

/* Define to 1 if you have NISPLUS */
/* #undef HAVE_NIS_PLUS */

/* Define to 1 if you have RFS superroot directory. */
/* #undef HAVE_SUPERROOT */

/* Define to 1 if you have the /dev/fd filesystem */
#define HAVE_DEV_FD 1

/* Define if sys/time.h and sys/select.h cannot be both included */
/* #undef TIME_H_SELECT_H_CONFLICTS */

/* Define if your system's struct utmp has a member named ut_host.  */
#define HAVE_UT_HOST 1

/* Define if you have the <utmpx.h> header file.  */
#define HAVE_UTMPX_H 1

/* Define to be the machine type (microprocessor class or machine model) */
#define MACHTYPE "mips"

/* Define to be the name of the operating system */
#define OSTYPE "irix6.2"

/* Define to 1 if ANSI function prototypes are usable.  */
#define PROTOTYPES 1

/* Define to be location of utmp file.  This value is only used if UTMP_FILE, *
 * UTMPX_FILE, or _PATH_UTMP are not defined in an include file.              */
#define UTMP_FILE_CONFIG "/etc/utmp"

/* Define to be a string corresponding the vendor of the machine */
#define VENDOR "sgi"

/* Define if your system defines `struct winsize' in sys/ptem.h.  */
/* #undef WINSIZE_IN_PTEM */

/* Define  to be location of wtmp file.  This value is only use if WTMP_FILE, *
 * WTMPX_FILE, or _PATH_WTMP are not defined in an include file.              */
#define WTMP_FILE_CONFIG "/etc/wtmp"

/* Define to 1 if you want to use zsh's own memory allocation routines */
/* #undef ZSH_MEM */

/* Define to 1 if you want to debug zsh memory allocation routines */
/* #undef ZSH_MEM_DEBUG */

/* Define to 1 if you want to turn on warnings of memory allocation errors */
/* #undef ZSH_MEM_WARNING */

/* Define to 1 if you want to turn on memory checking for free() */
/* #undef ZSH_SECURE_FREE */

/* Define to 1 if you want to get debugging information on internal *
 * hash tables.  This turns on the `hashinfo' builtin.              */
/* #undef ZSH_HASH_DEBUG */

/* Define to 1 if your termcap library has the ospeed variable */
#define HAVE_OSPEED 1
/* Define to 1 if you have ospeed, but it is not defined in termcap.h */
#define MUST_DEFINE_OSPEED 1

/* Define to 1 if tgetent() accepts NULL as a buffer */
#define TGETENT_ACCEPTS_NULL 1

/* Define to 1 if you have a working strcoll function */
#define HAVE_STRCOLL 1

/* Define to 1 if you use POSIX style signal handling */
#define POSIX_SIGNALS 1

/* Define to 1 if you use BSD style signal handling (and can block signals) */
/* #undef BSD_SIGNALS */

/* Define to 1 if you use SYS style signal handling (and can block signals) */
/* #undef SYSV_SIGNALS */

/* Define to 1 if you have no signal blocking at all (bummer) */
/* #undef NO_SIGNAL_BLOCKING */

/* Define to `unsigned int' if <sys/types.h> or <signal.h> doesn't define */
/* #undef sigset_t */

/* Define to 1 if struct timezone is defined by a system header */
#define HAVE_STRUCT_TIMEZONE 1

/* Define if your system's typeahead disappears from the shell editor. */
/* #undef CLOBBERS_TYPEAHEAD */

/* Define to 1 if there is a prototype defined for brk() on your system */
#define HAVE_BRK_PROTO 1

/* Define to 1 if there is a prototype defined for sbrk() on your system */
#define HAVE_SBRK_PROTO 1

/* Define to 1 if there is a prototype defined for ioctl() on your system */
#define HAVE_IOCTL_PROTO 1

/* Define to 1 if /bin/sh does not interpret \ escape sequences */
/* #undef SH_USE_BSD_ECHO */

/* The number of bytes in a long.  */
#define SIZEOF_LONG 4

/* Define if you have the difftime function.  */
#define HAVE_DIFFTIME 1

/* Define if you have the getdomainname function.  */
#define HAVE_GETDOMAINNAME 1

/* Define if you have the gethostname function.  */
#define HAVE_GETHOSTNAME 1

/* Define if you have the getlogin function.  */
#define HAVE_GETLOGIN 1

/* Define if you have the getrlimit function.  */
#define HAVE_GETRLIMIT 1

/* Define if you have the gettimeofday function.  */
#define HAVE_GETTIMEOFDAY 1

/* Define if you have the initgroups function.  */
#define HAVE_INITGROUPS 1

/* Define if you have the killpg function.  */
#define HAVE_KILLPG 1

/* Define if you have the lstat function.  */
#define HAVE_LSTAT 1

/* Define if you have the mkfifo function.  */
#define HAVE_MKFIFO 1

/* Define if you have the nis_list function.  */
/* #undef HAVE_NIS_LIST */

/* Define if you have the select function.  */
#define HAVE_SELECT 1

/* Define if you have the seteuid function.  */
#define HAVE_SETEUID 1

/* Define if you have the setpgid function.  */
#define HAVE_SETPGID 1

/* Define if you have the setresuid function.  */
/* #undef HAVE_SETRESUID */

/* Define if you have the setreuid function.  */
#define HAVE_SETREUID 1

/* Define if you have the setuid function.  */
#define HAVE_SETUID 1

/* Define if you have the sigaction function.  */
#define HAVE_SIGACTION 1

/* Define if you have the sigblock function.  */
#define HAVE_SIGBLOCK 1

/* Define if you have the sighold function.  */
#define HAVE_SIGHOLD 1

/* Define if you have the sigprocmask function.  */
#define HAVE_SIGPROCMASK 1

/* Define if you have the sigrelse function.  */
#define HAVE_SIGRELSE 1

/* Define if you have the sigsetmask function.  */
#define HAVE_SIGSETMASK 1

/* Define if you have the strerror function.  */
#define HAVE_STRERROR 1

/* Define if you have the strftime function.  */
#define HAVE_STRFTIME 1

/* Define if you have the strstr function.  */
#define HAVE_STRSTR 1

/* Define if you have the tcgetattr function.  */
#define HAVE_TCGETATTR 1

/* Define if you have the tcsetpgrp function.  */
#define HAVE_TCSETPGRP 1

/* Define if you have the wait3 function.  */
#define HAVE_WAIT3 1

/* Define if you have the waitpid function.  */
#define HAVE_WAITPID 1

/* Define if you have the <dirent.h> header file.  */
#define HAVE_DIRENT_H 1

/* Define if you have the <errno.h> header file.  */
#define HAVE_ERRNO_H 1

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the <libc.h> header file.  */
/* #undef HAVE_LIBC_H */

/* Define if you have the <limits.h> header file.  */
#define HAVE_LIMITS_H 1

/* Define if you have the <locale.h> header file.  */
#define HAVE_LOCALE_H 1

/* Define if you have the <memory.h> header file.  */
#define HAVE_MEMORY_H 1

/* Define if you have the <ndir.h> header file.  */
/* #undef HAVE_NDIR_H */

/* Define if you have the <stdlib.h> header file.  */
#define HAVE_STDLIB_H 1

/* Define if you have the <string.h> header file.  */
#define HAVE_STRING_H 1

/* Define if you have the <sys/dir.h> header file.  */
/* #undef HAVE_SYS_DIR_H */

/* Define if you have the <sys/filio.h> header file.  */
#define HAVE_SYS_FILIO_H 1

/* Define if you have the <sys/ndir.h> header file.  */
/* #undef HAVE_SYS_NDIR_H */

/* Define if you have the <sys/param.h> header file.  */
#define HAVE_SYS_PARAM_H 1

/* Define if you have the <sys/resource.h> header file.  */
#define HAVE_SYS_RESOURCE_H 1

/* Define if you have the <sys/select.h> header file.  */
#define HAVE_SYS_SELECT_H 1

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <sys/times.h> header file.  */
#define HAVE_SYS_TIMES_H 1

/* Define if you have the <sys/utsname.h> header file.  */
#define HAVE_SYS_UTSNAME_H 1

/* Define if you have the <termcap.h> header file.  */
/* #undef HAVE_TERMCAP_H */

/* Define if you have the <termio.h> header file.  */
#define HAVE_TERMIO_H 1

/* Define if you have the <termios.h> header file.  */
#define HAVE_TERMIOS_H 1

/* Define if you have the <unistd.h> header file.  */
#define HAVE_UNISTD_H 1

/* Define if you have the nsl library (-lnsl).  */
/* #undef HAVE_LIBNSL */
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:866: cc -E conftest.c
configure:946: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1080: cc -c  -O  conftest.c 1>&5
configure:1111: cc -o conftest  -O   conftest.c  1>&5
configure:1152: cc -c  -O   conftest.c 1>&5
configure:1201: cc -o conftest  -O   conftest.c  1>&5
configure:1228: cc -o conftest  -O   conftest.c  1>&5
configure:1379: cc -c  -O  conftest.c 1>&5
configure:1422: cc -o conftest  -O   conftest.c -ldir   1>&5
ld: FATAL 9: I/O error (-ldir): No such file or directory
configure:1494: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1559: cc -o conftest  -O   conftest.c  1>&5
configure:1593: cc -c  -O  conftest.c 1>&5
configure:1689: cc -c  -O  conftest.c 1>&5
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
cfe: Error: configure: 1720: Cannot open file termcap.h for #include
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
cfe: Error: configure: 1720: Cannot open file libc.h for #include
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1724: cc -E  conftest.c >/dev/null 2>conftest.out
configure:1764: cc -c  -O  conftest.c 1>&5
configure:1798: cc -c  -O  conftest.c 1>&5
cfe: Error: configure, line 1794: 'ut_host' undefined; reoccurrences will not be reported.
 struct utmp ut; ut.ut_host;
 ------------------^
cfe: Error: configure, line 1794: member of structure or union required
 struct utmp ut; ut.ut_host;
 -------------------^
configure:1833: cc -c  -O  conftest.c 1>&5
configure:1873: cc -o conftest  -O   conftest.c  1>&5
configure:1901: cc -o conftest  -O   conftest.c  1>&5
configure:1963: cc -E  conftest.c >/dev/null 2>conftest.out
cfe: Error: configure: 1959: Cannot open file sys/ptem.h for #include
configure:2013: cc -o conftest  -O   conftest.c -ltermcap   1>&5
configure:2064: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2156: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
cfe: Error: configure, line 2152: 'ospeed' undefined; reoccurrences will not be reported.
 ospeed = 0;
 ^
configure:2183: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
configure:2225: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
configure:2266: cc -c  -O  conftest.c 1>&5
configure:2455: cc -c  -O  conftest.c 1>&5
configure:2487: cc -c  -O  conftest.c 1>&5
configure:2569: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
ld: ERROR 33: Unresolved text symbol "setresuid" -- 1st referenced by conftest.o.
ld: INFO 60: Output file removed because of error.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
ld: ERROR 33: Unresolved text symbol "nis_list" -- 1st referenced by conftest.o.
ld: INFO 60: Output file removed because of error.
configure:2625: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2661: cc -o conftest  -O   conftest.c  -ltermcap 1>&5
ld: WARNING 84: /usr/lib/libtermcap.so is not used for resolving any symbol.
configure:2855: cc -c  -O  conftest.c 1>&5
cfe: Error: configure, line 2848: redeclaration of 'brk'; previous declaration at line 306 in file '/usr/include/unistd.h'
 double brk();
 -------^
cfe: Error: configure, line 2848: Incompatible function return type for this function.
 double brk();
 ----------^
configure:2888: cc -c  -O  conftest.c 1>&5
cfe: Error: configure, line 2881: redeclaration of 'sbrk'; previous declaration at line 318 in file '/usr/include/unistd.h'
 double sbrk();
 -------^
cfe: Error: configure, line 2881: Incompatible function return type for this function.
 double sbrk();
 -----------^
configure:2923: cc -c  -O  conftest.c 1>&5
cfe: Error: configure, line 2916: redeclaration of 'ioctl'; previous declaration at line 54 in file '/usr/include/sys/ioctl.h'
    int ioctl(double x);
 -------^
cfe: Error: configure, line 2916: Incompatible type for the function parameter
    int ioctl(double x);
 --------------------^
#
# $Id: zshrc,v 2.0 1996/05/02 22:57:04 hzoli Exp $
#
# Generic .zshrc file for zsh 2.7
#
# .zshrc is sourced in interactive shells.  It
# should contain commands to set up aliases, functions,
# options, key bindings, etc.
#

# Search path for the cd command
cdpath=(.. ~ ~/src ~/zsh)

# Use hard limits, except for a smaller stack and no core dumps
unlimit
limit stack 8192
limit core 0
limit -s

umask 022

# Set up aliases
alias mv='nocorrect mv'       # no spelling correction on mv
alias cp='nocorrect cp'       # no spelling correction on cp
alias mkdir='nocorrect mkdir' # no spelling correction on mkdir
alias j=jobs
alias pu=pushd
alias po=popd
alias h=history
alias grep=egrep
alias ll='ls -l'
alias la='ls -a'
alias df='df -k'
alias cls=clear

# List only directories and symbolic
# links that point to directories
alias lsd='ls -ld *(-/DN)'

# List only file beginning with "."
alias lsa='ls -ld .*'

# Shell functions
setenv() { export $1=$2 }  # csh compatibility

manpath=( /usr/man /usr/share/catman /usr/share/man /usr/local/man )
export MANPATH

# Filename suffixes to ignore during completion
fignore=(.o .c~ .old .pro)

# Set prompts
PROMPT='%m %# '    # default prompt
RPROMPT=' %~'     # prompt for right side of screen

MAILCHECK=300
HISTSIZE=200
DIRSTACKSIZE=20

watch=(notme)                   # watch for everybody but me
LOGCHECK=300                    # check every 5 min for login/logout activity
WATCHFMT='%n %a %l from %m at %t.'

# Set/unset  shell options
setopt   notify globdots correct pushdtohome cdablevars autolist
setopt   autocd recexact longlistjobs
setopt   autoresume histignoredups pushdsilent noclobber
setopt   autopushd pushdminus extendedglob rcquotes mailwarning
unsetopt autoparamslash

alias ls='/bin/ls -F'
alias d='ls -lF'
alias sc='source ~/.zshrc'


Messages sorted by: Reverse Date, Date, Thread, Author