user_guide:howto:shell_custom

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
user_guide:shell_custom [2019/01/25 09:27] – ↷ Page moved from tutorial:shell_custom to user_guide:shell_custom oroehriguser_guide:howto:shell_custom [2019/01/25 16:02] – ↷ Links adapted because of a move operation oroehrig
Line 1: Line 1:
 ===== Customizing the polymake shell ===== ===== Customizing the polymake shell =====
  
-Here we won't speak about really mighty features like defining own rules or object types; they are described [[reference:rulefiles|elsewhere]].  Instead we'll start with tiny, easy to use tools of fine-tuning.+Here we won't speak about really mighty features like defining own rules or object types; they are described [[user_guide:extend:rulefiles|elsewhere]].  Instead we'll start with tiny, easy to use tools of fine-tuning.
  
 ==== Custom variables ==== ==== Custom variables ====
Line 8: Line 8:
  
   -- All definitions are repeated in a text file residing in your home directory: ''~/.polymake/customize.pl'' .  You are invited to load it in your favorite text editor and study its contents.  The variables are sorted there first by applications, then by package names.  Most of them will appear as deactivated (that is, the lines start with ''#'' which is the perl fashion of making comments to programs).  This means, the default values assigned to them somewhere in the polymake source code are in effect.  If you want to change them, simply remove the ''#'' sign and fill in your desired value.  By the way, the color values don't need to be entered in numerical RGB notation; any color name listed in the system color list addressed in ''$Visual::Color::RGBtxt_path'' can be used instead.   -- All definitions are repeated in a text file residing in your home directory: ''~/.polymake/customize.pl'' .  You are invited to load it in your favorite text editor and study its contents.  The variables are sorted there first by applications, then by package names.  Most of them will appear as deactivated (that is, the lines start with ''#'' which is the perl fashion of making comments to programs).  This means, the default values assigned to them somewhere in the polymake source code are in effect.  If you want to change them, simply remove the ''#'' sign and fill in your desired value.  By the way, the color values don't need to be entered in numerical RGB notation; any color name listed in the system color list addressed in ''$Visual::Color::RGBtxt_path'' can be used instead.
-  .. Some variable definitions appear accompanied by a preceding line of the form ''ARCH('//xyz//')'' .  These are special in that they are dynamically set by auto-configuration routines lurking in some rule files, and therefore potentially dependent on the computer architecture.  (Recall that you may use polymake on alternating computer platforms having different paths to programs etc.)  The preferred way of changing these variables is to use the ''[[general#Configuration|reconfigure]]'' command as described below, because with some of them additional consistency checks may be associated.  But in many cases they can be easily edited as well.+  .. Some variable definitions appear accompanied by a preceding line of the form ''ARCH('//xyz//')'' .  These are special in that they are dynamically set by auto-configuration routines lurking in some rule files, and therefore potentially dependent on the computer architecture.  (Recall that you may use polymake on alternating computer platforms having different paths to programs etc.)  The preferred way of changing these variables is to use the ''[[..:general#Configuration|reconfigure]]'' command as described below, because with some of them additional consistency checks may be associated.  But in many cases they can be easily edited as well.
   .. A few variables are stored in a different file: ''~/.polymake/prefer.pl'' .  They are separated from the rest because they don't belong to any application but rather control the universal facilities like history editing in the interactive shell or locating extensions.  When specifying various search paths, you may use ''~'' as an abbreviation for your home directory; other environment variables can be referred as ''$ENV{//name//}''   .. A few variables are stored in a different file: ''~/.polymake/prefer.pl'' .  They are separated from the rest because they don't belong to any application but rather control the universal facilities like history editing in the interactive shell or locating extensions.  When specifying various search paths, you may use ''~'' as an abbreviation for your home directory; other environment variables can be referred as ''$ENV{//name//}''
   .. Please remember that you shouldn't edit any of these files as long as a polymake process is running anywhere under your account.  Sometimes polymake needs to store some changes there on its own behalf, but this happens immediately before the exit; so either your or polymake's changes will definitely be lost.   .. Please remember that you shouldn't edit any of these files as long as a polymake process is running anywhere under your account.  Sometimes polymake needs to store some changes there on its own behalf, but this happens immediately before the exit; so either your or polymake's changes will definitely be lost.
  • user_guide/howto/shell_custom.txt
  • Last modified: 2021/01/12 14:34
  • by 127.0.0.1