[gmx-users] future of shell completions in GROMACS

Szilárd Páll pall.szilard at gmail.com
Wed Jan 22 18:32:25 CET 2014


On Wed, Jan 22, 2014 at 5:50 PM,  <jkrieger at mrc-lmb.cam.ac.uk> wrote:
> I +1 shell completions too. It would be ok for me too if they were only in
> bash. I think my default shell on the cluster may be tcsh but I can change
> it to bash if necessary.
>
> I'd be happy to try helping to implement it but I don't have much
> experience in C or C++ (I mainly use Python).

You need no C/C++ knowledge to help with this,  it's all bash!
See:
http://redmine.gromacs.org/projects/gromacs/repository/revisions/master/entry/scripts/completion.bash
http://redmine.gromacs.org/projects/gromacs/repository/revisions/master/entry/scripts/completion.csh
http://redmine.gromacs.org/projects/gromacs/repository/revisions/master/entry/scripts/completion.zsh


>
>> On Tue, Jan 21, 2014 at 10:23 AM, Djurre de Jong-Bruinink
>> <djurredejong at yahoo.com> wrote:
>>>
>>>>Do you use this feature?
>>>>Do you use this feature with a shell other than bash?
>>>
>>> Yes, I use this feature and missing it would be a great loss to my
>>> workflow. However, I only use it in bash. Is the auto-completion planned
>>> to work for files only, or also for the tools (e.g.: gmx gro<tab>
>>> auto-completes to gmx grompp). I noticed this doesn't work in the
>>> beta-version either.
>>
>> I guess that doesn't work because the auto-completion has not been
>> adapted from 4.6 to 5.0. IMO we should fix this, but it'd be great to
>> get a few more +1-s and helping hands, otherwise there is a risk of it
>> getting deprecated which would be a big loss.
>>
>>>
>>>
>>> On a slightly related issue: the enviroment variable "GMX_NO_CREDITS"
>>> doesn't work anymore in gmx5b. That made my work in the terminal a lot
>>> easier too (Not that I think you guys don't deserve the credits!). Is
>>> that planned to be reimplemented? I also find the template/layout of the
>>> "credits-section" less structured and appealing than in the old version.
>>
>> Do you mean less structured and less appealing? Could you please file
>> a redmine issue about GMX_NO_CREDITS and whatever else you;d like to
>> mention?
>>
>>>
>>> Best regards/groetnis,
>>> Djurre
>>>
>>>
>>> ****************************************
>>> Djurre H. de Jong, PhD
>>> Westfälische Wilhelms-Universität Münster
>>> Institut für Physikalische Chemie
>>> Corrensstr. 28/30
>>> D-48149 Münster
>>> *****************************************
>>> --
>>> Gromacs Users mailing list
>>>
>>> * Please search the archive at
>>> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
>>> posting!
>>>
>>> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>>>
>>> * For (un)subscribe requests visit
>>> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
>>> send a mail to gmx-users-request at gromacs.org.
>> --
>> Gromacs Users mailing list
>>
>> * Please search the archive at
>> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
>> posting!
>>
>> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>>
>> * For (un)subscribe requests visit
>> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send
>> a mail to gmx-users-request at gromacs.org.
>>
>
>
>
> --
> Gromacs Users mailing list
>
> * Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or send a mail to gmx-users-request at gromacs.org.
>


More information about the gromacs.org_gmx-users mailing list