Thanks Josh for the quick reply. As I said , I can edit using lrcfg-menu but it is annoying as you may want to change the file again and you certainly do not want to reboot the router.
----- Original Message ----- From: "Dalziel, Josh" <[EMAIL PROTECTED]> To: "'M Lu'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, May 07, 2004 4:18 PM Subject: RE: [leaf-user] vi problem > I would copy the file and then do you editing and then copy it over the one that you cant edit. > > Josh > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of M Lu > Sent: Friday, May 07, 2004 1:11 PM > To: [EMAIL PROTECTED] > Subject: [leaf-user] vi problem > > > Hi, > > I am in the middle of 'vi'-ing a file, and got disconneted from router. Then > I logled back in and I cannot do a vi anymore, I got the error > > /etc/shorewall> vi tunnels > "tunnels" is busy [More...] > > and Enter will get to: > > "[NO FILE]" 1 line, 1 char > > I did a ps and then killed the vi process but it does not solve the problem. > > However if I go to lrcfg and go thru the menu to edit that file in shorewall > package, then it is OK, and I set export EDITOR=e3vi to use vi in lrcfg > menu. > > What wrong did I do? And I am using vi from the elvis.lrp package. > > Thank you. > > M Lu. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Sleepycat Software > Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to > deliver higher performing products faster, at low TCO. > http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 > ------------------------------------------------------------------------ > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html > ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
