home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8534 < prev    next >
Encoding:
Text File  |  1992-08-18  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cs.utexas.edu!mercury.unt.edu!sol.acs.unt.edu!kenc
  3. From: kenc@sol.acs.unt.edu (Ken Corey - Operator)
  4. Subject: Re: Why does scrolling sometimes mess up?
  5. Message-ID: <kenc.714143651@sol.acs.unt.edu>
  6. Sender: usenet@mercury.unt.edu (UNT USENet Adminstrator)
  7. Organization: University of North Texas
  8. References: <Bt3nJ4.F9p@watserv1.uwaterloo.ca> <16qhi2INNkps@hilbert.math.ksu.edu>
  9. Date: Tue, 18 Aug 1992 13:14:11 GMT
  10. Lines: 22
  11.  
  12. jsp@math.ksu.edu (Jeff S. Pihl) writes:
  13. >I have had the same problem.  Mine occurs after I use kermit and log on
  14. >to another machine and have it set the terminal type to vt100.  Kermit
  15. >does this just fine but vt100 only has 24 lines and the local terminal
  16. >information gets tweaked slightly.  The console window will scroll properly
  17.  
  18. Why not get the GNU stty program, and then make a script to start emacs, so
  19. that when you exit emacs (or kermit, if *that* is the trouble) your size
  20. gets reset:
  21.  
  22. #!/bin/sh
  23. /usr/local/bin/emacs $*
  24. /usr/local/bin/stty rows howmanyrows cols howmanycols
  25.  
  26. *shrug* This works for me after logging into a remote site and having my
  27. tty size set to 80x25.
  28.  
  29. -Ken
  30. -- 
  31. Ken == kenc@sol.acs.unt.edu == kenc@vaxb.acs.unt.edu
  32.  Ray's Rule of Precision:
  33.      Measure with a micrometer.  Mark with chalk.  Cut with an axe.
  34.