home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,934 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to All   
   Re: DCL2   
   07 Dec 25 12:03:39   
   
   From: arne@vajhoej.dk   
      
   On 12/6/2025 3:47 PM, Arne Vajhøj wrote:   
   > On 12/6/2025 3:23 PM, Arne Vajhøj wrote:   
   >> I have always wanted something like:   
   >>   
   >> dcl.init() # open pseudo terminal   
   >> res1 = dcl.do(command1) # send command to pseudo terminal and return   
   >> output   
   >> ...   
   >> resn = dcl.do(commandn) # send command to pseudo terminal and return   
   >> output   
   >> dcl.close() # close pseudo terminal   
   >>   
   >> Point being that reusing the same DCL process is better than   
   >> starting a new per command for certain things.   
   >   
   > Example of DCL requiring same process:   
   >   
   > the skipping N lines in COPY trick   
   >   
   > $ open/read f z.txt   
   > $ read f dummy   
   > $ read f dummy   
   > $ copy f zz.txt   
   > $ close f   
      
   Also possible to add lines:   
      
   $ open/write f zz.txt   
   $ write f "X"   
   $ write f "X"   
   $ copy z.txt f   
   $ close f   
      
   or if one want VAR not VFC:   
      
   $ create zz.txt   
   $   
   $ open/append f zz.txt   
   $ write f "X"   
   $ write f "X"   
   $ copy z.txt f   
   $ close f   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca