trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2015

Re: [trinity-users] konsole and resize

From: Michele Calgaro <michele.calgaro@...>
Date: Fri, 11 Sep 2015 22:37:58 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 09/10/2015 05:00 AM, Leonard T Harris wrote:
> I don't often use the resize command and I'm not 100% this is a TDE issue.
> 
> I have konsole set to allow programs to resize the terminal.
> 
> When I do something like:
> 
> resize -s 25 80
> 
> it does resize the terminal, but it also waits for me to hit enter (or something) and then complains: resize:
> unknown character, exiting
> 
> This is not the behavior I normally encounter.  Normally it resizes the terminal, and clearly sets columns and
> lines and exports them.
> 
> I have tried this in both bash and zsh.
> 
> This is on a box with Ubuntu 15.04 freshly installed (with just zsh and TDE added).
> 
> Hopefully someone can let me know how to make this behave normally.
> 
> Thanks in advance.
> 
> -LTH

Hi,
I tried on my system (Debian Stretch + TDE r14.1.x) and I have the same behavior. A little of googling reveals that -s
means "use Sun escape sequences instead of VT100" which in turns causes the error message to appear. The problem is at
least 8 years old since I can find the same question dated back to 2007.
Trying 'resize -s 25 80' followed by Ctrl+C seems to do the job, at least visually.

Cheers
  Michele
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJV8tk2AAoJECp1t8qK3tXPYPIP/14B7PGIcxSjjWspAnTlSfLD
QiuYQcs1UsHUWxMkp6FV3lZgNmwNlOlXMYFHONezPuJt9GdzehnLRZW+LRIYt+Uo
uTfEd+j9+c5LpWfzD7UgrXS6ALFeRIeQE2Pbf44oG1yzodRoPETO7j9hmjpEzSY5
eyiprQIxjYD2WtZMIiMa8MGja9xLsg1aguM/XSPsg5KqIDq8RuK+OCoUgpM8IZvv
PrDsiusJdz3TrH0OFAZIayoYjX4kadptz15oNjc51PQzPUbR1gSXUnZeEtfoT/kh
6hEBBKRIIwPV/VBMllTCIsFWZfCsuLmpKEO09Lt1ZVi+4APIWb39rXwjqOUMNNTR
gnR5k1emir7ObQzy0WuTbWTY29mETnIgS8Nbw9ZgGwR/iRm19pe2QM5F3X15cixM
qamsbjrlU5Te+QF7J/esw1xkwoBSjPySslGi+E/cn3GCpVyPxlcH7fPhBHJ5XvFN
f/QCGWfMfYDRPlSmKnfgUe0onVw4oThog78MFcm86qpUFrIgbSOzE8x9CZXfI1Js
AGJhoiXuQU6q76qTpHbLxqS++vbHHh5qqK3XabZQpwov32lr/32MYun9bYz/O3l7
SIUIeK3yUclFkG5kfgr4L6FWgAzrsp4D3NJpRlL2DXbHH++XL46jiCD8m5WC+EvI
PP0Vj16f2jorjImSQR5g
=izLR
-----END PGP SIGNATURE-----