From: Dave Pearson Newsgroups: comp.os.msdos.djgpp Subject: Re: newbie needs help configuring emacs Date: Tue, 8 Apr 1997 19:32:28 GMT Organization: Hagbard's World (A Private Internet Host) Sender: usenet AT hagbard DOT demon DOT co DOT uk Message-ID: References: Lines: 36 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On Tue, 8 Apr 1997 14:04:36 GMT, Eli Zaretskii wrote: > > On Tue, 8 Apr 1997, Dave Pearson wrote: > > > [emacs] > > TERM= > > SHELL=c:/bin/bash -login > ^^^^^^ > This is OK, but it might have unexpected effect on some commands. You > need to be aware that $SHELL is also used when running child programs e.g. > via `M-x compile' or `M-x grep' (these commands call the library function > `system' to run the command, and `system' will call the shell if the value > of $SHELL seems like a Unix-style shell). I'm not sure -login is what you > want then. Yeah, you are correct, it does break them, good point. I only added the '-login' the other day and seeing as how I do most of my development on Linux and just compile with DJGPP I'd had no call to 'M-x compile' with DJ-Emacs. BTW Eli, I know you've given warnings about hacking the DJGPP.ENV file before but I also think that that file is one of the great features of the whole DJGPP "environment". Having the avility to specify environment variables on a pre-exe bases makes it so flexible. > If this makes trouble, I can suggest ways to work around them. Yeah, I'd love to hear any suggestions. I guess re-binding C-z to run 'bash -logon' would be one way to go? -- Take a look in Hagbard's World: | w3ng - The WWW Norton Guide reader. http://www.acemake.com/hagbard/ | ng2html - The NG to HTML converter. Also available in the UK: | eg - Norton Guide reader for Linux. http://www.hagbard.demon.co.uk/ | dgscan - DGROUP scanner for Clipper.