lneo - interactive neo wrapper

lneo has two main feature levels:

Feature Summary

 

USAGE Essentials

Start options

USAGE: 
   lneo [--help | check | xterm * | loop *] 

   loop [*]     # enter neo execution loop with various options after
                # termination of neo.  Rest of the line is passed to neo
   xterm|"" [*] # launches xterm with large scroll buffer and 
                  run the loop there. New default.
   pipe         # start xterm and run "neo -i :netscape" for
                  connecting neo with the netscape-nstpluging
                  (tutorial examples)
   check        # check ~/.??* configuration upon neo prerequisites
                  test the prerequisites for neo to run and 
		  may give copy-pastable recipes to fix.
   -help        # display help text



Loop options

After each termination of NEO, the loop menue offers the following options:

TL
trace loading (direct neo options)
pipe
netscape pipe listening ("-i :netscape", also start option)
r
y
.
0
recover from last session (0-level) 'r'='y'='.'='0'
1..R
recover from specified older session (*-level 1..R=$RECLEV)
s
same start arguments as previous definition
n <neo arguments>
new start arguments
v[0..R]
view the text section in a copy-pastable form. E.g. "v3" view unquoted text sections from recovery file of level 3. Those section are e.g. text input fields as typed and displayed. The "V" option variant displays the raw, quoted version
c[0..R] | C[0..R]
Count units, print statistic of saved file content (helps to find major additions or losses of circuit junks). E.g. "c1" or "C0"
d[0..R][0..R] | D[0..R][0..R] | DD[0..R][0..R]
"diff" two recover file versions. Variants are text only, all, and unblanked all, for more info consult help text of "nst2txt --help". E.g. "d01", "D02"
ls
list last NST files = 'ls -lt'
cd <dir>
Change Directory
f <pattern>
find all files with file name pattern. (" f ds*NST" = find . -name 'ds*NST')
x
eXit the lneo-loop. ("Ctrl-C" works also on menue inputs, since NEO does not absorb the SIGINT)
p
Pause. Resume from bash with "Ctrl-D"
h
Help text
RM
Remove all old NEORECOVER files
 

FILES

Adapt you PATH to find $NEOHOME/bin/lneo or /vol/nst/bin/lneo

Customize lneo with sourced file: ./.lneorc or ~/.lneorc (optional)

# -*- Mode: Shell-script -*-
#
#  Example of  ./lneorc  or   ~/.lneorc
#  BELONGS TO   lneo  SCRIPT
#  JW2000 $Id$
#

	# the neo root directory
NEOHOME="$HOME/nst5"

        # levels of backup recoverfiles [1..9]
RECLEV=5

	# extra stuff added to NST_LD_LIBRARY_PATH
#NST_LD_MORE=":$HOME/lib" 


	# your SQL credentials (protect with 'chmod 600 .lneorc')
	# don't forget to make this file unreadable: chmod 600 .lneorc
#MYSQL_HOST=janus
#MYSQL_USER=guest
#MYSQL_PWD=guest

	# xterm appearance
#NEOXTERMOPT="-bg #dbd3b6 -fn small -geometry 150x26+75"

        # my NEO working directory
cd $HOME/nst5

"lneo check" evaluates the files ~/.neo, ~/.neofolders, ~/.nstplugin ~/.mailcap ~/.mime.types ~/.emacs:


$Id$ Jörg Walter