LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cygwin terminal setting (https://www.linuxquestions.org/questions/linux-newbie-8/cygwin-terminal-setting-381968/)

rsg00usa 11-10-2005 07:42 PM

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?

Nawar 11-10-2005 08:42 PM

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.

spooon 11-10-2005 09:26 PM

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.

Nawar 11-10-2005 09:28 PM

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.

spooon 11-10-2005 09:38 PM

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.

Nawar 11-11-2005 06:53 AM

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

chuck97224 01-12-2012 07:50 PM

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


All times are GMT -5. The time now is 02:27 PM.