This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: Disappearing rxvt Windows -- can anyone else duplicate this problem?
- To: cygwin-developers at cygwin dot com
- Subject: Re: Disappearing rxvt Windows -- can anyone else duplicate this problem?
- From: Jason Tishler <jason at tishler dot net>
- Date: Mon, 27 Aug 2001 16:14:55 -0400
Chris,
On Mon, Aug 27, 2001 at 03:28:03PM -0400, Christopher Faylor wrote:
> Could you send any out-of-the-ordinary startup scripts that might be invoked?
I think that you have stumbled on what is triggering the problem. See the
attachments for my .bash_profile and .bash_setterm scripts. If I comment
out the last line in .bash_profile (which prevents .bash_setterm from
being executed), then the problem does not to occur -- at least so far.
If I remove the comment, then the problem starts to occur again.
I will try to isolate further what in .bash_setterm is causing the
problem.
Thanks for the excellent suggestion.
Jason
#
# $Id: .bash_profile,v 1.12 2001/05/31 16:47:32 jt Exp $
#
#
# variable definitions
#
# bash setup
export command_oriented_history=1
export HISTSIZE=10240
export HISTCONTROL=ignoredups
export INPUTRC=~/.inputrc
export HOSTNAME=${HOSTNAME:-$(uname -n)}
HOSTNAME=$(echo ${HOSTNAME%%.*} | tr 'A-Z' 'a-z')
export PS1=$HOSTNAME'[\w]\n\$ '
export SHELL=/bin/bash
cd $HOME
# ce setup
export CEPATH=~/.environments
# cd path setup
CDPATH=.
CDPATH=$CDPATH:~
CDPATH=$CDPATH:~/src
CDPATH=$CDPATH:~/lib
export CDPATH
# Python setup
export PYTHONSTARTUP=~/.pythonrc.py
# vi setup
export EXINIT='se ai ts=4 sw=4'
# cvs setup
export CVSEDITOR=vi
#
# stty setup
#
stty intr '^C' erase '^H'
#
# umask setup
#
umask 022
#
# source machine specific .bash_profile
#
if [ -f ~/.bash_profile-$HOSTNAME ]
then
. ~/.bash_profile-$HOSTNAME
fi
#
# source .bashrc
#
if [ -f ~/.bashrc ]
then
. ~/.bashrc
fi
#
# term setup
#
~/.bash_setterm
#
# $Id: .bash_setterm,v 1.2 2000/04/25 18:05:23 jt Exp $
#
#
# get terminal type
#
# Constants
DEFAULTTERM=dumb
TERMFILE=~/.bash_lastterm
# Set default term type
if [ -f $TERMFILE ]
then
term=$(cat $TERMFILE)
else
term=$DEFAULTTERM
fi
# Prompt user for term type
echo -n "TERM ($term) = "
read TERM
# Use default term type if necessary
export TERM=${TERM:-$term}
# Save default term type for next time
echo $TERM >$TERMFILE