From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e4b466ace73b787f X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,e4b466ace73b787f X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-14 07:19:37 PST Newsgroups: comp.unix.osf.osf1,comp.sys.dec Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!EU.net!CERN.ch!news From: danpop@cernapo.cern.ch (Dan Pop) Subject: Re: Delete an environment variable? Message-ID: Sender: news@news.cern.ch (USENET News System) Organization: CERN European Lab for Particle Physics References: Date: Wed, 14 Dec 1994 14:21:53 GMT Xref: nntp.gmd.de comp.unix.osf.osf1:6902 comp.sys.dec:20402 In tjl@siva.bris.ac.uk (Tim Llewellyn) writes: > >I just tried to find a way to undefine/delete my DISPLAY environment >variable (I want to use EDT+ in VT rather than X-windows mode as it >has an annoying feature in X mode). > >I perused the output form man env to no avail. > >I guess I want the OSF/1 equivalent of the VMS deassign or delete/symbol >commands. > >This MUST be psosible, right? > It is, but you have to look in the right man page. For obvious reasons, you can't set or delete your environment variables with Unix commands, you have to do this with shell builtin commands. So, type man your_shell to get the answer. For (t)csh it's "unsetenv DISPLAY". Dan -- Dan Pop | The only reason God was able to make the CERN, CN Division | world in 7 days was he didn't have to remain Email: danpop@cernapo.cern.ch | compatible with the previous version. Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland