From: "R. Kumar" Date: 2013-02-20T23:48:49+09:00 Subject: Re: variable editing in ruby (like zsh vared) Robert Klemme wrote in post #1097965: > > Off the top of my head "readline" might help. See "ri Readline". > > Kind regards > > robert Actually, i meant readline (not highline). Yes, readline allows tab completion which is part of the requirement, but I don't think it can directly edit without going into history with UP-arrow. The syntax is: buf = Readline.readline("> ", true) so i cannot give buf to the method. http://www.ruby-doc.org/stdlib-1.9.3/libdoc/readline/rdoc/Readline.html -- Posted via http://www.ruby-forum.com/.