Changeset 3259d7 in git for Singular


Ignore:
Timestamp:
Jul 19, 2021, 12:05:53 AM (3 years ago)
Author:
Michael Orlitzky <michael@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
1362e6105131ed9d59ba96909ca0f4ba4b56c218
Parents:
1a010f4c0c6ebc290bbd35834683e4c4f52a0846
git-author:
Michael Orlitzky <michael@orlitzky.com>2021-07-18 18:05:53-04:00
git-committer:
Michael Orlitzky <michael@orlitzky.com>2021-07-18 18:19:31-04:00
Message:
**/*: rename singular.hlp to singular.info.

The help file presently named "singular.hlp" is intended to be read
with GNU Info, which looks for an extension of ".info" by
default. Thus, at the moment, one must run "info singular.hlp" to read
the installed file, whereas "info singular" is more natural.

This commit replaces "singular.hlp" with "singular.info" throughout
the source tree so that the file ultimately has the name that GNU Info
or Emacs expect.

Closes: https://github.com/Singular/Singular/issues/1107
Location:
Singular
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/help.cnf

    r1a010f r3259d7  
    66# known requirements:
    77#  x- requires singular.idx
    8 #  i- requires singular.hlp
     8#  i- requires singular.info
    99#  h- requires html dir
    1010#  D- requires the environment variable DISPLAY
     
    1818#  %H: the www html  file
    1919#             (in the form https://www.singular.uni-kl.de/some/dir/sing_123.htm)
    20 #  %i: the complete path of singular.hlp
     20#  %i: the complete path of singular.info
    2121#  %n: the info node
    2222#  %v: Singular version (in the form 4-0-0)
  • Singular/fehelp.cc

    r1a010f r3259d7  
    819819      case '#': break;
    820820      case ' ': break;
    821       case 'i': /* singular.hlp */
     821      case 'i': /* singular.info */
    822822      case 'x': /* singular.idx */
    823823      case 'h': /* html dir */
     
    958958                   break;
    959959                 }
    960         case 'i': /* singular.hlp */
     960        case 'i': /* singular.info */
    961961                 {
    962962                   char *i_res=feResource('i');
     
    964964                   else
    965965                   {
    966                      WarnS("singular.hlp not found");
     966                     WarnS("singular.info not found");
    967967                     return;
    968968                   }
Note: See TracChangeset for help on using the changeset viewer.