App-Chart
view release on metacpan or search on metacpan
lib/App/Chart/doc/chart.html view on Meta::CPAN
<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This manual describes how to install and use Chart, version 275.
Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2014, 2015, 2016, 2017, 2019, 2023, 2024 Kevin Ryde
Chart is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 3, or (at your option) any later version
(Copying). -->
<title>Chart Manual</title>
<meta name="description" content="How to install and use the Chart program, version 275.">
<meta name="keywords" content="Chart Manual">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link href="#Top" rel="start" title="Top">
<link href="#Concept-Index" rel="index" title="Concept Index">
<link href="dir.html#Top" rel="up" title="(dir)">
<link href="#Introduction" rel="next" title="Introduction">
<link href="dir.html#Top" rel="prev" title="(dir)">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
a.summary-letter-printindex {text-decoration: none}
div.center {text-align:center}
div.example {margin-left: 3.2em}
kbd.kbd {font-style: oblique}
kbd.key {font-style: normal}
span:hover a.copiable-link {visibility: visible}
strong.def-name {font-family: monospace; font-weight: bold; font-size: larger}
td.printindex-index-entry {vertical-align: top}
td.printindex-index-section {vertical-align: top; padding-left: 1em}
th.entries-header-printindex {text-align:left}
th.sections-header-printindex {text-align:left; padding-left: 1em}
ul.mark-bullet {list-style-type: disc}
-->
</style>
</head>
<body lang="en">
lib/App/Chart/doc/chart.html view on Meta::CPAN
<div class="chapter-level-extent" id="Internationalization">
<div class="nav-panel">
<p>
Next: <a href="#Emacs" accesskey="n" rel="next">Emacs</a>, Previous: <a href="#Data-Sources" accesskey="p" rel="prev">Data Sources</a>, Up: <a href="#Top" accesskey="u" rel="up">Chart</a> [<a href="#Concept-Index" title="Index" rel="index">Ind...
</div>
<h2 class="chapter" id="Internationalization-1"><span>17 Internationalization<a class="copiable-link" href="#Internationalization-1"> ¶</a></span></h2>
<a class="index-entry-id" id="index-Internationalization"></a>
<a class="index-entry-id" id="index-Localization"></a>
<a class="index-entry-id" id="index-Preferences_002c-locale"></a>
<p>Chart is written in English, but has support for various localizations,
selected by the usual system mechanisms.
</p>
<dl class="table">
<dt><a class="index-entry-id" id="index-Thousands-character"></a>
<a id="index-Decimal-point"></a><span>Numbers<a class="copiable-link" href="#index-Decimal-point"> ¶</a></span></dt>
<dd><p>Numbers are shown with the locale decimal point and thousands separator. You
can also customize these in your <samp class="file">init.pl</samp>.
</p>
</dd>
<dt><a id="index-Date-format"></a><span>Dates<a class="copiable-link" href="#index-Date-format"> ¶</a></span></dt>
<dd><p>Dates are shown in the locale format, or the usual C language default is
‘<samp class="samp">mm/dd/yy</samp>’. You can also customize this in your <samp class="file">init.pl</samp> to set a
personal preference, like the month as a name instead of a number.
</p>
</dd>
<dt><a class="index-entry-id" id="index-Translations_002c-messages"></a>
<a id="index-Message-translations"></a><span>Messages<a class="copiable-link" href="#index-Message-translations"> ¶</a></span></dt>
<dd><p>Message strings are translated into the selected language, when a translation
is available. Gtk has a good set of translations for the standard menus and
dialogs, but for Chart specifics there’s almost nothing yet.
</p>
</dd>
<dt><a class="index-entry-id" id="index-Commodity-name-translations"></a>
<a class="index-entry-id" id="index-Name-translations"></a>
<a class="index-entry-id" id="index-Weblink"></a>
<a id="index-Stock-name-translations"></a><span>Stock and commodity names<a class="copiable-link" href="#index-Stock-name-translations"> ¶</a></span></dt>
<dd><p>Names are downloaded in the selected or highest preference language, when
there’s a choice. Weblinks to company information or the exchange home page
likewise.
</p>
</dd>
<dt><a class="index-entry-id" id="index-UTF_002d8"></a>
<a id="index-Annotation-locale"></a><span>Annotations<a class="copiable-link" href="#index-Annotation-locale"> ¶</a></span></dt>
<dd><p>Annotation notes (see <a class="pxref" href="#Annotations">Annotations</a>) can be entered with unicode characters.
</p>
</dd>
</dl>
<ul class="mini-toc">
<li><a href="#Locale-Selection" accesskey="1">Locale Selection</a></li>
</ul>
<div class="section-level-extent" id="Locale-Selection">
<h3 class="section"><span>17.1 Locale Selection<a class="copiable-link" href="#Locale-Selection"> ¶</a></span></h3>
<a class="index-entry-id" id="index-Locale-selection"></a>
<a class="index-entry-id" id="index-Language"></a>
<a class="index-entry-id" id="index-LANG"></a>
<p>On a typical Unix/POSIX-style system the locale is selected with the
<code class="env">LANG</code> environment variable, set to a language code and optional territory
and charset. For example US English,
</p>
<div class="example">
<pre class="example-preformatted">LANG=en_US
export LANG
</pre></div>
<p>This is often set by the system administrator, but you can do it yourself in
your <samp class="file">~/.profile</samp> (see <a data-manual="bashref" href="http://www.gnu.org/software/bash/manual/html_node/Bash-Startup-Files.html">Bash Startup Files</a> in <cite class="cite">Bash Features</cite>).
</p>
<a class="index-entry-id" id="index-Language-codes"></a>
<a class="index-entry-id" id="index-Country-codes"></a>
<p>Language and country codes can be found in <a data-manual="gettext" href="https://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes">Language Codes</a> in <cite class="cite">GNU
<code class="command">gettext</code> utilities</cite>, and <a data-manual="gettext" href="https://www.gnu.org/software/gettext/manual/gettext.html#Country-Codes">Country Codes</a> in <cite class="cite">GNU
<code class="command">gettext</code> utilities</cite>. Usually there’s only a few combinations
available on a system, run ‘<samp class="samp">locale -a</samp>’ to see them.
</p>
<a class="index-entry-id" id="index-LANGUAGE"></a>
<p>Additionally, on a GNU system the <code class="env">LANGUAGE</code> environment variable gives a
list of language preferences for message translations (see <a data-manual="libc" href="https://www.gnu.org/software/libc/manual/html_mono/libc.html#Using-gettextized-software">User influence on <code class="code">gettext</code></a> in <cite class="ci...
Reference Manual</cite>). For example to have Italian preferred, otherwise Spanish,
otherwise English,
</p>
<div class="example">
<pre class="example-preformatted">LANGUAGE=it_IT:es:en
export LANGUAGE
</pre></div>
<p>Chart looks at <code class="env">LANGUAGE</code> too (on all systems) for the preferred language
for stock and commodity names.
</p>
<hr>
</div>
</div>
<div class="chapter-level-extent" id="Emacs">
<div class="nav-panel">
<p>
Next: <a href="#Concept-Index" accesskey="n" rel="next">Concept Index</a>, Previous: <a href="#Internationalization" accesskey="p" rel="prev">Internationalization</a>, Up: <a href="#Top" accesskey="u" rel="up">Chart</a> [<a href="#Concept-Inde...
</div>
<h2 class="chapter" id="Emacs-1"><span>18 Emacs<a class="copiable-link" href="#Emacs-1"> ¶</a></span></h2>
<a class="index-entry-id" id="index-Emacs"></a>
<p><a class="uref" href="http://www.gnu.org/software/emacs/">http://www.gnu.org/software/emacs/</a>
</p>
<a class="index-entry-id" id="index-chartprog_002eel"></a>
<a class="index-entry-id" id="index-XEmacs"></a>
<p><samp class="file">chartprog.el</samp> shows the Chart watchlist and gets quotes within Emacs
(see <a data-manual="emacs" href="https://www.gnu.org/software/emacs/manual/html_mono/emacs.html#Top">The Emacs Editor</a> in <cite class="cite">The Emacs Editor</cite>). It’s designed for Emacs 21 and
higher, and also works with XEmacs 21 if you have the UTF-8 coding system (see
below).
</p>
<a class="index-entry-id" id="index-Autoload-chartprog_002eel"></a>
<a class="index-entry-id" id="index-chartprog_002dloaddefs_002eel"></a>
<a class="index-entry-id" id="index-_002eemacs"></a>
<p>The Debian package has the following setups already. Otherwise, the best way
to use <samp class="file">chartprog.el</samp> is with autoloads for the commands.
<samp class="file">chartprog-loaddefs.el</samp> is a small file which sets this up. Add the
following to your <samp class="file">.emacs</samp> file (see <a data-manual="emacs" href="https://www.gnu.org/software/emacs/manual/html_mono/emacs.html#Init-File">The Init File
<samp class="file">~/.emacs</samp></a> in <cite class="cite">The Emacs Editor</cite>),
</p>
( run in 1.747 second using v1.01-cache-2.11-cpan-39bf76dae61 )