home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / linux / extra / docs / maillist / text / archive.96 / text0626.txt < prev    next >
Encoding:
Text File  |  1996-07-25  |  2.6 KB  |  55 lines

  1. I just thought I'd pass along the following hints 'n tips in using 
  2. Executor in a FreeBSD environment.
  3.  
  4. First of all, it IS possible.  The FreeBSD Linux emulation code, even the 
  5. 2.0.5 version, is more than adequate to run it.  2.1 is quite good for 
  6. me.  CURRENT/SNAP/STABLE/etc. versions are probably even better.
  7.  
  8. Unfortunately, the Linux sound support doesn't work.  But that's just 
  9. about the only thing that doesn't.
  10.  
  11. Since the FreeBSD console driver does not work at all with Linux SVGALIB, 
  12. the SVGALIB version of Executor doesn't run, even if you have the svgalib 
  13. shared library installed.
  14.  
  15. Several error messages are generated, that can be safely ignored.  They 
  16. are mainly annoyances.  Here are the messages that can be ignored:
  17.  
  18. syslog() not supported (BSD sigreturn)
  19. LINUX: 'ioctl' fd=6, typ=0x53(S), num=0xb not implemented
  20. LINUX: 'ioctl' fd=13, typ=0x450(P), num=0xa not implemented
  21.  
  22. You will need to install the "bash" shell (it's available as part of the 
  23. FreeBSD packages/ports collection).  It installs into /usr/local/bin, but 
  24. Executor expects it to be in /bin.  A simple symlink will suffice, 
  25. though.  As root, type:  ln -s /usr/local/bin/bash /bin/bash
  26.  
  27. Even though bash is installed, Executor still needs to have the "type" 
  28. command.  It needs this program in order to support printing directly 
  29. to a printer.  If it can't run it, it will just print to a file in 
  30. /tmp.  Why doesn't the bash built-in "type" command get executed?  This 
  31. is because Executor doesn't specifically run the bash shell to execute 
  32. it, but instead it runs the standard shell "sh".  In Linux, this is no 
  33. problem, since sh is usually a link to bash anyway.  But, FreeBSD uses 
  34. the real Bourne shell, which does not have the "type" command built-in.  
  35. So, what I did is wrote a simple shell script to emulate it.  Put this 
  36. script anywhere in your path (/usr/local/bin/type is where I stuck it), 
  37. and make sure it's executable (chmod 755 type).
  38.  
  39. #!/bin/sh
  40. exec bash -c "type $*"
  41.  
  42. And this is it.  The program works flawlessly with these modifications.  
  43. (Even without them, the program still worked, although printing directly 
  44. to a printer didn't work, and some odd error messages from the /bin/sh 
  45. shell were displayed).
  46.  
  47. I once again wish to thank the Executor team for a GREAT product, and 
  48. the FreeBSD team for a GREAT OS.  Keep up the good work, all of you!
  49.  
  50. Donald Burr [d_burr@ix.netcom.com], PO Box 91212, Santa Barbara CA 93190-1212
  51. TEL (805)564-1871 / FAX 564-2315 / WWW http://www.geopages.com/WallStreet/2072
  52. PGP Public Key available by request (send e-mail) or on Public Key Servers.
  53. ** Uphold your right to privacy - Use PGP. **
  54.  
  55.