From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: emacs - three questions Date: Fri, 03 Apr 1998 18:13:12 -0500 Organization: Two pounds of chaos and a pinch of salt. Lines: 52 Message-ID: <35256D08.5B85@cs.com> References: <3524bc6e DOT 0 AT news1 DOT cityweb DOT de> NNTP-Posting-Host: ppp204.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Ingo Ruhnke wrote: > > Hi, > some questions about emacs 19.34: > > 1. Is there a way I can save the text files in Unix file format > and not in the MS-DOS format? The way Emacs saves files is a feature of the DJGPP libc and not of any particular mode of Emacs itself (AFAIK). You can use the DJGPP utilities 'dtou.exe' and 'utod.exe' (provided in djdev201.zip) to convert DOS text files to Unix and vice versa. > 2. When I want to type an shell command and press return > before anything is typed, emacs hangs (AFAIK because it is in > trapped in COMMAND.COM) Don't know about this. Several dos-related bugs were fixed in the latest Emacs (20.2); you might want to download the original sources and rebuild. I'm certain Eli can tell you more. > 3. Is there a way I can automaticly refresh the screen after a > shell command? For example after executing and Allegro Prg > the screen is messed, until I type refresh-display If you would like to learn more about Emacs-Lisp, you could figure out how to set a wrapper for the shell function that automatically runs refresh-display after shelling. I am not competent enough to write such code from memory, though. :-) > 4. If the programm crashes, how can I ran symify over the > programm output? I can ran it as a shell command, but > don't know if this is the right way, but it works. When I want to run my programs, I always shell to a command prompt (C-x C-z or M-x suspend-emacs) and run the program manually. Emacs under MS-DOS cannot use true multitasking, and if programs run from Emacs require some form of console input they are usually screwed. The best way to do it is to run from a DOS shell, symify the traceback there, and if needed, save the traceback to a file and load it in Emacs. I can also run gdb (the GNU debugger) through a DOS shell from Emacs. Once finished, type "exit" to return to Emacs. hth! -- --------------------------------------------------------------------- | John M. Aldrich | "A committee is a life form with six | | aka Fighteer I | or more legs and no brain." | | mailto:fighteer AT cs DOT com | | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------