Josip Rodin <[email protected]> writes:
> On Wed, Dec 09, 2009 at 03:52:57PM +0200, jaalto wrote:
>> Package: joe
>> Version: 3.7-1
>> Severity: normal
>>
>>
>> TEST
>>
>> joe /tmp/test.txt
>> Warning: /etc/joe/joerc is newer than your /home/foo/.joerc.
>> You should update or delete /home/foo/.joerc
>> Hit enter to continue with /etc/joe/joerc
>>
>> Program should always prefer $HOME dot files over /etc.
>
> It's warning you that you have to verify that your local syntax is
> up to date, because if it's not, your joe may become broken.
> Once you do that, even if you make no changes, just touch the file and
> the check condition will no longer trigger.
>
> The check is valid, but if you wish to update the verbiage, please suggest.
There a many problems
- The program should never use the /etc no mattet how broken users setup
is. If the user's setup cannot be used, it should simply die with a
proper error message.
- The use of timestamp is not an indication of an obsolete setup.
- There is no need to notify user about new file in /etc because the
upgrades always possibly bring new files. Every user can consult
the documentation about new features from the manual pages.
About the message
- It is okay to display a warning on erros, or unknown variables, possibly
obsoleted in "joerc". Simply send them to stderr for capturing with
"2> joe-messages.log"
- Program should not pause for extra user input.
The problem becomes widespread if every program suddenly started
announcing
"new setup in /etc" <beep> "did you notice it?" <pause fr user input>
Just simpley start the program and display only errors to stderr.
Jari
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]