From owner-freebsd-emulation Thu Aug 5 9:47:50 1999 Delivered-To: freebsd-emulation@freebsd.org Received: from lambic.physics.montana.edu (lambic.physics.montana.edu [153.90.192.128]) by hub.freebsd.org (Postfix) with ESMTP id 99D2214CF3 for ; Thu, 5 Aug 1999 09:47:48 -0700 (PDT) (envelope-from handy@lambic.physics.montana.edu) Received: from localhost (handy@localhost) by lambic.physics.montana.edu (8.9.3/8.9.3) with ESMTP id KAA07169 for ; Thu, 5 Aug 1999 10:47:08 -0600 (MDT) (envelope-from handy@lambic.physics.montana.edu) Date: Thu, 5 Aug 1999 10:47:08 -0600 (MDT) From: Brian Handy To: freebsd-emulation@freebsd.org Subject: linux 'more' problem Message-ID: X-files: The truth is out there MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-emulation@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hey all, I'm using a version of the Linux-emu port from before 6.0 became the de facto standard -- specifically, this question is based on the RedHat 5.2 libaries. I'm using the linuxulator to run IDL (http://www.rsinc.com) and I've got a rather annoying problem. This package, which acts vaguely like what one could call "Visual FORTRAN", has a 'more' statement that doesn't work. As an example, if I have an array of strings, I might print them via this: IDL> more, files % OPENW: Error opening file: /dev/tty. Permission denied % Execution halted at: MORE 65 /ssw/gen/idl/string/more.pro % $MAIN$ IDL> The problem is here in the 'more' routine. The relevant lines are probably: scrn = filepath(/TERMINAL) openw,lun,scrn,/more,/get_lun To explain, the filepath thing returns "/dev/tty". So the openw statement tries to open /dev/tty, which apparently isn't allowed. (The /more flag says format the output a la' more(1) and the /get_lun flag says use the first free logical unit you can find.) Any suggestions for tricking my emulator around this? Wondering, Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message