[net.emacs] Changes in 17.30 GNUEmacs ; unaccessable functions - help!

earle@smeagol.UUCP (Greg_Earle) (12/10/85)

I just brought 17.30 up over the weekend, and already something strange
has hit.  Under 16.60, GNUEmacs could use the full size of a SunWindow, 
because sun re-wrote the termcap routines to return the Window Size
(via a 'tgetent') if you were in a window, for certain parameters.
The most obvious of these are 'li' and 'co' for screen length and
screen width, respectively.  In fact GNUEmacs didn't need to know anything
about the windows; it just gets passed your window size when it does its
tgetent.  Well, suddenly, the first time I bring up 17.30 Emacs in a window
it thinks that it is 34 x 80!! (Default Sun terminal size.) Aacckkk!
What happened?

Then while making a feeble effort to determine the cause, I was looking at
the code in ../dist/src/dispnew.c, and ~line 900, there are 5 functions
defined right in a row; they are
(1) open-termscript
(2) screen-height
(3) screen-width
(4) set-screen-height
(5) set-screen-width

Use ^Hf (describe-function) to find out what these do; other than
open-termscript it should be self evident.  Open-termscript opens up a
file (default .termscript) that holds your keystrokes.  The reason I mention
this is that when I am in vanilla Emacs, (either Lisp Interactive or
Fundamental modes), I can execute 'M-x open-termscript' and it works, yet
if I try 'M-x screen-height' (or any of the other 3) I get 'no match'.
Why is this?  Do you have to be in a different mode?  I don't think I 
could access them from 16.60, either ; the biggest problem is that I really
don't have the time to track this down.  Any help would be *much*
appreciated.

Lastly, some time back, a handy little lisp function was posted to do
full minibuffer completion if you had defined a unique function before the
first '-'.  This is now broken, because it seems 'region-to-string' is
no longer implemented.  Is there an equivalent function in 17.30??

Thanks in advance,

	Greg Earle
	Jet Propulsion Laboratory
	UUCP:	...!sdcrdcf!smeagol!earle -or-
			...!sun!tsunami!earle
	ARPA:	ia-sun2!smeagol!earle@cit-vax.arpa