dbTalk Databases Forums  

ditch the dir verb on d3/windows?

comp.databases.pick comp.databases.pick


Discuss ditch the dir verb on d3/windows? in the comp.databases.pick forum.



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

Default ditch the dir verb on d3/windows? - 07-21-2006 , 01:06 PM






As far as I can tell, the DIR verb doesn't show
helpful results in D3 on windows. If you agree,
I suggest we all decatalog it to more clearly
show what's going on when you do

dir c:\pickbu*

by mistake, intending to do

!dir c:\pickbu*

As it stands, TCL gripes about the backslash
not being matched with another. Backslashes
act as a variety of quote mark, as in

display \Hello, O'world!\



Reply With Quote
  #2  
Old   
Frank Winans
 
Posts: n/a

Default Re: ditch the dir verb on d3/windows? - 07-21-2006 , 01:44 PM






"Frank Winans" <fwinans (AT) sbcglobal (DOT) net> wrote

Quote:
As far as I can tell, the DIR verb doesn't show
helpful results in D3 on windows. If you agree,
I suggest we all decatalog it
Ah, I see now,
DIR FONTS
shows what's in this account's fonts file {or dict?}
....nothing to do with the native OS filesystem side.
No wonder I could never get the verb to show a
folder out there in F:\

I still hate the verb, but at least it isn't outright broken.




Reply With Quote
  #3  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: ditch the dir verb on d3/windows? - 07-21-2006 , 06:49 PM



The DIR verb is a hangover from AP/PRO and maybe AP/NATIVE. Like many
verbs in the MD it doesn't even apply to current platforms. This code
tells the story:

* imp is the platform running this code
if imp = 'at-native' or imp = 'at-pro' else
execute 'listfiles 'ath:' (f'ptions
stop
end


I think a good rule of thumb is that if you find a verb that you
haven't used in 12 years, it doesn't appear to be working now, and you
hate it anyway ... just ignore it. There's no reason to campaign for
a mass removal of the verb which apparently isn't bothering anyone
else either. Decataloging from one account doesn't do anything for
other accounts except return an 'object code missing' error, and does
nothing for new accounts or post-upgrade updates. No, better to just
ignore it. If it's that important to you personally, change the above
execute to:
execute '!dir 'ath

T

"Frank Winans" wrote:

Quote:
"Frank Winans" wrote
As far as I can tell, the DIR verb doesn't show
helpful results in D3 on windows. If you agree,
I suggest we all decatalog it

Ah, I see now,
DIR FONTS
shows what's in this account's fonts file {or dict?}
...nothing to do with the native OS filesystem side.
No wonder I could never get the verb to show a
folder out there in F:\

I still hate the verb, but at least it isn't outright broken.



Reply With Quote
  #4  
Old   
Frank Winans
 
Posts: n/a

Default Re: ditch the dir verb on d3/windows? - 07-21-2006 , 08:21 PM



"Tony Gravagno" wrote
Quote:
The DIR verb is a hangover from AP/PRO and maybe AP/NATIVE. Like
many verbs in the MD it doesn't even apply to current platforms. This code
tells the story:

* imp is the platform running this code
if imp = 'at-native' or imp = 'at-pro' else
execute 'listfiles 'ath:' (f'ptions
stop
end


I think a good rule of thumb is that if you find a verb that you
haven't used in 12 years, it doesn't appear to be working now, and you
hate it anyway ... just ignore it. There's no reason to campaign for
a mass removal of the verb which apparently isn't bothering anyone
else either. Decataloging from one account doesn't do anything for
other accounts except return an 'object code missing' error, and does
nothing for new accounts or post-upgrade updates. No, better to just
ignore it. If it's that important to you personally, change the above
execute to:
execute '!dir 'ath

T
Thanks. Guess I should check the source code before I waste a lot of
time testing out a cranky verb... Thanks for another stellar reply -- I
usually don't post a follow-on to your posts because they're, well,
unassailably correct. Just tacking a 'thanks' on the end of a thread feels
like a misuse of bandwidth. Guess I spent too much time with
punched paper/mylar storage media and 110 baud modems...
So frame this one as a sort of macro...





Reply With Quote
  #5  
Old   
Tony Gravagno
 
Posts: n/a

Default Re: ditch the dir verb on d3/windows? - 07-22-2006 , 03:28 AM



"Frank Winans" wrote:
Quote:
Thanks. Guess I should check the source code before I waste a lot of
time testing out a cranky verb... Thanks for another stellar reply -- I
usually don't post a follow-on to your posts because they're, well,
unassailably correct.
LOL, and then there are times when I'm flat out brain fartin wrong.

Quote:
Just tacking a 'thanks' on the end of a thread feels
like a misuse of bandwidth. Guess I spent too much time with
punched paper/mylar storage media and 110 baud modems...
So frame this one as a sort of macro...
Thanks for the note. We should all kill a few bits to thank our
friends here now and then - at least until the bandwidth police start
charging us extra for unreasonably excessive expressions of gratitude.


T


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.