From owner-freebsd-questions Thu Jun 28 6:55:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from serenity.mcc.ac.uk (serenity.mcc.ac.uk [130.88.200.93]) by hub.freebsd.org (Postfix) with ESMTP id 7978A37B406 for ; Thu, 28 Jun 2001 06:55:28 -0700 (PDT) (envelope-from jcm@freebsd-uk.eu.org) Received: from dogma.freebsd-uk.eu.org ([130.88.200.97] ident=root) by serenity.mcc.ac.uk with esmtp (Exim 2.05 #6) id 15FcGU-0006yl-00; Thu, 28 Jun 2001 14:55:26 +0100 Received: (from jcm@localhost) by dogma.freebsd-uk.eu.org (8.11.3/8.11.1) id f5SDtPr37485; Thu, 28 Jun 2001 14:55:25 +0100 (BST) (envelope-from jcm) Date: Thu, 28 Jun 2001 14:55:25 +0100 From: j mckitrick To: Stijn Hoop Cc: freebsd-questions@freebsd.org Subject: Re: exporting TERM from a script Message-ID: <20010628145525.B36955@dogma.freebsd-uk.eu.org> References: <20010628142946.A36955@dogma.freebsd-uk.eu.org> <20010628153402.G4658@pcwin002.win.tue.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20010628153402.G4658@pcwin002.win.tue.nl>; from stijn@win.tue.nl on Thu, Jun 28, 2001 at 03:34:02PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG | As far as I understood environment variables, there is no way to modify | your parent's environment. The only thing export does is that the variable you Ah, that explains it. Thanks. | Use startup scripts to export TERM behaviour, conditional on being | network logged in, $DISPLAY or something like that. If you like to | switch between $TERM's (why?), use aliases or shell functions. Well, the way my login script is set up now, it uses the login IP to choose the correct TERM setting and build a muttrc that looks best for that term type. Well, today i became very excited when i found how easy it is to get a tcp/ip connection from my windows network at work. :-) But, the login script for my shell account can't tell the difference between an ssh session running on my windows machine and ssh on my BSD laptop. Is there any other factor i can use to distinguish them, since they have the same IP address? Jonathon -- Microsoft complaining about the source license used by Linux is like the event horizon calling the kettle black. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message