Mail Archives: djgpp/1998/04/05/08:33:32
On Fri, 3 Apr 1998, Ingo Ruhnke wrote:
> 1. Is there a way I can save the text files in Unix file format
> and not in the MS-DOS format?
If the original file is a Unix-style text file, use the command
`find-file-binary' when you load the file.
Alternatively, if you already have the text in an Emacs buffer, press
M-:, answer `y' to the prompt, and then type the following
gobbledygook in the echo area:
(setq buffer-file-type t)
Now whenever you save the file, Emacs won't convert the newlines into
DOS-style CRLF pairs.
But the best solution is to upgrade to Emacs 20 which will
automagically leave a Unix-style file with its original EOL format.
> 2. When I want to type an shell command <M-!> and press return
> before anything is typed, emacs hangs (AFAIK because it is in
> trapped in COMMAND.COM)
Your analysis is correct. Don't do that.
> 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 <M-!> refresh-display
Ctrl-L causes a redisplay.
But as far as I understand your situation, you are running graphics
programs via `M-!'. If so, this is incorrect usage: M-! is meant to
run programs that don't grab the screen; it is meant for programs
which input and output text via the normal stdio functions.
For graphics programs, shell out to DOS using `C-x C-z' and run the
programs from the inferior shell. When you are done, type "Exit RET"
to return to Emacs.
> 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.
`symify' can work on a file where the traceback was saved. See
section 9.2 of the DJGPP FAQ list.
- Raw text -