On Thu, Oct 22, 2009 at 07:17:25AM -0700, steve wrote: > > I use Vi. > > In the past eg unix days, and Redhat. I could go to a file look at it > go to a certain line and then quit vi. The screen would not refresh it > would just exit me and leave the text that I was looking at on my > terminal. > > In some previous OS's when this didnt work I could put the following > in my .bash_profile > > export PAGER=/bin/more > > Then files would just quit leaving the last text I was looking at on > my terminal. However this does not seem to be working for me now. > When I exit it clears the screen, removing the text I was just looking > at on my screen. How can I stop this. > > Im using SME server linux built on CentOS although I'm not sure it > makes a difference and Vi version 6.3.82 (based on my reading anyway) > > Regards > > > see here: http://ubuntuforums.org/showthread.php?t=722837 They're going for the opposite effect, but it looks like setting TERM to xterm should work. (mine is "screen" right now and behaves as you describe, leaving the text on the screen).
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup -~----------~----~----~----~------~----~------~--~---
