Installing sshd on the client
Bill Moseley
moseley at hank.org
Mon Nov 12 19:31:30 GMT 2007
On Mon, Nov 12, 2007 at 06:47:15PM +0000, Gavin McCullagh wrote:
> > stdin: is not a tty
> >
>
> What is in the .bashrc file?
Well, I tried just adding "return" to the top as one page I found
suggested this:
if [ $(expr index \u201c$-\u201d i) -eq 0 ]; then
return
fi
Here's the file:
moseley at ltsps0:~$ egrep -v '^#' /opt/ltsp/powerpc/root/.bashrc
[ -z "$PS1" ] && return
shopt -s checkwinsize
[ -x /usr/bin/lesspipe ] && eval "$(lesspipe)"
if [ -z "$debian_chroot" -a -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot)
fi
case "$TERM" in
xterm-color)
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
;;
*)
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
;;
esac
case "$TERM" in
xterm*|rxvt*)
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"'
;;
*)
;;
esac
if [ "$TERM" != "dumb" ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
#alias dir='ls --color=auto --format=vertical'
#alias vdir='ls --color=auto --format=long'
fi
--
Bill Moseley
moseley at hank.org
More information about the edubuntu-users
mailing list