Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!rpi!zaphod.mps.ohio-state.edu!caen!news.cs.indiana.edu!ariel.unm.edu!triton.unm.edu!ee5391aa From: ee5391aa@triton.unm.edu (Duke McMullan n5gax) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: MicroEmacs: Wrap, 50 lines Message-ID: <1991Jun11.163802.3077@ariel.unm.edu> Date: 11 Jun 91 16:38:02 GMT References: Organization: University of New Mexico, Albuquerque Lines: 57 In article aporter@pilot.njin.net (Al Porter) writes: >I'm just getting started with MicroEmacs version 3.10. The word-wrap >mode seems to work fine...but how can I make it become the default? >Is there a configuration file or something I could create? Also, the >README file mentions that the IBM-PC version supports VGA 50-line >mode. It doesn't automatically recognize this mode when I start up >MicroEmacs. How does one customize this program? The (optional) configuration file is called emacs.rc. Create it with a text editor...you might even use emacs. ;^) To get the 50-line (or whatever) display, the emacs.rc file should include this line: set $sres VGA It'll automatically come up in the high-vertical-resolution mode. On my sys- tem, I find the 50 (or is it 53?) line resolution rather tiring for most ap- plications, so I employ the following macros: 2 store-macro set $sres VGA !endm 3 store-macro set $sres CGA !endm Those allow me to toggle back and forth between the two screens. I've found that if you go from VGA to CGA with multiple windows open, then back, any windows which are completely occluded in CGA mode seem to be dropped into the bit bucket. This was with multiple windows on one file; I've never experi- mented with multiple files or buffers. I probably ought to rebuild those into one macro. They can be used in this manner; here's the way I get the key to toggle the "overwrite" mode: 1 store-macro !if &equal &band $cmode 32 32 delete-mode OVER !else add-mode OVER !endif !endm This also requires the statement: bind-to-key execute-macro-1 FNC to make call the first macro. I hope this helped. d