On 12/22/2013 08:41 AM (US Eastern Time), Andreas Tille wrote:
Hi, On Sun, Dec 22, 2013 at 07:02:08AM -0500, Bhaskar, K.S wrote:
[KSB2] <...snip...>
[amul:2] Should we include a getting started section in the README?[KSB] As Amul says, the gtm script included in GT.M is what people should use out of the box. It sets up a default environment and invokes the mumps program. So, the first time you run it, you will see all the verbiage above where it creates the environment in $HOME/.fis-gtm, or, if you define the gtmdir environment variable, in $gtmdir/.fis-gtm. Once an environment is created, gtm is quiet, e.g.: kbhaskar@bhaskark:~$ /usr/lib/fis-gtm/V6.0-003_x86_64/gtmFor me this call is just "scary". A user should call something in /usr/bin and we should provide a wrapper for this. I injected http://anonscm.debian.org/gitweb/?p=debian-med/fis-gtm.git;a=blob_plain;f=debian/bin/mumps Please check and enhance if needed.
[KSB2] Could you make /usr/bin/gtm a symbolic link to the gtm script in the directory where GT.M is installed?
Setting gtm_chset to utf-8, which also requires LC_CTYPE or LC_ALL to be defined to a suitable utf8 locale, runs the mumps process in UTF-8 mode, e.g.: kbhaskar@bhaskark:~$ gtm_chset=utf-8 LC_ALL=en_US.utf8 /usr/lib/fis-gtm/V6.0-003_x86_64/gtmI guess this should also be part of the script I wrote. Is this correct?
[KSB2] I think that the decision to run in traditional M mode vs. UTF-8 mode should be made when the process is invoked. See a post I just made in response to Karsten Hilbert's post in this thread. If LC_ALL or LC_CTYPE is set to a utf8 locale, can the gtm script assume that the user wants to run in UTF-8 mode?
Regards -- Bhaskar
My Christmas vacation project is to draft a gtm man(1) page.Great. Kind regards Andreas.
-- GT.M - Rock solid. Lightning fast. Secure. No compromises. _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.