<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2838" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi folks, I'm a 23 years old boy living in northern 
italy and I've been using Linux since October 2005. First Redhat, then 
Debian.</FONT></DIV>
<DIV><FONT face=Arial size=2>My problems are quite a lot, but the most urgent is 
the following.</FONT></DIV>
<DIV><FONT face=Arial size=2>I have to create a procedure which makes easier the 
restore process to users who do not have acknowledgement of the shell 
commands.</FONT></DIV>
<DIV><FONT face=Arial size=2>The script calls the program amrecove,r which is 
part of the Amanda suite, a famous backup and restore system.</FONT></DIV>
<DIV><FONT face=Arial size=2>Once executed, Amanda sets the disk and the date 
interesting for the user and then...</FONT></DIV>
<DIV><FONT face=Arial size=2>here comes my difficulty.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I create, by writing  a Bash 
script with vi, a menu that shows the content of a directory by executing the 
lscommand, allowing besides to select one or more files by pressing space to 
mark or unmark the item(s)?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I tried to use both dialog and whiptail with the 
--menu and--checklist options, but nothing to do!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I need a big and fast help, please don't consider a 
problem quoting directly the code in a message, so that I can immediately insert 
it in my script!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Naturally, the procedure will work in text 
mode.</FONT></DIV>
<DIV><FONT face=Arial size=2>So, X is not required!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many thanks to all of you, write you 
soon</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>