FS#36131 - [mc] wrong start nano editor

Attached to Project: Community Packages
Opened by Vladimir Porshkevich (NeoSonic) - Saturday, 13 July 2013, 10:30 GMT
Last edited by Jakob Gruber (schuay) - Sunday, 18 August 2013, 10:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jakob Gruber (schuay)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
If you set [mc] external editor Nano. That [mc] runs it with the wrong parameters "%filename +%lineno". while the Nano requires reverse order "Usage: nano [OPTIONS] [[+ LINE, COLUMN] FILE] ...".


Additional info:
mc-4.8.9

it is treated with:
edit /usr/share/mc/mc.lib
instead of
...
nano=%filename +%lineno
...

should be
...
nano=+%lineno %filename
...


Steps to reproduce:
1) set external editor Nano
2) open any file to edit
3) will open the file in nano
4) after close nano, will be opened "temp" file with name "+1" or same
This task depends upon

Closed by  Jakob Gruber (schuay)
Sunday, 18 August 2013, 10:24 GMT
Reason for closing:  Upstream
Additional comments about closing:  https://www.midnight-commander.org/ticke t/3058
Comment by Jakob Gruber (schuay) - Sunday, 14 July 2013, 12:04 GMT
Please report this upstream (and post a link to the issue here).

Loading...