dbTalk Databases Forums  

Anyone have a copy of the WINED interface?

comp.databases.pick comp.databases.pick


Discuss Anyone have a copy of the WINED interface? in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Anyone have a copy of the WINED interface? - 05-03-2006 , 06:46 PM






I've been looking through some old postings and saw Steven
Davies-Morris' posts about the WINED interface for editing Pick
database files using Notepad or Wordpad via Wintegrate.

Can someone please forward me a copy of the utility if they have it?

Thanks.

Vince
vlee (AT) sdccd (DOT) net


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-05-2006 , 01:03 PM






Dont know about notepad/wordpad - but wintegrate comes with the winteg
editor (wintedit.exe) - all you need are the wintegrate host routines
compiled and it will connect through your wintegrate session - great
for program editing/compiling etc...


rgds
Symeon Breen
www.a2c-ltd.com
www.sjb-solutions.net


Reply With Quote
  #3  
Old   
Mark Brown
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-05-2006 , 09:37 PM



Depending on which platform you're working from, you can usually write your
item into Windows folder and then shell out to the notepad.exe. In D3
something like:

open 'bp' to bpfv then
read r from bpfv,'test' then
open "dos:/drive:/folderpath" then
write r on "d3pgm.txt"
execute "!notepad.exe drive:\folderpath\d3pgm.txt"
read r from 'd3pgm.txt' then write r on bpfv,'test'
end
end
end

On D3, notice different slashes in path between a "pick" path and a "dos"
path. For others, such as jBase and OpenQM, there's no such difference.

Mark Brown

<symeonb (AT) gmail (DOT) com> wrote

Quote:
Dont know about notepad/wordpad - but wintegrate comes with the winteg
editor (wintedit.exe) - all you need are the wintegrate host routines
compiled and it will connect through your wintegrate session - great
for program editing/compiling etc...


rgds
Symeon Breen
www.a2c-ltd.com
www.sjb-solutions.net




Reply With Quote
  #4  
Old   
sdavmor
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-06-2006 , 01:17 AM



vlee (AT) sdccd (DOT) net wrote:
Quote:
I've been looking through some old postings and saw Steven
Davies-Morris' posts about the WINED interface for editing Pick
database files using Notepad or Wordpad via Wintegrate.

Can someone please forward me a copy of the utility if they have it?

Thanks.

Vince
vlee (AT) sdccd (DOT) net
I probably still have that around here somewhere. I'll look for it
on Saturday.
--
Cheers,
SDM -- a 21st century schizoid man
Systems Theory internet music project links:
soundclick <www.soundclick.com/systemstheory>
garageband <http://www.garageband.com/artist/systemstheory>
"Soundtracks For Imaginary Movies" CD released Dec 2004
"Codetalkers" CD coming very soon in 2006
NP: nothing


Reply With Quote
  #5  
Old   
Jeffrey Kaufman
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-12-2006 , 10:22 AM



Mark and anyone else,

How would this code look if you were running on D3/Linux?

Thanks,
Jeff

"Mark Brown" <mbrown (AT) drexelmgt (DOT) com> wrote

Quote:
Depending on which platform you're working from, you can usually write
your
item into Windows folder and then shell out to the notepad.exe. In D3
something like:

open 'bp' to bpfv then
read r from bpfv,'test' then
open "dos:/drive:/folderpath" then
write r on "d3pgm.txt"
execute "!notepad.exe drive:\folderpath\d3pgm.txt"
read r from 'd3pgm.txt' then write r on bpfv,'test'
end
end
end

On D3, notice different slashes in path between a "pick" path and a "dos"
path. For others, such as jBase and OpenQM, there's no such difference.

Mark Brown

symeonb (AT) gmail (DOT) com> wrote in message
news:1146852211.905623.244550 (AT) i39g2000cwa (DOT) googlegroups.com...
Dont know about notepad/wordpad - but wintegrate comes with the winteg
editor (wintedit.exe) - all you need are the wintegrate host routines
compiled and it will connect through your wintegrate session - great
for program editing/compiling etc...


rgds
Symeon Breen
www.a2c-ltd.com
www.sjb-solutions.net






Reply With Quote
  #6  
Old   
Jeffrey Kaufman
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-12-2006 , 11:47 AM



Reply to self,

Using Accuterm features, this is what I came up with:

(number, record and attr passed from calling program, path also grabbed
using an Accuterm feature)

