Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!dkuug!daimi!lynbech From: lynbech@daimi.aau.dk (Christian Lynbech) Newsgroups: comp.sys.atari.st.tech Subject: gnu emacs and TERM Message-ID: <1991May5.171657.6543@daimi.aau.dk> Date: 5 May 91 17:16:57 GMT Sender: lynbech@daimi.aau.dk (Christian Lynbech) Organization: DAIMI: Computer Science Department, Aarhus University, Denmark Lines: 25 In order to get the function-keys to work on my atari under emacs, I have been experimenting with setting up a vt52.el file so that keypad.el would run. This may not be the easiest solution, but it is standard to the way emacs handles terminal specific things. I managed to get the file together, but I can't emacs to load it automatically. The problem appear to be that (getenv "TERM") always returns "vt52-emulator", REGARDLESS of the real value of TERM. I have tried this, both with environ.prg and under gulam, but no matter what TERM is set to, (getenv "TERM") still returns "vt52-emulator". All the other environment variables works fine however. Why is this? My suspicion is that it has something to do with a termcap hack. My version (which I think comes from atari.archive, at least the st hacks bears Bammi's name) doesn't need the termcap, so perhaps something has been hardcoded into emacs. Christian Lynbech DAIMI University of Aarhus DK-Denmark email: lynbech@daimi.aau.dk