tags:

views:

45

answers:

1

so user will be able to edit/modify/view the content of the actual physical file. command like open, show, append, delete,swap,move,close,exit should be work on that command line.

A: 

I use Kedit for this type thing. Maybe one of the other editors can do this. I'm sure that emacs can. The following is a KEX stub from a Kedit script that asks for a search string and a second YN prompt asking for case sensitivity.

   'dialog $Enter search text$ editfield title $BoxFill$'
   if rc \= 0 | dialog.2 \= 'OK' then exit
   arg1 = dialog.1
   * Case Sensitive?
   'ALERT /Case Sensitive?/ YESNO DEFBUTTON 2'
    Case = alert.2

I use this for my kedit grep analog.

Dave