Date: Thu, 5 Aug 1999 10:47:08 -0600 (MDT) From: Brian Handy <handy@lambic.physics.montana.edu> To: freebsd-emulation@freebsd.org Subject: linux 'more' problem Message-ID: <Pine.BSF.4.10.9908051040340.5702-100000@lambic.physics.montana.edu>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9908051040340.5702-100000>