[Bug 1522598] Re: nano crashes when resizing terminal
Benno Schulenberg
benno at vertaalt.nl
Fri Jul 8 11:27:19 UTC 2016
In fact, it isn't fixed. It just happened that on my two machines I use
VTE-based terminals, and somehow they don't allow the window to be made
smaller than four columns. But xterm allows reducing the window to just
one column -- and with anything less than four columns, nano goes down.
Nano goes down deliberately when the window gets narrower than four
columns, but... I don't think it should do that. No other console
editor does that. Vim and joe and Emacs all stay alive even in a one-
column terminal. So I think nano should do the same. Emacs stops
outputting anything to the screen when the terminal is narrower than six
columns (probably because by then things are entirely unreadable). Nano
could do something similar, also because it is an easy fix: simply skip
all display activity when COLS < 4.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nano in Ubuntu.
https://bugs.launchpad.net/bugs/1522598
Title:
nano crashes when resizing terminal
Status in nano package in Ubuntu:
Confirmed
Bug description:
See video here: https://vid.me/5ksi
Whenever I resize the terminal that nano is running in to a very small
size, it will crash.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: nano 2.2.6-1ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-37.42~14.04.1-generic 3.19.8-ckt9
Uname: Linux 3.19.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Dec 3 22:57:39 2015
InstallationDate: Installed on 2015-11-09 (24 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: nano
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1522598/+subscriptions
More information about the foundations-bugs
mailing list