bugGNU nano - Bugs: bug #47495, on exit, nano positions the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #47495: on exit, nano positions the command prompt strangely

Submitter:  Jean-Baptiste <jaybeede>
Submitted:  Tue 22 Mar 2016 08:22:34 AM UTC
   
 
Severity:  2 - Minor Status:  Works For Me
Assigned to:  bens Open/Closed:  Closed

Tue 22 Mar 2016 11:07:02 AM UTC, comment #1: 

At the top of the screen, like on Linux systems?  Hmm.  My nano doesn't put the prompt or cursor at the top of the screen after exit.  On a VT (a Linux console), it doesn't even clear the screen: it leaves the titlbar and the file text in place, just clears the two help lines, and puts the prompt and cursor on the bottom line.  Pico and vim do the same.

On an emulated terminal, nano restores the screen to what it was when typing Enter after the nano command line.  Pico and vim do the same.

If you want the cursor at the top, maybe you could make a little script, nn.sh?

#!/bin/sh
nano $@;
clear;

Benno Schulenberg <bens>
Group administrator
Tue 22 Mar 2016 08:22:34 AM UTC, original submission:  

Hi,

When I exit the nano console, the screen is cleared but the cursor is at the
bottom of the screen.
Is it possible to make it at the top of the screen like on Linux systems?

Jean-Baptiste <jaybeede>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #36721:  Capture.PNG added by jaybeede (1MiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by jaybeede (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-29 bens Open/ClosedOpen Closed
    2016-04-30 bens StatusNone Works For Me
        Assigned toNone bens
    2016-03-22 bens Severity3 - Normal 2 - Minor
        SummaryNano on exit doesn\'t really clear the command prompt on exit, nano positions the command prompt strangely
    2016-03-22 jaybeede Attached File- Added Capture.PNG, #36721

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code