Date: Wed, 4 Jun 1997 09:45:26 +0300 (IDT) From: Eli Zaretskii To: Joe Swiatek cc: djgpp AT delorie DOT com Subject: Re: emacs question In-Reply-To: <199706031931.PAA23357@delorie.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 3 Jun 1997, Joe Swiatek wrote: > prompt). In your sample _emacs.xmpl file, you have a statement which sets > the size of the emacs window to 80x50 as opposed to 80x25 - the (mode4350) > statement. I like the bigger emacs window, but it's a little too big, since > my emacs menu bar and my emacs display bar (the area which displays the time, > how far along you are in a certain file, etc.) disappear at times when I > scroll up and down. There's something wrong with your system setup or with your video hardware. The Emacs screen should never scroll because it uses non-scrolling output functions. Please describe more about how does this happen and whether you use some software that affects the display. Do you run Emacs in the Windows DOS box maybe? > Is there any way to create, say, an 80x45 window, for > example? I know that with UNIX, one can specify the geometry size > of an emacs window in an .Xdefaults file, or by specifiying a > geometry flag when invoking the emacs command...can one do similar > things with DOS emacs? I'm very new to DOS. Please read the MS-DOS chapter of the on-line Emacs manual which explains the DOS-specific aspects of Emacs. Given the problem that you describe, I doubt that changing the screen size will prevent it from scrolling. However, if you put the following in your `_emacs' file, it will cause Emacs to work in 80x40 size: (set-frame-size (selected-frame) 80 40) You can change 40 to either one of 25, 28, 35, 43 or 50, to get any of the sizes supported by standard VGA displays. The Emacs manual also explains how to use non-standard resolutions specific to your SVGA. > Also, are you by any chance familiar with running the tpu-edt emulator with > emacs? I'm trying to find a way to get the Numlock key on my keypad > to remap to the PF1 key, since this key is the workhorse for many > emacs commands under the tpu-edt emulator... You can't, sorry. NumLock is special in that it doesn't generate any scan code when press, and therefore Emacs doesn't know that you have pressed it. You will have to map PF1 to a different key.