From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e4b466ace73b787f,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,e4b466ace73b787f,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-12-13 17:25:37 PST Newsgroups: comp.unix.osf.osf1,comp.sys.dec Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!lyra.csx.cam.ac.uk!warwick!bsmail!siva.bris.ac.uk!tjl From: tjl@siva.bris.ac.uk (Tim Llewellyn) Subject: Re: Delete an environment variable? Message-ID: Sender: tjl@brspva.bristol.ac.uk (Tim Llewellyn) Nntp-Posting-Host: siva.bris.ac.uk Reply-To: Tim.Llewellyn@bristol.ac.uk Organization: Bristol University HEP X-Newsreader: mxrn 6.18-4 References: Date: Tue, 13 Dec 1994 22:10:34 GMT Xref: nntp.gmd.de comp.unix.osf.osf1:6897 comp.sys.dec:20397 In article , 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? |> |>TIA for any help. |> |>-- I got the following reply (very rapidly too) via email unsetenv is to setenv in UNIX what deassign is to assign in VMS ------------------------------------------------------------------------------- Elliot P. Kanter Email: kanter@anl.gov| "We must increase education, Physics Division-203 Voice: (708)252-4050 |employment, decrease spending, Argonne National Lab FAX: -2864 |(etc) in order that the purse of Argonne, IL 60439-4843 Sec: -4044 |the people not become depleted." ---------------------------------------------------------------Cicero---------- to which I replied: Thanks a lot. I wonder then why it is not mentioned in the man env page? IN fact just to check I tried: # man env | grep unsetenv # apropos env | grep unsetenv # unsetenv unsetenv: Too few arguments. # man unsetenv There is not an entry for unsetenv. # I wonder why it is not documented properly? (in the online help that is). OSF/1 V3.0 btw, and unsetenv DOES work. -- -----------------------------------------------------+------------------+ Tim Llewellyn - OpenVMS, Soukous and Cricket Addict |Hey, and get wise | Physicist Programmer, Bristol Uni Particle Physics. | to the sounds of | HEPNET/SPAN 19716::TJL Internet tjl@siva.bris.ac.uk | Africa,seen. | I speak for me and noone else OK (and I might even | Soukous Makossa | change my mind sometimes!-) Atari and EMagic user too| Mbalax Rumba...| -----------------------------------------------------+------------------+