Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!haven!mimsy!nocusuhs!nmrdc1!minixug!arrakis!bert From: bert@arrakis.nl.mugnet.org (Bert Laverman) Newsgroups: comp.os.minix Subject: Re: 50 line screen mode (Atari). Message-ID: <9104023054@arrakis.nl.mugnet.org> Date: 2 Apr 91 21:11:00 GMT References: <2987@krafla.rhi.hi.is> Organization: Alphasoft Nederland Lines: 46 In article <2987@krafla.rhi.hi.is>, adamd@rhi.hi.is (Adam David) wrote: > When I press F1 in minix 1.5 the cursor jumps to the left end of whatever line > it's in and enters 50 line mode. If you check the generated escape codes, you'll find F1 to generate: ^[[1~ (ESC leftbracket 1 tilde) If you check /usr/src/kernel/stvdu.c, you'll find that: ^[[ l;a;m;r;g;b ~ Is used for several ST specific settings. ^[[1~ happens to switch on 50 line mode (l=1), ^[[0~ will bring you back to 25 lines. > This is useful but there are 2 problems: > a) I have not been able to find how to get back into 25 line mode. Just type at the prompt Ctrl-[ (or press Esc), '[', '0', '~'. The cursor will hop to the left marging and be big again. Don't forget to erase these characters from your buffer. (Just press Return and ignore the error) > b) Some programs screw up because they think they are still working with a 25 > line screen. So far I have observed 'mined'. This is what happens: > mined comes in on the top half of the screen because it intends to work with > 25 lines only. Scrolling back and forth in a file larger than 25 lines > results in downwards-scrolling text spilling over into the lower screen area. > Repeated scrolling up and down seems to cause confusion because not only is > there spillover but also the top 25 lines (where mined has its active window) > show multiple repeated lines. The file being edited is not corrupted, it is > only the screen output. You can make a termcap entry for this, or take the vga50 entry Fred posted just a short while ago. I tried it, and it works like a cinch for elvis. Mg also accepts it, as well as elle. Mined however has the 25-lines hacked in, and is therefore not willing to change it's mind. Greetings, Bert ===================================================================== Bert Laverman email: bert@arrakis.nl.mugnet.org Molukkenstraat 148 work: laverman@cs.rug.nl 9715 NZ Groningen The Netherlands tel.: +31 50 - 733587 From "How to catch a lion in the desert": The Peano method: In the usual way construct a curve containing every point in the desert. It has been proven that such a curve can be traversed in arbitrarily short time. Now we traverse the curve, carrying a spear, in a time less than what it takes the lion to move a distance equal to it's own length. =====================================================================