The UV.VI verb on our UNIX UniVerse is a cataloged BP program shipped with 
UniVerse:

     UV.VI 
0001 V 
0002 BP.O/UV.VI.B 
0003 B 
0004 UBN 
0005 
0006 
0007 
0008 
0009 BP.O 

The program UV.VI.B allows you to edit multivalued files using VI.  It 
creates a temp BFILE and executes VI to edit it.  It has an error at line 
130 where "dirtype = file.info<20>" should be changed to "dirtype = 
file.info<21>" to enable handling of Type 19 files. 

Our VOC VI entry is 

     VI 
0001 V 
0002 /usr/bin/vi 
0003 U 
0004 TIVR 
0005 vi 

Hope that helps,
Don



"Gabriel Green" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
03/31/2007 08:07 PM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: [U2] VI on Windows UniVerse






Can you help me with this?  I must say, I am not a developer--merely a
curious IT manager at the customer's company....  Our vendor supports me
fully in my learning endeavors, so long as I am careful with the 
production
system.

What does the UV.VI verb look like on UNIX UniVerse?

Could you provide me with some sample BASIC code to do this if it's not 
too
difficult?  This assumes that vim, the console version (which appears to 
be
the best option) is in the Windows PATH.

By the way, I am reading through JES' "Pick/BASIC, a Programmer's Guide" 
--
this is an excellent text.  Does anyone have other recommendation for a
beginner to look at?

We're using PICK-flavored UV 10.2 on Windows 2003 Server x64 edition.
Moving from MVBASE 1.3 was one of the best decisions my company has ever
made... the speed and stability improved immeasurably. :)

Thanks again,
Gabe

On 3/30/07, Ray Wurlod <[EMAIL PROTECTED]> wrote:
>
> Create the same UV.VI verb that UniVerse on UNIX has.  It could be a
> paragraph or PROC, but a BASIC program (verb) is likely to be more
> robust.  This sets a READU lock on the record and copies it to /tmp 
using a
> generated and guaranteed unique name.  It then invokes vi on the file in
> /tmp and waits till vi exits before comparing the old and new versions. 
If
> there is a change, the original record is updated/deleted.  In all cases 
the
> READU lock is released before returning control.
>
> > ----- Original Message -----
> > From: "Gabriel Green" <[EMAIL PROTECTED]>
> > To: [email protected]
> > Subject: [U2] VI on Windows UniVerse
> > Date: Fri, 30 Mar 2007 11:46:23 -0800
> >
> >
> > I don't know whether to even attempt this, but--
> >
> > it is my understanding that on UNIX versions of UniVerse, vi is
> available
> > and invokes the unix vi allowing you to use it in the same manner you
> can
> > use ED on UniVerse records.
> >
> > Has anyone successfully gotten a Windows version of vi to run within 
the
> UV
> > environment (cygwin vi, vim, etc)?  Does this work with ADDSVP 
terminal
> > emulation?  How would I accomplish this?
> >
> > Thanks,
> > Gabe
> > -------
> > u2-users mailing list
> > [email protected]
> > To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/




**********

The information contained in this communication is confidential, private, 
proprietary, or otherwise privileged and is intended only for the use of the 
addressee.  Unauthorized use, disclosure, distribution or copying is strictly 
prohibited and may be unlawful.  If you have received this communication in 
error, please notify the sender immediately at (312)653-6000 in Illinois; 
(800)835-8699 in New Mexico; (918)560-3500 in Oklahoma; or (972)766-6900 in 
Texas.

**********
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to