From: Madaras Erzsébet (madaras.k.e_at_gmail.com)
Date: Thu Nov 24 2016 - 10:07:13 CST

Hi,
I still get rlwrap: No match. Also: Linux liz-HP-Pavilion-15-Notebook-PC
4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64
x86_64 GNU/Linux
Cheers,
Liz

2016-11-24 16:37 GMT+01:00 John Stone <johns_at_ks.uiuc.edu>:

> Hi,
> What error do you get after removing the 'rlwrap' block from the startup
> script? What do you get when you run this command:
> uname -a
>
> Cheers,
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Thu, Nov 24, 2016 at 01:42:09PM +0100, Madaras Erzsébet wrote:
> > Dear John,
> > I tried your suggestions, but it still won't work. I do have rlwrap on my
> > system, I'm quite sure. Do you perhaps have any other suggestions? Or
> > should I try switching op systems?
> > Many thanks,
> > Liz
> >
> > 2016-11-23 23:16 GMT+01:00 John Stone <johns_at_ks.uiuc.edu>:
> >
> > > Hi,
> > > If your system lacks rlwrap, the easiest way of getting past this is
> > > to disable that part of the startup script. The 'rlwrap' program is
> used
> > > to give the standard VMD text interface an arrow-editable
> > > command history and other features that people often use in modern
> > > command shells, or with the TkCon plugin in VMD itself. That being
> said,
> > > it is optional and in cases where 'rlwrap' isn't working, you can
> simply
> > > disable it in the VMD startup script that is used to launch VMD, by
> > > commenting out the associated lines of code.
> > >
> > > Original VMD csh startup script:
> > > --------------------------------
> > > # detect if we have rlwrap available to have commandline editing
> > > set vmdprefixcmd=""
> > > if (("${ARCH}" == "LINUX") || ("${ARCH}" == "LINUXAMD64")) then
> > > set rlwrap=`which rlwrap`
> > > if ( -x "$rlwrap" ) then
> > > if ( -f ${MASTERVMDDIR}/vmd_completion.dat ) then
> > > set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f
> > > ${MASTERVMDDIR}/vmd_completion.dat "
> > > else
> > > set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
> > > endif
> > > endif
> > > endif
> > >
> > > Modifications that disable the use of 'rlwrap' (csh startup script):
> > > --------------------------------------------------------------------
> > > # detect if we have rlwrap available to have commandline editing
> > > set vmdprefixcmd=""
> > > #if (("${ARCH}" == "LINUX") || ("${ARCH}" == "LINUXAMD64")) then
> > > # set rlwrap=`which rlwrap`
> > > # if ( -x "$rlwrap" ) then
> > > # if ( -f ${MASTERVMDDIR}/vmd_completion.dat ) then
> > > # set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f
> > > ${MASTERVMDDIR}/vmd_completion.dat "
> > > # else
> > > # set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
> > > # endif
> > > # endif
> > > #endif
> > >
> > > Or you can just delete those lines, so that all you have left is this:
> > > # detect if we have rlwrap available to have commandline editing
> > > set vmdprefixcmd=""
> > >
> > >
> > > If you're using the bourne shell version of the VMD startup script
> > > (it is installed when /bin/csh or /bin/tcsh don't exist) then you would
> > > make the same general modifications, changing the code from the
> original:
> > > ------------------------------------------------------------
> --------------
> > > # detect if we have rlwrap available to have commandline editing
> > > case $MACHARCH in
> > > *Linux*)
> > > if hash rlwrap 2>/dev/null
> > > then
> > > if [ -f "${MASTERVMDDIR}/vmd_completion.dat" ]
> > > then
> > > vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f
> > > ${MASTERVMDDIR}/vmd_completion.dat "
> > > else
> > > vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
> > > fi
> > > else
> > > vmdprefixcmd=""
> > > fi
> > > ;;
> > >
> > > *)
> > > vmdprefixcmd=""
> > > ;;
> > > esac
> > >
> > > And either comment out all of those lines or delete them, and
> > > then add this line after the end of that block of code:
> > > # force empty prefixcmd if rlwrap isn't working!
> > > vmdprefixcmd=""
> > >
> > > Cheers,
> > > John Stone
> > > vmd_at_ks.uiuc.edu
> > >
> > > On Wed, Nov 23, 2016 at 11:00:00PM +0100, Madaras Erzsébet wrote:
> > > > Hi! I'm experiencing a problem with VMD on Linux Cinnamon Mint
> (Sarah).
> > > > When I try to run VMD, I get an error message saying "rlwrap: no
> match"
> --
> NIH Center for Macromolecular Modeling and Bioinformatics
> Beckman Institute for Advanced Science and Technology
> University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> http://www.ks.uiuc.edu/~johns/ Phone: 217-244-3349
> http://www.ks.uiuc.edu/Research/vmd/
>