🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #1874

Re: Setting screen size

#1874
From: Douglas Gray Stephens
Date: Tue, 22 Dec 1992 09:57
26 lines
1372 bytes
Roger Warner writes:-

>  Is there a way inside of emacs to change the number of lines emacs
>  believes is on the screen?


The function set-screen-height can be used to force the screen size.
Alternatively define an interactive function in your ~/.emacs, e.g.:-

;;  screen any size
(defun screen-size (linum)
  "Set the screen size"
        (interactive "nScreen size: ")
	(set-screen-height linum)
   )


Douglas

--
----------------------------------------------------------------------------
Dr. Douglas GRAY STEPHENS                e-mail : gray@scr.slb.com   
Schlumberger Cambridge Research          Tel/fax: 0223-325303 / 0223-311830
P.O.Box 153, Cambridge CB3 0HG, England  (International prefix for UK: 44)
============================================================================
Technical Details
Message-ID: <GRAY.92Dec22095719@snow.scr.slb.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!leo.asc.slb.com!gray
References: <1992Dec22.012534.22729@times.aux.apple.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!leo.asc.slb.com!gray
From: gray@snow.scr.slb.com (Douglas Gray Stephens)
Newsgroups: gnu.emacs.help
Subject: Re: Setting screen size
Date: 22 Dec 92 09:57:19
Organization: Schlumberger Cambridge Research
Lines: 26
Distribution: usa
Message-ID: <GRAY.92Dec22095719@snow.scr.slb.com>
References: <1992Dec22.012534.22729@times.aux.apple.com>
NNTP-Posting-Host: snow.scr.slb.com
In-reply-to: roger@photog.aux.apple.com's message of 22 Dec 92 01:25:34 GMT