dbTalk Databases Forums  

ODD TCL Happinings

comp.databases.pick comp.databases.pick


Discuss ODD TCL Happinings in the comp.databases.pick forum.



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

Default ODD TCL Happinings - 12-08-2005 , 04:25 PM






I am using MvBase and at TCL the command gets split out at irregular
spots.

EX. SET-TAPEFILE C:\REQ738.VTF comes back as:

Quote:
SET-TAPEFILE C:\REQ738.VTF
[6070] VIRTUAL TAPE UNIT SET TO: C:\REQ7

8.VTF
[3] VERB?

I can give more examples if need be.

It seem like the port hoses up somehow, They have told me that when the
reloaded the op-sys it went away for awhile.



Reply With Quote
  #2  
Old   
Brian Speirs
 
Posts: n/a

Default Re: ODD TCL Happinings - 12-08-2005 , 05:24 PM






MVGuru wrote:
Quote:
I am using MvBase and at TCL the command gets split out at irregular
spots.

EX. SET-TAPEFILE C:\REQ738.VTF comes back as:


SET-TAPEFILE C:\REQ738.VTF

[6070] VIRTUAL TAPE UNIT SET TO: C:\REQ7

8.VTF
[3] VERB?

I can give more examples if need be.

It seem like the port hoses up somehow, They have told me that when the
reloaded the op-sys it went away for awhile.

Do a .Q <enter> from TCL.

This should report the TCL delimiter as:

([) X`FB

It this delimiter is something else, it can give strange results.

You change it by issuing a .Z command

eg .Z[ <enter>

where [ = control [

Let us know what happens.

Cheers,

Brian Speirs

--
************************************************** *
Brian Speirs
h: (04) 479 9032 c: (021) 265 5906
e: brian at rushflat dot co dot nz


Reply With Quote
  #3  
Old   
Simon Verona
 
Posts: n/a

Default Re: ODD TCL Happinings - 12-10-2005 , 04:39 AM



thats the classic use of .Z instead of .X (they are next to each other on
the keyboard!)

..Xn will re-execute command no n
..Zn will change the command delimiter to "n".. ie typing in HelloNGoodbye
(where N is the number entered in the .Z command) will run Hello then
Goodbye as if you pressed the enter key when you typed N.

I always thought it was barmy!

..z[ (control left square bracket) takes it back to "normal" (which I think
is the escape key)

Regards
Simon
"MVGuru" <theo (AT) violetvortex (DOT) com> wrote

Quote:
I am using MvBase and at TCL the command gets split out at irregular
spots.

EX. SET-TAPEFILE C:\REQ738.VTF comes back as:

SET-TAPEFILE C:\REQ738.VTF
[6070] VIRTUAL TAPE UNIT SET TO: C:\REQ7

8.VTF
[3] VERB?

I can give more examples if need be.

It seem like the port hoses up somehow, They have told me that when the
reloaded the op-sys it went away for awhile.




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.