The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
File properties risshanth UNIX for Dummies Questions & Answers 2 02-03-2008 04:57 AM
Array Properties Raynon Shell Programming and Scripting 2 08-17-2007 06:49 AM
Getting image properties victorin Shell Programming and Scripting 3 08-21-2006 04:53 PM
How do properties effect script? Chiefos UNIX for Dummies Questions & Answers 1 06-21-2006 06:23 AM
Directory properties trekker UNIX for Dummies Questions & Answers 8 11-20-2001 09:55 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-19-2007
shriashishpatil shriashishpatil is offline
Registered User
  
 

Join Date: Dec 2005
Location: Pune
Posts: 81
properties for vi

Hi,
I have a simple problem in vi of which I dont know the solution.

I have a file of 2000 lines. But when I open the file in vi, it only displays 20 lines and I have to use ctrl-f to see next lines.

How do change the screen settings in vi? I want to see screen full text.

stty rows 40 columns 80 doesn't help.

Any answers?

Thanks in advance,
-Ashish
  #2 (permalink)  
Old 04-19-2007
Ygor's Avatar
Ygor Ygor is offline Forum Staff  
Moderator
  
 

Join Date: Oct 2003
Location: -31.96,115.84
Posts: 1,407
Try setting the environment variables ROWS and COLUMNS. You can do this manually or use resize:
Code:
eval $(resize)
  #3 (permalink)  
Old 04-20-2007
shriashishpatil shriashishpatil is offline
Registered User
  
 

Join Date: Dec 2005
Location: Pune
Posts: 81
Thanks for your help.
eval $(resize) worked.

Can you please tell me what does it do?


-Ashish
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0