top: warn users if rcfile save prevents older top read
I'm about to break older top rcfile compatibility when preserving those two new toggles. And, though this has happened several times over the years, we never issued any warnings that such thing was just about to happen. So, this patch corrects the long standing shortcoming. Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
@@ -509,6 +509,7 @@ static void build_norm_nlstab (void) {
|
||||
Norm_nlstab[XTRA_vforest_fmt] = _("PID to collapse/expand [default pid = %d]");
|
||||
Norm_nlstab[XTRA_size2up_txt] = _("terminal is not wide enough");
|
||||
Norm_nlstab[XTRA_modebad_txt] = _("wrong mode, command inactive");
|
||||
Norm_nlstab[XTRA_warnold_txt] = _("saving prevents older top from reading, save anyway?");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user