USER command newbie REVISED
Walter Vaughan
wvaughan at steelerubber.com
Wed Jun 8 08:45:51 PDT 2005
<reposted to correct typing error. I manually typed in second line incorrectly>
For testing purposes I have in a sample file's input processing table @key
processing like the following:
@keyT::user phone = /usr/local/bin/ssh ff at facetphone
/usr/facetphone_utapi/bin/fp_cid -n -s -u person:
::ph = phone:
::msgbox ph:
::end:
What seems odd to me is
1) why cannot the user command be called from a variable?
2) why does "ph" only contain data for the first time it is encountered on a
processing table? Moving record to record, ph is blank every time the user
command is run. I could see that if I stayed on the same record, but moving from
record to record?
3) If I add in a "close phone" before the end statement the *SECOND* time the
user command is encountered I see the following:
<screen shot from SCO (FreeBSD looks similar)>
Multiple -v increases verbosity.
-V Display version number only.
-P Don't allocate a privileged port.
-q
These cause ss ┌──────────────────┐
forward them t └── Press Enter ┘
-6 Use IPv6 only.─ ─
-o 'option' Process the option as if it was read from a configuration file.
-s Invoke command (mandatory) as SSH2 subsystem.
-b addr Local IP address.
</screen shot>
... which appears to me as if it trys to rerun the user comand without any arguments
SSH is configured properly... the command runs just fine from the command line
multiple times.
Is/Was there a USER command tutorial in one of the FPDJ's that I failed to
remember reading about?
Should I give up and run this as a system command?
This should work as a USER command and be so elegant.
--
Walter
More information about the Filepro-list
mailing list