lcn2 / calc

C-style arbitrary precision calculator
http://www.isthe.com/chongo/tech/comp/calc/index.html
Other
346 stars 52 forks source link

Enhancement: read/write ini #125

Closed ghost closed 11 months ago

ghost commented 11 months ago

Read/Write INI files.

lcn2 commented 11 months ago

We will decline this request.

The ini file format, originally for things line windows, is intended as a configuration file.

Instead calc uses a ~/.calcrc file to execute command at calc startup, unless calc -q is used. So to configure calc, put calc commands in your ~/.calcrc file, or wherever your $CALCRC path references.

For example:

config("tilde_space",1),;
config("fraction_space",1),;
config("complex_space",1),;
lcn2 commented 11 months ago

Thanks for your suggestion.