Path: utzoo!mnetor!uunet!husc6!hao!ames!pasteur!con.Berkeley.EDU!sarge From: sarge@con.Berkeley.EDU (Steven Sargent) Newsgroups: comp.os.vms Subject: Re: Translating logical names from C Message-ID: <429@pasteur.Berkeley.Edu> Date: 29 Jan 88 10:29:52 GMT References: <8801231927.AA04287@ucbvax.Berkeley.EDU> Sender: news@pasteur.Berkeley.Edu Lines: 10 We do something like this as well. The one thing that I have to add is that "process-permanent" logical names (e.g, SYS$INPUT) have a 4-byte booger prepended to their translations. In our "getenv" replacement routine, we snarf up the logical name translation and then say words like: return (*p == '\33')? p+4: p; to get around it. (Anybody know what that 4 bytes of stuff is?) S.