| Title: | AMIGA NOTES | 
| Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 | 
| Moderator: | HYDRA::MOORE | 
| Created: | Sat Apr 26 1986 | 
| Last Modified: | Wed Feb 05 1992 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 5378 | 
| Total number of notes: | 38326 | 
    Has anyone encountered a problem with output redirection from a shell?
    Specifically, when I do
    
    	lb > prt: <lib-name> -t
    
    (this is the Aztec C librarian program), intending to get a directory
    to my printer, it goes instead to the screen with a 'by-the-way'
    error message.
    
    But Amiga's own commands seem to continue to work with redirection,
    like the AmigaDos DIR, etc.
    
    Do I have to dig into the depths of my tangled startup-sequences, or
    did AmigaDos change redirection in ways that would require recoding
    (or possibly relinking) other programs, contrary to the way i read the
    1.3 doc.
    
    thanks for any help.
    
    ken
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 2897.1 | Some gibberish... | FRAMBO::BALZER | Christian Balzer DTN:785-1029 | Wed Sep 06 1989 04:58 | 9 | 
|     
    First of, I'm not too happy with that space between the ">" and
    the "prt:".
    On the other hand, lb might bypass the standard output mechanism
    and send it's friendly messages directly to the console window...
    
    Regards,
    
    <CB>
 | |||||
| 2897.2 | used to work! | ALASKA::QUIRICI | Wed Sep 06 1989 12:10 | 16 | |
|     <cb>:
    
    thanks for your reply.
    
    the lb command USED to work correctly, as i typed it, under a normal
    workbench 1.2 cli. only now, since i switched to workbench 1.3, and
    try the command from a shell, does it not work correctly.
    
    but the amigados commands still handle redirection properly.
    
    i grant you its not a super-important question, but it would be
    convenient to have 'hard' lists of my libraries. 
    
    thanks again.
    
    ken
 | |||||
| 2897.3 | I'll look into it... | FRAMBO::BALZER | Christian Balzer DTN:785-1029 | Thu Sep 07 1989 02:44 | 8 | 
|     Re: .2
    
    Hmmm, I'll check that tonite, two fellow Software Brewery members
    own the Aztec package.
    
    Regards,
    
    <CB>
 | |||||