Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!cmuitca!BDB@MIT-MC From: BDB@MIT-MC@cmuitca.UUCP Newsgroups: net.emacs Subject: none Message-ID: <4265@sri-arpa.UUCP> Date: Tue, 16-Aug-83 19:19:00 EDT Article-I.D.: sri-arpa.4265 Posted: Tue Aug 16 19:19:00 1983 Date-Received: Thu, 18-Aug-83 17:24:09 EDT Lines: 21 From: Boyd D Blackwell We have a problem with the VAX VMS Emacs version EMACS.EXE;73. If we invoke an emacs as a subprocess from a terminal with a 5 character name, such as PTA10: pause-emacs doesn't drop back to the top level process; it just redraws the screen. Maybe the register definition of ttyname has something to do with this (loses fifth char?) Extract from EMACS.C -------------------- static LockTty () { /* Try to set the per-tty lock. If we fail, exit back to Unix with a message. */ register fd; register char *tt = (char *) ttyname (0); register char *p; int ExclusiveMode; for (p = tt; *p;) if (*p++ == '/') tt = p; sprintfl (LockFile, sizeof LockFile, "/tmp/Emacs-%s", tt);