delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/08/27/16:14:27

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Mon, 27 Aug 2001 16:14:55 -0400
From: Jason Tishler <jason AT tishler DOT net>
To: cygwin-developers AT cygwin DOT com
Subject: Re: Disappearing rxvt Windows -- can anyone else duplicate this problem?
Message-ID: <20010827161455.K808@dothill.com>
Mail-Followup-To: cygwin-developers AT cygwin DOT com
Mime-Version: 1.0
In-Reply-To: <20010827152803.A19920@redhat.com>
User-Agent: Mutt/1.3.18i

--B/XDo2MJoa8mdSAg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

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


--B/XDo2MJoa8mdSAg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=".bash_profile"

#
# $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

--B/XDo2MJoa8mdSAg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=".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

--B/XDo2MJoa8mdSAg--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019