From: Francis Moreau Date: Fri, 23 Mar 2007 09:54:51 GMT Subject: Re: emacs and git... Message-ID: <38b2ab8a0703230254x585ff89fp3e425b08cac56900@mail.gmail.com> In-Reply-To: <7vtzwcqqf9.fsf@assigned-by-dhcp.cox.net> On 3/23/07, Junio C Hamano wrote: > "Francis Moreau" writes: > > > Can't git make 'cat' the default pager when run on a dumb terminal ? > > IIRC, `more` works on a dumb terminal. > yes it does although the behaviour is a bit weird. Not all screen is used. > But using PAGER=cat is a longstanding and widely used trick > among Emacs old timers, predating the EDITOR=emacsclient, which > is even nicer. I would highly recommend it. These two > environment variables make running *everything* in compilation > mode (or shell buffer) so much nicer than otherwise. > I think I'm going to give a try PAGER=more and EDITOR=emacsclient config with shell buffer and see if it can fit well my git usage. I tried to use term mode but it's pretty annoying to switch between 'line' and 'char' mode all the time. BTW Junio, just out of curiosity, do you use shell or term mode ? -- Francis