From: John Stone (johns_at_ks.uiuc.edu)
Date: Sun Nov 27 2016 - 14:13:36 CST

Hi,
  Sorry, but this isn't the script that needs to be edited. You need
to edit the master VMD startup script to disable the 'rlwrap' routines.
It is normally installed as '/usr/local/bin/vmd' on Unix/Linux systems
unless you installed in a custom/non-standard directory. Send me that
script and I'll edit it to disable the 'rlwrap' block we have previously
discussed.

Cheers,
  John Stone
  vmd_at_ks.uiuc.edu
  

On Fri, Nov 25, 2016 at 09:12:59AM +0100, Madaras Erzsébet wrote:
> Hi John,
> I've attached the startup script. Thank you very much for your help!
> My best,
> Liz
> 2016-11-24 19:13 GMT+01:00 John Stone <[1]johns_at_ks.uiuc.edu>:
>
> Hi,
> A If you remove the rlwrap code block properly, you should not be
> getting the "rlwrap: No match." error.A Email me a copy of the startup
> script you're using and I will fix it for you.
>
> Cheers,
> A John Stone
> A [2]vmd_at_ks.uiuc.edu
>
> On Thu, Nov 24, 2016 at 05:07:13PM +0100, Madaras ErzsA(c)bet wrote:
> >A A Hi,
> >A A I stillAA get rlwrap: No match. Also: Linux
> liz-HP-Pavilion-15-Notebook-PC
> >A A 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016
> x86_64 x86_64
> >A A x86_64 GNU/Linux
> >A A Cheers,
> >A A Liz
> >A A 2016-11-24 16:37 GMT+01:00 John Stone <[1][3]johns_at_ks.uiuc.edu>:
> >
> >A A A Hi,
> >A A A AA What error do you get after removing the 'rlwrap' block
> from the
> >A A A startup
> >A A A script?AA What do you get when you run this command:
> >A A A AA uname -a
> >
> >A A A Cheers,
> >A A A AA John Stone
> >A A A AA [2][4]vmd_at_ks.uiuc.edu
> >A A A On Thu, Nov 24, 2016 at 01:42:09PM +0100, Madaras ErzsA(c)bet
> wrote:
> >A A A > Dear John,
> >A A A > I tried your suggestions, but it still won't work. I do have
> rlwrap on
> >A A A my
> >A A A > system, I'm quite sure. Do you perhaps have any other
> suggestions? Or
> >A A A > should I try switching op systems?
> >A A A > Many thanks,
> >A A A > Liz
> >A A A >
> >A A A > 2016-11-23 23:16 GMT+01:00 John Stone
> <[3][5]johns_at_ks.uiuc.edu>:
> >A A A >
> >A A A > > Hi,
> >A A A > >AA A If your system lacks rlwrap, the easiest way of
> getting past
> >A A A this is
> >A A A > > to disable that part of the startup script.AA The
> 'rlwrap' program
> >A A A is used
> >A A A > > to give the standard VMD text interface an arrow-editable
> >A A A > > command history and other features that people often use
> in modern
> >A A A > > command shells, or with the TkCon plugin in VMD itself.AA
> That being
> >A A A said,
> >A A A > > it is optional and in cases where 'rlwrap' isn't working,
> you can
> >A A A simply
> >A A A > > disable it in the VMD startup script that is used to
> launch VMD, by
> >A A A > > commenting out the associated lines of code.
> >A A A > >
> >A A A > > Original VMD csh startup script:
> >A A A > > --------------------------------
> >A A A > > # detect if we have rlwrap available to have commandline
> editing
> >A A A > > set vmdprefixcmd=""
> >A A A > > if (("${ARCH}" == "LINUX") || ("${ARCH}" == "LINUXAMD64"))
> then
> >A A A > >AA A set rlwrap=`which rlwrap`
> >A A A > >AA A if ( -x "$rlwrap" ) then
> >A A A > >AA AA A if ( -f ${MASTERVMDDIR}/vmd_completion.dat ) then
> >A A A > >AA AA AA A set vmdprefixcmd="rlwrap -C vmd -c
> -b(){}[],&^%#;|\\ -f
> >A A A > > ${MASTERVMDDIR}/vmd_completion.dat "
> >A A A > >AA AA A else
> >A A A > >AA AA AA A set vmdprefixcmd="rlwrap -C vmd -c
> -b(){}[],&^%#;|\\ "
> >A A A > >AA AA A endif
> >A A A > >AA A endif
> >A A A > > endif
> >A A A > >
> >A A A > > Modifications that disable the use of 'rlwrap' (csh
> startup script):
> >A A A > >
> --------------------------------------------------------------------
> >A A A > > # detect if we have rlwrap available to have commandline
> editing
> >A A A > > set vmdprefixcmd=""
> >A A A > > #if (("${ARCH}" == "LINUX") || ("${ARCH}" ==
> "LINUXAMD64")) then
> >A A A > > #AA set rlwrap=`which rlwrap`
> >A A A > > #AA if ( -x "$rlwrap" ) then
> >A A A > > #AA AA if ( -f ${MASTERVMDDIR}/vmd_completion.dat ) then
> >A A A > > #AA AA AA set vmdprefixcmd="rlwrap -C vmd -c
> -b(){}[],&^%#;|\\ -f
> >A A A > > ${MASTERVMDDIR}/vmd_completion.dat "
> >A A A > > #AA AA else
> >A A A > > #AA AA AA set vmdprefixcmd="rlwrap -C vmd -c
> -b(){}[],&^%#;|\\ "
> >A A A > > #AA AA endif
> >A A A > > #AA endif
> >A A A > > #endif
> >A A A > >
> >A A A > > Or you can just delete those lines, so that all you have
> left is
> >A A A this:
> >A A A > > # detect if we have rlwrap available to have commandline
> editing
> >A A A > > set vmdprefixcmd=""
> >A A A > >
> >A A A > >
> >A A A > > If you're using the bourne shell version of the VMD
> startup script
> >A A A > > (it is installed when /bin/csh or /bin/tcsh don't exist)
> then you
> >A A A would
> >A A A > > make the same general modifications, changing the code
> from the
> >A A A original:
> >A A A > >
> >A A A
> --------------------------------------------------------------------------
> >A A A > > # detect if we have rlwrap available to have commandline
> editing
> >A A A > > case $MACHARCH in
> >A A A > >AA A *Linux*)
> >A A A > >AA AA A if hash rlwrap 2>/dev/null
> >A A A > >AA AA A then
> >A A A > >AA AA AA A if [ -f "${MASTERVMDDIR}/vmd_completion.dat"
> ]
> >A A A > >AA AA AA A then
> >A A A > >AA AA AA AA A vmdprefixcmd="rlwrap -C vmd -c
> -b(){}[],&^%#;|\\ -f
> >A A A > > ${MASTERVMDDIR}/vmd_completion.dat "
> >A A A > >AA AA AA A else
> >A A A > >AA AA AA AA A vmdprefixcmd="rlwrap -C vmd -c
> -b(){}[],&^%#;|\\ "
> >A A A > >AA AA AA A fi
> >A A A > >AA AA A else
> >A A A > >AA AA AA A vmdprefixcmd=""
> >A A A > >AA AA A fi
> >A A A > >AA AA A ;;
> >A A A > >
> >A A A > >AA AA *)
> >A A A > >AA AA A vmdprefixcmd=""
> >A A A > >AA AA A ;;
> >A A A > > esac
> >A A A > >
> >A A A > > And either comment out all of those lines or delete them,
> and
> >A A A > > then add this line after the end of that block of code:
> >A A A > > # force empty prefixcmd if rlwrap isn't working!
> >A A A > > vmdprefixcmd=""
> >A A A > >
> >A A A > > Cheers,
> >A A A > >AA A John Stone
> >A A A > >AA A [4][6]vmd_at_ks.uiuc.edu
> >A A A > >
> >A A A > > On Wed, Nov 23, 2016 at 11:00:00PM +0100, Madaras
> ErzsA(c)bet wrote:
> >A A A > > > Hi! I'm experiencing a problem with VMD on Linux
> Cinnamon Mint
> >A A A (Sarah).
> >A A A > > > When I try to run VMD, I get an error message saying
> "rlwrap: no
> >A A A match"
> >A A A --
> >A A A NIH Center for Macromolecular Modeling and Bioinformatics
> >A A A Beckman Institute for Advanced Science and Technology
> >A A A University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
> >A A A [5][7]http://www.ks.uiuc.edu/~johns/AA AA AA AA AA A
> Phone: [6]217-244-3349
> >A A A [7][8]http://www.ks.uiuc.edu/Research/vmd/
> >
> > References
> >
> >A A Visible links
> >A A 1. mailto:[9]johns_at_ks.uiuc.edu
> >A A 2. mailto:[10]vmd_at_ks.uiuc.edu
> >A A 3. mailto:[11]johns_at_ks.uiuc.edu
> >A A 4. mailto:[12]vmd_at_ks.uiuc.edu
> >A A 5. [13]http://www.ks.uiuc.edu/~johns/
> >A A 6. tel:[14]217-244-3349
> >A A 7. [15]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
> [16]http://www.ks.uiuc.edu/~johns/A A A A A A Phone:
> [17]217-244-3349
> [18]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. mailto:johns_at_ks.uiuc.edu
> 6. mailto:vmd_at_ks.uiuc.edu
> 7. http://www.ks.uiuc.edu/~johns/A
> 8. http://www.ks.uiuc.edu/Research/vmd/
> 9. mailto:johns_at_ks.uiuc.edu
> 10. mailto:vmd_at_ks.uiuc.edu
> 11. mailto:johns_at_ks.uiuc.edu
> 12. mailto:vmd_at_ks.uiuc.edu
> 13. http://www.ks.uiuc.edu/~johns/
> 14. tel:217-244-3349
> 15. http://www.ks.uiuc.edu/Research/vmd/
> 16. http://www.ks.uiuc.edu/~johns/
> 17. tel:217-244-3349
> 18. 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/