REMARKS=RECORD<ATTR>
FNAME="note":NUMBER:".txt"
PATH="C:\Documents and Settings\Jeffrey Kaufman\My Documents"
J=DCOUNT(REMARKS<1>,CHAR(253))
REC=""
FOR I=1 TO J
REC<-1>=REMARKS<1,I>
NEXT I
WRITE REC ON SUSPENSE,FNAME
ECHO OFF
CALL DOSSVC('NOTEPAD ':PATH:"\":FNAME, PATH, FNAME, REC, PATH, FNAME,
NEW.REC)
ECHO ON
DELETE SUSPENSE,FNAME
IF NEW.REC=REC THEN RETURN
J=DCOUNT(NEW.REC,CHAR(254))
REMARKS=""
FOR I=1 TO J
IF NEW.REC<I>="" AND NEW.REC<I+1>#"" THEN NEW.REC<I>=" "
IF NEW.REC<I>#"" THEN REMARKS<1,-1>=NEW.REC<I>
NEXT I
RECORD<ATTR>=REMARKS
RETURN

Here is the code for grabbing the path:

EQU ESC TO CHAR(27), STX TO CHAR(2), CR TO CHAR(13)
PRINT ESC : STX : 'P InitSession.Output Environ("USERPROFILE") &
chr$(13)' : CR :
ECHO OFF
PROMPT ''
INPUT PATH:
ECHO ON

I'm still interested in finding a non-Accuterm solution that will work on
D3/Linux.
Jeff

"Jeffrey Kaufman" <jkaufman (AT) keydata (DOT) us> wrote

Quote:
Mark and anyone else,

How would this code look if you were running on D3/Linux?

Thanks,
Jeff

"Mark Brown" <mbrown (AT) drexelmgt (DOT) com> wrote in message
news:nZT6g.8563$Nk3.4457 (AT) tornado (DOT) socal.rr.com...
Depending on which platform you're working from, you can usually write
your
item into Windows folder and then shell out to the notepad.exe. In D3
something like:

open 'bp' to bpfv then
read r from bpfv,'test' then
open "dos:/drive:/folderpath" then
write r on "d3pgm.txt"
execute "!notepad.exe drive:\folderpath\d3pgm.txt"
read r from 'd3pgm.txt' then write r on bpfv,'test'
end
end
end

On D3, notice different slashes in path between a "pick" path and a
"dos"
path. For others, such as jBase and OpenQM, there's no such difference.

Mark Brown

symeonb (AT) gmail (DOT) com> wrote in message
news:1146852211.905623.244550 (AT) i39g2000cwa (DOT) googlegroups.com...
Dont know about notepad/wordpad - but wintegrate comes with the winteg
editor (wintedit.exe) - all you need are the wintegrate host routines
compiled and it will connect through your wintegrate session - great
for program editing/compiling etc...


rgds
Symeon Breen
www.a2c-ltd.com
www.sjb-solutions.net








Reply With Quote
  #7  
Old   
Ross Ferris
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-13-2006 , 08:21 AM



Jeff,

If you were using AccuTerm, I'd suggest using WED.

If NOT accuterm, what TE are you running, and how does it fire notepad
(or are you looking to run gedit under X from inux workstations) ?


Reply With Quote
  #8  
Old   
Jeffrey Kaufman
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-13-2006 , 12:39 PM



Ross,

Good idea using WED. I'll give that a try. This is for the portions of our
software that are still character based.

Just about all of our clients are using Accuterm. I was just curious if you
can open a local DOS file and read/write to it the way you can with Linux.

Jeff

"Ross Ferris" <rossf (AT) stamina (DOT) com.au> wrote

Quote:
Jeff,

If you were using AccuTerm, I'd suggest using WED.

If NOT accuterm, what TE are you running, and how does it fire notepad
(or are you looking to run gedit under X from inux workstations) ?




Reply With Quote
  #9  
Old   
Bill H
 
Posts: n/a

Default Re: Anyone have a copy of the WINED interface? - 05-15-2006 , 11:00 AM



Jeff:

Yes you can write to a DOS folder the same way you write to a Linux
directory.

"Jeffrey Kaufman" <jkaufman (AT) keydata (DOT) us> wrote


[snipped]

Quote:
Just about all of our clients are using Accuterm. I was just curious if
you
can open a local DOS file and read/write to it the way you can with Linux.

Jeff

"Ross Ferris" <rossf (AT) stamina (DOT) com.au> wrote in message
news:1147526517.477639.146000 (AT) g10g2000cwb (DOT) googlegroups.com...
Jeff,

If you were using AccuTerm, I'd suggest using WED.

If NOT accuterm, what TE are you running, and how does it fire notepad
(or are you looking to run gedit under X from inux workstations) ?






Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.