Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!occrsh!occrsh.ATT.COM!tiger.UUCP!authorplaceholder From: authorplaceholder@tiger.UUCP.UUCP Newsgroups: comp.unix.wizards Subject: Re: Bourne shell logout on ^C? Message-ID: <142700029@tiger.UUCP> Date: Mon, 28-Sep-87 21:54:00 EDT Article-I.D.: tiger.142700029 Posted: Mon Sep 28 21:54:00 1987 Date-Received: Fri, 2-Oct-87 03:14:27 EDT References: <207@minya.UUCP> Lines: 16 Nf-ID: #R:minya.UUCP:-20700:tiger.UUCP:142700029:000:640 Nf-From: tiger.UUCP!rjd Sep 28 20:54:00 1987 > >When I type a ^C (CTRL-C) on terminal A, I get a new shell prompt. > >When I type a ^C on terminal B, I get a login prompt. > > Try the following experiment: > Without changing ANYTHING else, swap the terminals (but not > the connecting cables). See if the problem follows the > terminal. If so, it may be dropping DTR when transmitting > ^C, or something else equally silly. Check that you do not have a: "trap 'kill -9 0' 2" on terminal B's port if it does not follow the terminal. Just an idea... (As a sysadm, I set up some conditionals in /etc/profile depending on which hardwired port a terminal is connected.) Randy