LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2005, 08:42 PM   #1
rsg00usa
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
cygwin terminal setting


I'm hoping someone can provide a solution to my problem.

I use cygwin on windows. Everyting works fine until I change the window size from the default size. For example if I resize the window and make it bigger (say 2x the length). When I edit (vi) a file it only uses the original size of the window (1x the length). When I scroll down to the bottom of the edited file, and there is still more text in the file to be displayed it will over write the last line displayed as it scrolls. This makes it very hard to edit the file. This seems to be a terminal setting problem. Any advice?
 
Old 11-10-2005, 09:42 PM   #2
Nawar
Member
 
Registered: Nov 2005
Location: Midwest America
Distribution: SuSE, RedHat
Posts: 39

Rep: Reputation: 15
look for a command called resize.

If it's available, great - if not, then set ENV variables for COLS and ROWS

such as

COLUMNS=132
ROWS=43
export COLUMNS ROWS

that should fix it.
 
Old 11-10-2005, 10:26 PM   #3
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
Cygwin has a better terminal called "rxvt". Install it in setup if it's not already installed. Do "rxvt -e /bin/bash &" from the regular terminal to start it. It supports stuff like copying and pasting to the clipboard and scrolling and resizing and other stuff.
 
Old 11-10-2005, 10:28 PM   #4
Nawar
Member
 
Registered: Nov 2005
Location: Midwest America
Distribution: SuSE, RedHat
Posts: 39

Rep: Reputation: 15
rxvt would require that cygwin/x (or some other x server) is already running.

If they are just running the standard command line version of cygwin, then rxvt won't help.

However, I agree that running an x terminal session is much easier to manage, especially when the term type is set to "xterm" or "dtterm", as it works a lot better with Linux/Unix system than "cygwin" does.
 
Old 11-10-2005, 10:38 PM   #5
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
Quote:
Originally posted by Nawar
rxvt would require that cygwin/x (or some other x server) is already running.

If they are just running the standard command line version of cygwin, then rxvt won't help.
No, rxvt in Cygwin doesn't require X.
 
Old 11-11-2005, 07:53 AM   #6
Nawar
Member
 
Registered: Nov 2005
Location: Midwest America
Distribution: SuSE, RedHat
Posts: 39

Rep: Reputation: 15
Well!

Isn't that something.

I guess I always assumed that given the *x* in the name, It was for x-windows.

Nothing to see here, please move along....

lol

j/k.

See, experienced folks can and will learn new things all the time.

Tx,

Nawar

Last edited by Nawar; 11-13-2005 at 10:07 PM.
 
Old 01-12-2012, 08:50 PM   #7
chuck97224
LQ Newbie
 
Registered: Nov 2009
Location: Portland, Oregon Metro Area
Distribution: Xubuntu 13.04
Posts: 3

Rep: Reputation: 0
After cygwin is installed, simply install putty on the same machine. Then connect to 127.0.1.1. easy as pie.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cygwin terminal type unrecognized: terminfo problem? wirawan0 Linux - General 1 07-12-2004 10:56 PM
How to modify the defaut terminal setting? Xiangbuilder Linux - General 2 08-27-2003 07:19 AM
Setting up host in Terminal? CauSTiC Linux - General 6 10-06-2002 08:54 AM
Setting up host in Terminal? CauSTiC Linux - Newbie 3 10-06-2002 07:12 AM
setting cygwin enviroment variables max2878 Linux - General 1 06-21-2002 04:20 AM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration