From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Nov 24 2016 - 12:13:20 CST

Hi,
  If you remove the rlwrap code block properly, you should not be
getting the "rlwrap: No match." error. Email me a copy of the startup
script you're using and I will fix it for you.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu

On Thu, Nov 24, 2016 at 05:07:13PM +0100, Madaras Erzsébet wrote:
> Hi,
> I stillA 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 <[1]johns_at_ks.uiuc.edu>:
>
> Hi,
> A What error do you get after removing the 'rlwrap' block from the
> startup
> script?A What do you get when you run this command:
> A uname -a
>
> Cheers,
> A John Stone
> A [2]vmd_at_ks.uiuc.edu
> On Thu, Nov 24, 2016 at 01:42:09PM +0100, Madaras ErzsA(c)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 <[3]johns_at_ks.uiuc.edu>:
> >
> > > Hi,
> > >A A If your system lacks rlwrap, the easiest way of getting past
> this is
> > > to disable that part of the startup script.A 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.A 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
> > >A A set rlwrap=`which rlwrap`
> > >A A if ( -x "$rlwrap" ) then
> > >A A A if ( -f ${MASTERVMDDIR}/vmd_completion.dat ) then
> > >A A A A set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f
> > > ${MASTERVMDDIR}/vmd_completion.dat "
> > >A A A else
> > >A A A A set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
> > >A A A endif
> > >A A 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
> > > #A set rlwrap=`which rlwrap`
> > > #A if ( -x "$rlwrap" ) then
> > > #A A if ( -f ${MASTERVMDDIR}/vmd_completion.dat ) then
> > > #A A A set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f
> > > ${MASTERVMDDIR}/vmd_completion.dat "
> > > #A A else
> > > #A A A set vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
> > > #A A endif
> > > #A 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
> > >A A *Linux*)
> > >A A A if hash rlwrap 2>/dev/null
> > >A A A then
> > >A A A A if [ -f "${MASTERVMDDIR}/vmd_completion.dat" ]
> > >A A A A then
> > >A A A A A vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ -f
> > > ${MASTERVMDDIR}/vmd_completion.dat "
> > >A A A A else
> > >A A A A A vmdprefixcmd="rlwrap -C vmd -c -b(){}[],&^%#;|\\ "
> > >A A A A fi
> > >A A A else
> > >A A A A vmdprefixcmd=""
> > >A A A fi
> > >A A A ;;
> > >
> > >A A *)
> > >A A A vmdprefixcmd=""
> > >A A A ;;
> > > 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,
> > >A A John Stone
> > >A A [4]vmd_at_ks.uiuc.edu
> > >
> > > On Wed, Nov 23, 2016 at 11:00:00PM +0100, Madaras ErzsA(c)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
> [5]http://www.ks.uiuc.edu/~johns/A A A A A A Phone: [6]217-244-3349
> [7]http://www.ks.uiuc.edu/Research/vmd/
>
> References
>
> Visible links
> 1. mailto:johns_at_ks.uiuc.edu
> 2. mailto:vmd_at_ks.uiuc.edu
> 3. mailto:johns_at_ks.uiuc.edu
> 4. mailto:vmd_at_ks.uiuc.edu
> 5. http://www.ks.uiuc.edu/~johns/
> 6. tel:217-244-3349
> 7. http://www.ks.uiuc.edu/Research/vmd/

-- 
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/