🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #2061

Re: getting emacs to use region scroll

#2061
From: Mark D Baushke
Date: Tue, 05 Jan 1993 01:17
42 lines
2280 bytes
On Sun, 3 Jan 1993 01:57:41 GMT, pdh@netcom.com (Phil Howard) said:

phil> I believe my problem is that the termcap entries do not include
phil> any specification of region scrolling.  Somehow I need to fix
phil> that (but this is going to be difficult because I am a mere
phil> user, not the sysadmin, on this machine, and UNIX seems to be
phil> designed to be customized only by sysadmins).  I've scrounged
phil> /etc/termcap for any suitable alternates, but none are to be
phil> found.  Eventually I hope to hack together a way to create my
phil> own termcaps and somehow get those to be used in lieu of
phil> /etc/termcap.

phil> IN THE MEAN TIME, is there any work around in GNU EMACS to force
phil> it to do region scrolling ANYWAY, despite the termcap being in
phil> error?  This is the substantial problem I have right now.

you do not indicate the version of gnu emacs or the hardware or
operating system of your machine. however, i will assume a recent
version of gnu emacs running on sun hardware and sunos 4.1.x.

i will further assume that you use /bin/csh as your shell.

copy the termcap definitions for your favorite terminals into your own
$HOME/termcap hack on them and then 'setenv TERMCAP $HOME/termcap'
(bourne and bash shell users should use the command
'TERMCAP=$HOME/termcap;export TERMCAP')

if you don't have sufficient diskspace for your own termcap, you may
be able to use the one in the emacs etc directory.

while in emacs look at the variable exec-path for an ".../etc" entry
that might be something like /usr/local/emacs/etc look to see if
the file /usr/local/emacs/etc/termcap (or whatever the path is)
exists. if it does, then exit emacs, do a

	setenv TERMCAP /usr/local/emacs/etc/termcap

and restart emacs to see if the scroll regions work for you.

	good luck,
	-- mark
	mdb@cisco.com
Technical Details
Message-ID: <9301051717.AA01448@regal.cisco.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cisco.com!mdb
References: mdb@cisco.com (Mark D Baushke)

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cisco.com!mdb
From: mdb@cisco.com (Mark D Baushke)
Subject: Re: getting emacs to use region scroll
Message-ID: <9301051717.AA01448@regal.cisco.com>
Sender: mdb@cisco.com
Organization: cisco Systems Inc., Menlo Park, CA, USA
References: mdb@cisco.com (Mark D Baushke)
Date: Tue, 5 Jan 1993 01:17:44 GMT
Lines: 42