GNU nano - Bugs: bug #54864, [Request] the ability to specify a...
You are not allowed to post comments on this tracker with your current authentication level.
bug #54864: [Request] the ability to specify a config file on the commandline
Submitter: | Rob Munsch <robmunsch> | ||
Submitted: | Thu 18 Oct 2018 05:19:00 PM UTC | ||
Severity: | 3 - Normal | Status: | Need Info |
Assigned to: | None | Open/Closed: | Closed |
Mon 25 Mar 2019 01:46:33 PM UTC, comment #2: |
Benno Schulenberg <bens> |
Sat 20 Oct 2018 08:55:35 AM UTC, comment #1: I don't understand the request. You say you made a "Module" for nano. Does that mean that you compile nano yourself, and use the most recent version? If so, then you could patch nano and change the SYSCONFDIR "/nanorc" to "/whatever/path/you/like" (in src/rcfile.c around line 1228). Then your self-compiled nano will always load the specified config, and the user can still override it with their local .nanorc file.
|
Benno Schulenberg <bens> |
Thu 18 Oct 2018 05:19:00 PM UTC, original submission:
Hi,
|
Rob Munsch <robmunsch> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-03-25 | bens | Open/Closed | Open | Closed | |
2018-10-23 | bens | Status | None | Need Info | |
2018-10-20 | bens | Summary | [Request] Ability to specify a nonstandard config file, such as on the commandline | [Request] the ability to specify a config file on the commandline |
Powered by Savane 3.13-02a9.
Corresponding source code
Closing due to lack of response. The suggestion to replace «SYSCONFDIR "/nanorc"» with «"/whatever/path/you/like"» (in src/rcfile.c on line 1238 in version 4.0) would appear to achieve what the original poster desires.