Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Emacs in console mode goes beyond the window size. What do I do?

console Emacs mode size window
0
Posted

Emacs in console mode goes beyond the window size. What do I do?

0

With Emacs 20.3 and previous version, Emacs uses the size of the console buffer as the frame size. If your console window has buffer larger than the window (e.g., it uses a verical scrollbar), then Emacs’ frame will be larger than the console window. To work around this problem, make the console buffer the size of the console window. Or, if you have source, apply this patch to src/w32console.c. Since version 20.4 this behaviour is now controlled via the variable “w32-use-full-screen-buffer”. So to fix this include the following lines in your .emacs file: ;; Make sure that Emacs in console mode doesn’t go beyond the ;; size of the Dos box in use. ;; (Not needed in emacs 20.4+) (setq w32-use-full-screen-buffer nil) • POSITION To reposition Emacs, click on the title bar of the console window and drag it. • COLOR Under the NT interface, open the “-” menu. Select “Screen Colors…”, and use the dialog to choose the colors you want to use for the window. Be sure to check the “Save Configurat

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123