<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Joshua,<div class=""><br class=""></div><div class=""> We are ahead of you. In Chimera 2 which is not yet released we have put in support for command completion, command keyword completion, it should be able to give you the whole syntax of the command in the status line. It doesn’t do this yet but it is supposed to have those capabilities. We haven’t discussed improved command history search but I agree that would be handy, to for instance bring back your last command starting with “surf”.</div><div class=""><br class=""></div><div class=""> Could these features be put in Chimera 1? I don’t think we will do it because we are putting all effort on Chimera 2 and plan a first release with very minimal capabilities this Fall. We’d be happy to help you add these things to Chimera 1. The command-line user interface is in</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>chimera/share/Midas/midas_ui.py</div><div class=""><br class=""></div><div class="">and uses the Tk window toolkit. This would be the place where you would bind the tab key or other special keys that for instance do history search. We don’t have detailed Chimera 1 programming API documentation, just a few tutorials </div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/index.html" class="">http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/index.html</a></div><div class=""><br class=""></div><div class="">and nothing that describes command-line code.</div><div class=""><br class=""></div><div class=""> A basic problem is that Chimera 1 only knows the command names. There is no table of keyword arguments that a command takes so you couldn’t provide any detailed help on tab completion. It doesn’t seem very useful to complete just the command name.</div><div class=""><br class=""></div><div class=""> To get programming help use the chimera-dev mailing list. The Chimera developers here, Eric, Conrad, Greg and I will answer any technical questions through that list.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 15, 2015, at 10:40 AM, Broyde, Joshua E. wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; direction: ltr; font-family: Tahoma; font-size: 10pt;" class="">Dear Tom,<div class="">I hope you are well. I have a general question/issue regarding the Chimera user interface that I wanted to discuss with you.</div><div class="">The Chimera GUI user interface is extremely intuitive and well done, but I was wondering if it would be possible to beef up the command-line user interface? For example, it would be nice if there was tab completion within the command-line interface For example, if a user typed "mat" and then a tab, the command line could show "match", "matchmaker", <span style="font-size: 13.3333330154419px;" class="">"matrixcopy" ,"</span><span style="font-size: 13.3333330154419px;" class="">"matrixget</span><span style="font-size: 13.3333330154419px;" class="">", and "</span><span style="font-size: 13.3333330154419px;" class="">matrixset". Other features could include a more robust history search, for example.</span></div><div class=""><span style="font-size: 13.3333330154419px;" class=""><br class=""></span></div><div class=""><span style="font-size: 13.3333330154419px;" class="">These kind of things are implemented in other command-line interfaces for other resources, such as Bash, iPython, and Rstudio.</span></div><div class=""><br class=""></div><div class="">This is something that I was thinking of doing myself to make my work more efficient, except that I don't know where to begin from a programatic perspective. Are there any files/directories or things I should know about how the command-line works internally in Chimera that would help for implementing this? Is there a point person at RBVI I could contact to ask questions regarding this? I need to generally know more about the internal guts of the CLI of Chimera before beginning.</div><div class=""><br class=""></div><div class="">Of course, if I produce something useful, I will share it with you so you can share it with the general Chimera community.</div><div class=""><br class=""></div><div class="">Sincerely,</div><div class="">Joshua Broyde</div></div></div></blockquote></div><br class=""></div></body></html>