From: "Paul Murray" <pmurray@indigo.ie>
To: zsh-workers@math.gatech.edu
Subject: BUG: su to root
Date: Mon, 11 Nov 1996 18:33:51 +0 [thread overview]
Message-ID: <199611111830.SAA06601@aoife.indigo.ie> (raw)
Problem:
When doing su to root my zsh_histroy file is set to zero and the
owner of the file is set to root.
This problem has been occuring in the last few versions of zsh
Output of reporter:
# START zsh saveset
# uname: AIX ibm 2 3 000227274700
# Aliases.
alias -g dba=dbaccess
alias run-help=man
alias which-command=whence
# Key bindings.
bindkey -r "^@"
bindkey -r "^D"
bindkey -r "^E"
bindkey -r "^F"
bindkey -r "^G"
bindkey -r "^H"
bindkey -r "^I"
bindkey -r "^J"
bindkey -r "^K"
bindkey -r "^L"
bindkey -r "^M"
bindkey -r "^Q"
bindkey -r "^R"
bindkey -r "^S"
bindkey -r "^T"
bindkey -r "^U"
bindkey -r "^V"
bindkey -r "^W"
bindkey -r "\e"
bindkey -r "^?"
bindkey -r "\e"
bindkey -r "\e[A"
bindkey -r "\e[B"
bindkey -r "\e[C"
bindkey -r "\e[D"
bindkey "^@" undefined-key
bindkey "^D" list-choices
bindkey "^E" self-insert
bindkey "^F" self-insert
bindkey "^G" list-expand
bindkey "^H" vi-backward-delete-char
bindkey "^I" expand-or-complete
bindkey "^J" accept-line
bindkey "^K" self-insert
bindkey "^L" clear-screen
bindkey "^M" accept-line
bindkey "^Q" vi-quoted-insert
bindkey "^R" redisplay
bindkey "^S" self-insert
bindkey "^T" self-insert
bindkey "^U" vi-kill-line
bindkey "^V" vi-quoted-insert
bindkey "^W" vi-backward-kill-word
bindkey "\e" prefix
bindkey "^?" backward-delete-char
bindkey "\e" vi-cmd-mode
bindkey "\e[A" up-line-or-history
bindkey "\e[B" down-line-or-history
bindkey "\e[C" forward-char
bindkey "\e[D" backward-char
# Completions.
compctl -b bindkey
compctl -c builtin
compctl -v export
compctl -o setopt
compctl -v typeset
compctl -v unset
compctl -o unsetopt
compctl -v vared
compctl -c which
compctl -C -c
compctl -D -f
compctl -T
# Undefined functions.
# Defined functions.
# Limits.
limit filesize 1023MB
limit datasize 128MB
limit stacksize 32MB
limit coredumpsize 0kB
limit resident 32MB
# Non-array variables.
TERMCAP='/usr/ibis/etc/termcap'
TERM='ansi'
\'#\'="1"
\'$\'="18140"
\'?\'="0"
ARGC="1"
AWK="awk"
BAUD="0"
CDPATH="\'\'"
COLUMNS="80"
CPP="/lib/cpp"
EDITOR="nvim"
EGID="200"
ERRNO="0"
EUID="200"
EXINIT="\'so /usr/paul/viopts\'"
FCEDIT="vi"
FIGNORE="\'\'"
FPATH="\'\'"
GID="200"
HISTCHARS="\'!^#\'"
HISTFILE="/usr/paul/.zsh_history"
HISTSIZE="600"
HOME="/usr/paul"
HOST="ibm"
KEYTIMEOUT="40"
LANG="En_GB"
LESS="-S"
LINENO="329"
LINES="24"
LISTMAX="100"
LOCPATH="/usr/lib/nls/loc"
LOGCHECK="60"
LOGNAME="paul"
MACHTYPE="rs6000"
MAILCHECK="60"
MAILPATH="\'\'"
MANPATH="\'\'"
NLSPATH="/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/prime/%N"
NULLCMD="cat"
ODMDIR="/etc/objrepos"
OLDPWD="/usr/paul/zsh-3.0.1/Util"
OPTARG="\'\'"
OPTIND="1"
OSTYPE="aix3.2.5"
PAGER="/usr/ibis/bin/less"
PATH="/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/ibis/bin:/usr/ibis/etc"
POSTEDIT="\'\'"
PPID="24614"
PROMPT="\'%m%d >\'"
PROMPT2="\'\'"
PROMPT3="\'?# \'"
PROMPT4="\'+ \'"
PS1="\'%m%d >\'"
PS2="\'\'"
PS3="\'?# \'"
PS4="\'+ \'"
PSVAR="\'\'"
PWD="/usr/paul/zsh-3.0.1/Util"
RANDOM="23886"
READNULLCMD="more"
RPROMPT="\'\'"
RPS1="\'\'"
SECONDS="6"
SHELL="/usr/ibis/bin/zsh"
SHLVL="2"
SPROMPT="\'zsh: correct \'\\'\'%R\'\\'\' to \'\\'\'%r\'\\'\' [nyae]?
\'"
TIMEFMT="\'%J %U user %S system %P cpu %*E total\'"
TMPPREFIX="/tmp/zsh"
TTY="/dev/pts/0"
TTYIDLE="-1"
TZ="GMT0BST"
UID="200"
USER="paul"
USERNAME="paul"
VENDOR="ibm"
VIMINIT="\'so /usr/paul/.vimrc\'"
VISUAL="nvim"
WATCH="\'\'"
WATCHFMT="\'%n has %a %l from %m.\'"
WORDCHARS="\'*?_-.[]~=/&;!#$%^(){}<>\'"
ZDOTDIR="/usr/paul"
ZSH_NAME="zsh"
ZSH_VERSION="3.0.1"
each="/usr/bin"
histchars="\'!^#\'"
reporter_OSVersion="AIX_2"
reporter_junkiequotes="no"
status="0"
str="\'AIX ibm 2 3 000227274700\'"
prompt='test%'
# Array variables.
argv=()
'*'=(all)
cdpath=()
fignore=()
fpath=()
mailpath=()
manpath=()
path=(/usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin
/usr/ibis/bin /usr/ibis/etc)
psvar=()
signals=(EXIT HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS
PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ 26 MSG WINCH PWR USR1 USR2 PROF DANGER VTALRM MIGRATE PRE VIRT ZERR DE
BUG)
watch=()
# Exported variables.
export TERMCAP
export TERM
export EDITOR=nvim
export EXINIT='so /usr/paul/viopts'
export HISTFILE=/usr/paul/.zsh_history
export HISTSIZE=600
export HOME=/usr/paul
export LANG=En_GB
export LESS=-S
export LOCPATH=/usr/lib/nls/loc
export LOGNAME=paul
export NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/prime/%N
export ODMDIR=/etc/objrepos
export PAGER=/usr/ibis/bin/less
export
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/ibis/bin:/usr/ibis/etc
export PROMPT='%m%d >'
export PWD=/usr/paul/zsh-3.0.1/Util
export SHELL=/usr/ibis/bin/zsh
export SHLVL=2
export TERM=ansi
export TZ=GMT0BST
export USER=paul
export VIMINIT='so /usr/paul/.vimrc'
export VISUAL=nvim
export ZDOTDIR=/usr/paul
# Setopt.
# END zsh saveset
Regards,
Paul Murray
pmurray@poboxes.com
pmurray@indigo.ie
reply other threads:[~1996-11-11 18:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199611111830.SAA06601@aoife.indigo.ie \
--to=pmurray@indigo.ie \
--cc=pmurray@poboxes.com \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).