home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / gnu / emacs / help / 5244 < prev    next >
Encoding:
Text File  |  1993-01-05  |  2.2 KB  |  54 lines

  1. Newsgroups: gnu.emacs.help
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cisco.com!mdb
  3. From: mdb@cisco.com (Mark D Baushke)
  4. Subject: Re: getting emacs to use region scroll
  5. Message-ID: <9301051717.AA01448@regal.cisco.com>
  6. Sender: mdb@cisco.com
  7. Organization: cisco Systems Inc., Menlo Park, CA, USA
  8. References: mdb@cisco.com (Mark D Baushke)
  9. Date: Tue, 5 Jan 1993 01:17:44 GMT
  10. Lines: 42
  11.  
  12. On Sun, 3 Jan 1993 01:57:41 GMT, pdh@netcom.com (Phil Howard) said:
  13.  
  14. phil> I believe my problem is that the termcap entries do not include
  15. phil> any specification of region scrolling.  Somehow I need to fix
  16. phil> that (but this is going to be difficult because I am a mere
  17. phil> user, not the sysadmin, on this machine, and UNIX seems to be
  18. phil> designed to be customized only by sysadmins).  I've scrounged
  19. phil> /etc/termcap for any suitable alternates, but none are to be
  20. phil> found.  Eventually I hope to hack together a way to create my
  21. phil> own termcaps and somehow get those to be used in lieu of
  22. phil> /etc/termcap.
  23.  
  24. phil> IN THE MEAN TIME, is there any work around in GNU EMACS to force
  25. phil> it to do region scrolling ANYWAY, despite the termcap being in
  26. phil> error?  This is the substantial problem I have right now.
  27.  
  28. you do not indicate the version of gnu emacs or the hardware or
  29. operating system of your machine. however, i will assume a recent
  30. version of gnu emacs running on sun hardware and sunos 4.1.x.
  31.  
  32. i will further assume that you use /bin/csh as your shell.
  33.  
  34. copy the termcap definitions for your favorite terminals into your own
  35. $HOME/termcap hack on them and then 'setenv TERMCAP $HOME/termcap'
  36. (bourne and bash shell users should use the command
  37. 'TERMCAP=$HOME/termcap;export TERMCAP')
  38.  
  39. if you don't have sufficient diskspace for your own termcap, you may
  40. be able to use the one in the emacs etc directory.
  41.  
  42. while in emacs look at the variable exec-path for an ".../etc" entry
  43. that might be something like /usr/local/emacs/etc look to see if
  44. the file /usr/local/emacs/etc/termcap (or whatever the path is)
  45. exists. if it does, then exit emacs, do a
  46.  
  47.     setenv TERMCAP /usr/local/emacs/etc/termcap
  48.  
  49. and restart emacs to see if the scroll regions work for you.
  50.  
  51.     good luck,
  52.     -- mark
  53.     mdb@cisco.com
  54.