home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2237 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.6 KB  |  54 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. X-Newsreader: UMSZer V2.22 public
  3. Mime-version: 1.0
  4. Content-Type: text/plain; charset=iso-8859-1
  5. Content-Transfer-encoding: 8BIT
  6. Path: news.tng.oche.de!tomate.tng.oche.de
  7. X-Gateway: ZCONNECT UE utomate.tng.oche.de.tomate.tng.oche.de [PolyNet zTOr V4.901 Serie: "light"]
  8. Subject: _PCHAR/_MCHAR/OLDREDIRECT
  9. Date: Sun, 28 Jan 96 18:36:32 GMT
  10. Message-ID: <68771273@0humpty.tomate.tng.oche.de>
  11. From: humpty@TOMATE.TNG.OCHE.DE (Andreas Mixich)
  12.  
  13.  
  14.     Hi,
  15.  
  16. I read in the Amiga FAQ about the variables _mchar and _pchar, which also were
  17. defined in my shell-startup as:
  18.  
  19.     set _pchar "|"
  20.     set _mchar "||"
  21.  
  22. While I remember _pchar worked when used as pipe, _mchar, which is supposed to
  23. allow multiple commands on the console or in a script in one line, does not
  24. work. It seems, this won't work in scripts, because the variables are local to
  25. the curent shell. But also when using _mchar in a shell it does not work.
  26.  
  27. I tried
  28.  
  29.     cd ram: || list
  30.     and
  31.     cd ram:||list
  32.  
  33. First one lists the current dir, but did not 'CD'. The last one simply fails.
  34.  
  35. Another thing I noticed when monitoring DOS with SnoopDOS was the variable
  36.  
  37.     oldredirect
  38.  
  39. I am interested in what this variable means. Maybe something to do with Kick
  40. 1.3 ? Thank you.
  41.  
  42. BTW: Am I supposing right that the ENV variable 'copyflags' is not
  43.      supported under OS3.0 ? Or do I have another 'Copy' than the original
  44.      one ?
  45.  
  46. -- 
  47. Ciao, Andreas
  48. Internet: humpty@tomate.tng.oche.de
  49. FIDO    : 2:244/1544.14
  50.  
  51. +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=++=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
  52. Time is an illusion perpetrated by the manufacturers of space.
  53.  
  54.