LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-07-2015, 11:56 AM   #1
usao
Member
 
Registered: Dec 2011
Location: Chandler, AZ
Posts: 266

Rep: Reputation: Disabled
Linux Screen command resizing Putty terminal window.


When running the "screen" command from a Windows Putty session, it re-sizes my window.
Is there a way to prevent this from happening?
 
Old 11-07-2015, 12:53 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,133
Blog Entries: 2

Rep: Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839Reputation: 4839
Code:
man screen
Look at the -A option, this should fix the problem.
 
Old 11-07-2015, 01:01 PM   #3
usao
Member
 
Registered: Dec 2011
Location: Chandler, AZ
Posts: 266

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TobiSGD View Post
Code:
man screen
Look at the -A option, this should fix the problem.
Unfortunately no, the -A option does not prevent the resizing of the Putty window.
I start with a 132x35 Putty window, and after running "screen -A" the window resizes to 80x35.
 
Old 06-16-2017, 07:15 AM   #4
ronanb3
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Rep: Reputation: Disabled
Has anyone still the issue ?
I have the issue and I didn't find any answer.

Thanks for your help.
 
Old 06-16-2017, 07:21 AM   #5
ronanb3
LQ Newbie
 
Registered: Jun 2017
Posts: 2

Rep: Reputation: Disabled
Found the solution : https://superuser.com/questions/3747...-window-resize

The feature is called "remote terminal resizing", and it can be disabled at Configuration -> Terminal -> Features -> Disable remote-controlled terminal resizing, as described in PuTTY configuration.
 
1 members found this post helpful.
Old 06-16-2017, 09:44 AM   #6
usao
Member
 
Registered: Dec 2011
Location: Chandler, AZ
Posts: 266

Original Poster
Rep: Reputation: Disabled
I never got it working.
 
Old 06-16-2017, 06:21 PM   #7
scasey
Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 5.11
Posts: 315

Rep: Reputation: 118Reputation: 118
Quote:
Originally Posted by ronanb3 View Post
Found the solution : https://superuser.com/questions/3747...-window-resize

The feature is called "remote terminal resizing", and it can be disabled at Configuration -> Terminal -> Features -> Disable remote-controlled terminal resizing, as described in PuTTY configuration.
The answer may be in that link, but current PuTTY configuration doesn't have that "Configuration -> Terminal -> Features ->" path, and I don't see anything in the current configuration that references disabling terminal-resizing, remote or otherwise. Note that specific response in the link is four years old.

But see the comments there about using ~/.screenrc or (probably better) read and understand how to configure screen using the .screenrc file as explained in
Code:
man screen
...where I see height, screen, resize ...

This is the first I'd heard of screen, and I can see how it could be very useful at the console, but when running PuTTY from a windows box, why not just open another session? Just askin'
 
Old 08-03-2017, 03:29 PM   #8
usao
Member
 
Registered: Dec 2011
Location: Chandler, AZ
Posts: 266

Original Poster
Rep: Reputation: Disabled
Got it working thanks to ronanb3
 
  


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
[SOLVED] Resizing an installed Window of PlayOnLinux after installing OpenGL no full screen. moshebagelfresser Linux - Software 0 11-17-2014 02:44 PM
How do I resize the terminal window from the command line in the gnome terminal QuIcKSpArK Linux - Newbie 5 04-21-2012 02:04 PM
Ubuntu Server 10.10 command window not resizing in Virtualbox rbrachmann Linux - Virtualization and Cloud 3 02-09-2011 01:27 AM
[SOLVED] Resizing window content when resizing window? (Debian squeeze) mike11 Linux - Newbie 2 03-04-2010 02:14 AM
Difference between a Shell terminal window and the KDE Linux Console terminal window? bostonantifan Fedora 2 03-25-2007 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:15 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