Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!purdue!gatech!rutgers!att!cbnews!cbema!las From: cbema!las@cbnews.ATT.COM (cbema!las) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: 43-line EGA mode for MicroEmacs 3.10? Message-ID: <6437@cbnews.ATT.COM> Date: 10 May 89 17:01:28 GMT References: Reply-To: cbema!las@cbnews.ATT.COM (Larry A. Shurr) Organization: AT&T Bell Laboratories, Columbus, OH (actually an AGS consultant) Lines: 34 In article porter@caip.rutgers.edu (Adam Porter) writes: >MicroEmacs 3.10 looks good so far...but can anyone tell me how to get >43-line EGA mode? Do I have to write my own macro? If so, how do I >do it? I tried to change window to 43-lines, but it said "impossible >command" or something like that. You can put the command 'set $sres "EGA"' in your emacs.rc file. If you have VGA, you use 'set $sres "VGA"' and get 50 lines if your eyesight is good or if you have a large monitor. I found that I had problems with the cursor disappearing upon return from pushing to a shell (the 'i-shell' function, normally bound to ^XC) to say nothing about the funky appearence of the display when you do this in 43-line mode. As a quick-fix I added the following to my emacs.rc file: 38 store-macro set $sres "CGA" i-shell set $sres "EGA" !endm bind-to-key execute-macro-38 ^XC (I know that I should use the new named macro facility and get rid of all my old code using the numbered macros and I will, this was just a quick hack to get going again after running into the disappearing cursor problem for the first time.) regards, Larry -- Signed: Larry A. Shurr (att!cbnews!cbema!las) Clever signature, Wonderful wit, Outdo the others, Be a big hit! - Burma Shave (With apologies to the real thing. The above represents my views only.) (Please note my mailing address. Mail sent to me on cbnews doesn't make it.)