Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!harvard!seismo!decuac!avolio From: avolio@decuac.DEC.COM (Frederick M. Avolio) Newsgroups: net.unix Subject: Re: Can I read someone else's environment? Message-ID: <966@decuac.DEC.COM> Date: Sat, 21-Jun-86 15:24:30 EDT Article-I.D.: decuac.966 Posted: Sat Jun 21 15:24:30 1986 Date-Received: Mon, 23-Jun-86 03:14:33 EDT References: <1983@dalcs.UUCP> <512@hropus.UUCP> Organization: ULTRIX Applications Center, MD Lines: 14 In article <512@hropus.UUCP>, jrw@hropus.UUCP (Jim Webb) writes: > > type from /etc/ttytypes, but is there any way I can read the terminal > > type for a dial-up line so that I know what escape codes to send? > If you have a nice system administrator, you could hack up the ps command > to look at the environment (it is passed right after the arguments to the A few months ago someone posted sps to net.sources. I don't have it anymore. But if you could get it, you could pull out the code therein to display environment variables along with everything else. (This for people who don't have access to sources.) -- Fred @ DEC Ultrix Applications Center INET: avolio@decuac.DEC.COM * Fight the Fight * UUCP: {decvax,seismo,cbosgd}!decuac!avolio * Rescue the Unborn *