Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!clyde.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!ncar!boulder!csn!news From: frechett@boulder.Colorado.EDU (-=Runaway Daemon=-) Newsgroups: comp.unix.questions Subject: Re: Problems with #! Message-ID: <1990Dec24.073132.6588@csn.org> Date: 24 Dec 90 07:31:32 GMT Sender: news@csn.org Reply-To: frechett@snoopy.Colorado.EDU (-=Runaway Daemon=-) Organization: University of Colorado, Boulder Lines: 27 Nntp-Posting-Host: snoopy.colorado.edu Thanks for the responces to this question. I have gotten many many responces from people who don't know what the real cause is so I thought that I had better post a note explaining why I have a problem. Originally, I said that I could get this line to work. #!/tmp/.../expect -f but not #!/users/en-eecs/huangc/.../expect -f The reason is simple. ULTRIX is screwed. It will not allow the use of a line longer than 32 chars from beggining to end (including arguments) and as you can see, that line is 37 chars long. This is apparently a bug rooted in the kernel and there really is no good workaround especially for "expect". In my case I believe I can pick up the needed room if I move expect to ~huangc/exp which should give me enough room for a couple flags too. Oh, and I heard that some Sun OSs have this problem too. Thanks for the help. ian -- -=Runaway Daemon=-