delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/19/19:45:59

From: Ian Miller <itmiller AT dera DOT gov DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: emacs & windows 95 & newbie questions
Date: 19 Dec 1997 08:11:24 +0000
Organization: Defence Research Agency
Message-ID: <87zplxpxar.fsf@hasn.dera.gov.uk>
References: <uqebtyf8whu DOT fsf AT goldstein DOT pc DOT cs DOT cmu DOT edu>
NNTP-Posting-Host: 146.80.115.106
Lines: 30
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Seth Copen Goldstein <seth AT goldstein DOT pc DOT cs DOT cmu DOT edu> writes:

> I just got djgpp so I could use emacs, gcc, etc. on my windows 95 box.
> 
> 1 - emacs comes up in a msdos window and I can't seem to get more than 25
> lines or so.  How do I make it bigger?  

Use mode4350. Putting the following lines in your _emacs file is pretty
handy. (Thanks to Eli Zaretskii, of course.)

--------------------------------------------------------------------------
;; Work in 80x50 screen size, but switch back to 80x25
;; before exiting and when suspending Emacs.

(mode4350)

(defun my-exit-stuff ()
  "My own exit routine.  Currently just switches back to the 25x80 mode."
  (mode25))

(add-hook 'kill-emacs-hook 'my-exit-stuff)
(add-hook 'suspend-hook 'mode25)
(add-hook 'suspend-resume-hook 'mode4350)
--------------------------------------------------------------------------

-- 
Ian Miller, Dorset, UK
DJGPP 2.01, Win95 DOS box (LFN undefined, FNCASE=y)
The views expressed above are entirely those of the writer and do not represent
the views, policy, or understanding of any other person or official body.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019