1 Apr 2007 03:07
Re: [U2] VI on Windows UniVerse
Gabriel Green <gabegreen <at> gmail.com>
2007-04-01 01:07:56 GMT
2007-04-01 01:07:56 GMT
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 <rayw <at> mindless.com> 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(Continue reading)
RSS Feed