Printing with cifsmount

In some configurations, WON and CIFS may cause conflicts with your existing DNS lookups. For example, if your BeOS machine is your home gateway WON will trying to use your provider’s DNS to lookup other CIFS hosts ( possible security flaw?). This will also cause shared printer paths to be invalid.
You can get around this problem by using cifsmount to mount shared volumes by IP address, including printers.

cifsmount -I 192.168.xxx.xxx -W WORKGROUP \\HOST\SHARE user pass /mnt

Make /mnt a real directory (I use /boot/prnt), and mount the shared printer to /boot/prnt. Next, create a printer of the same type as the one you’ve just mounted, but set it to print to file. When the print process gets to the point of saving the file, point it at the /boot/prnt directory. Once finished, you’ll have to delete the file from /boot/prnt and close the window. Now it will print. My shared printer is postscript, and I can save postscript files to it directly (through /boot/prnt). I’ve only tested this with an HP 6MP.

 

MediaPlayer: Command-line options

If you launch the MediaPlayer from a Terminal with the --help option, you’ll discover that you can control a whole bunch of parameters from the command line. You can specify the volume of the audio, the three different display modes, whether or not to loop, etc. The parameters passed from the command line will override any attributes stored in the movie or sound file by MediaPlayer the last time the file was played.
Note that you can even specify the location in the file from which to start playing — something you can’t control when launching a movie or sound by double-clicking in the Tracker. For example, the following command will cause Animation1 to be launched full-screen and to loop endlessly through the first one second of video:

MediaPlayer -loop on -inpoint 0 -outpoint 1000000 -full Animation1

These options may come in especially handy for creating self-running demo scripts!

 

Saving queries gets easier

As you know, BeOS automatically save all queries to /boot/home/queries, and all queries self-destruct automatically in seven days unless you tell them not to.
As of R4.5, the Find panel gets a built-in query icon. After constructing your query, drag this icon to the Desktop or elsewhere in the Tracker so you don’t have to go digging around for it later.

 

Working with Windows and Samba networks

As of R4.5, BeOS includes the first appearance of a CIFS (Common Internet File System) client and server package. CIFS is not fully supported in R4.5 and appears in the /optional/experimental/WON directory (where WON stands for „World O‘ Networking, the BeOS equivalent of Windows‘ Network Neighborhood). In a future release, WON should be built into the Network preferences panel.
Basic WON usage is pretty simple, and documenation is included in the accompanying readme file. However, some networks, especially NT networks, include tighter security and may prove troublesome. The best documentation on using WON services in BeOS is Oliver Thylmann’s coverage in the BeNews Extra that accompanied the release of R4.5.
Additional WON tips that are not covered there will appear here as they roll in.

 

Creating PostScript files

If you need to create PostScript files under BeOS for use with the Ghostscript viewer or for viewing in another operating system, learn to use a2ps. While a version of a2ps is included with every copy of BeOS (take a look in /bin), Kristan Slack has created a version that’s much more complete and capable.
a2ps stands for „anything to postscript.“ Its role is rather obvious – it takes anything you give it, such as plain text, C++ code, or HTML, and produces a postscript output file. But a2ps is much more powerful than it first appears. a2ps can recognise many programming languages and format them with bold and italic text styles, making the final output file nice to read.
a2ps can also use „virtual pages“ to reduce your final printout size – by tiling more than one „real“ page on a postscript page – you can reduce the number of total pages dramatically.

A simple example

Say, for example, you’ve just written the obligatory foo.c and foo.h, and want a2ps to output a postscript file containing these. Simple:

a2ps -4 foo.c foo.h -o foo.ps

a2ps goes about it’s work, recognising these files are written in C and formatting them appropriately, tiling 4 virtual pages per actual page.

Extras

a2ps can also receive pipes from the bash shell, accept multiple files as input, change font and tab sizes, etcetera. a2ps is a powerful programmer’s tool for creating reports. For further information, a2ps has detailed help. Just type :

a2ps --help
 

Connecting to Earthlink

While R4.5 still does not support CHAP connections (which are used instead of PAP by some of the big major ISPs such as Earthlink), some ISPs may offer dynamic switching between CHAP and PAP. Many R4.5 users are finding that they can now make the connection by changing „Standard PPP“ to „Unknown Type 1“ in the Dial-Up Networking preferences panel.
Additionally, at least one user has discovered that you can edit /boot/beos/etc/servers.ppp as follows:

Unix_login T
 erid:s du assword? dw
 IV>s dppp
S

Then select Unix_login in the Dial-up Networking preferences to get an Earthlink connection working.


In addition, Ken writes:
Set the connection type in the DUN preferences panel to Manual, and enter your DNS server addresses.
Upon connecting, you’ll get username / password prompt. Earthlink accounts require a username format of („ELN/“ + Username).
Note that the backspace key will not work on the login screen, so if you mistype you’ll have to start over.

 

BeOS logo in boot ROM

If you have an AWARD BIOS 4.51G, you can replace the standard green EPA logo with a BeOS logo, to be displayed at boot time.
Warning: While many users have reported success with this technique, it is not supported, and may crash your computer. If you have never flashed your BIOS or are afraid to, just don’t do it! In particular, we’ve had one report that a user with an Asus P2B-DS toasted his BIOS. That user was able to get back into fail-safe mode by removing one processor temporarily and using fail-safe mode. This indicates that problems may crop up with dual-CPU machines. Proceed with extreme caution, at your own risk.
First, you need to download the logo image file. Next, you’ll need to grab the utility cbrom.exe. You’ll also need the right BIOS flasher for your motherboard.
Alternatively, you can grab the logo and cbrom utility here:
http://www.solid.cc/belogo/be.epa
http://www.solid.cc/belogo/cbrom.ex e
Boot into DOS and run:

cbrom yourbios.bin /epa BeOS.epa

and you can reflash your BIOS using your flash.exe, pflash.exe or awdflash.exe (check at your motherboard manufacturer’s Web site for the latest BIOS and flasher).
I’ve tested this with an Asus P2L97 with various BIOS versions (1.03 to 1005), and also with 4 or 5 version (including LH) on an Abit BH6. At least one user has reported success with an Asus P5-A.
Note: If something goes wrong during flash, the new Award BIOS handles a special boot block that enables only drive A: and a PCI VGA board, so you can boot from a floppy disk in an emergency. BEFORE flashing your BIOS, create a system disk (format a: /s) and put your original BIOS on it with your awdflash.exe and create an autoexec.bat with

awdflash yourbios.bin /py /sn /cc /cp

This tip is also available in French.

 

Installing BeOS on laptops

Note: For the latest hardware-compatibility lists, be sure to check the Hardware section of thebesite.
Be’s hardware compatibility pages include some rather stern warnings about laptop support in R4.5. But while Be does not officially support laptops just yet, hundreds (maybe thousands) of users are successfully running R4.5 on laptops of all kinds, and have found the installation just as easy as with desktop machines. Some PCMCIA support is present, and battery life isn’t too shabby either (I’ve gotten 2.75 hours from a 3-hour battery with my Sony Vaio PCG-F150).
You’ll find a preliminary list of notebooks that support both audio and video below. You may also want to have a look at the NotePC Compatibility page.
The biggest difficulty with installing BeOS onto a notebook/laptop arises when the CD-ROM drive is not available or not supported. To work around this current limitation, ITO Takayuki has written a utility called BeWrite. This tool runs from within Windows, and writes the Be file system to a prepared blank partition, thus bypassing the need for BeOS to see a funky, outboard CD-ROM drive. Note that BeWrite is unsupported and should be used with caution. Read the documentation carefully before proceeding. A preliminary version for R4.5 can be downloaded here.
You may find additional helpful information at this b500 page, covering installation onto the Sony Vaio PCX line (far more difficult than installing onto the PCG line).
It appears that external floppy drives and touchpad pointing devices work in the vast majority of situations. If you have the ESS audio chipset in your laptop (this is found in NEC and probably many more machines) download the driver here.
Note: You may also find the Linux on Laptops page useful for general information.


The information provided below was gathered by Chris Herborth (arcanedragon at home dot com) with the desire to find laptops that have supported video and sound. Laptops that have supported video (especially the NeoMagic 128, 128XD and 256AV chipsets) are much easier to find.
ATI Rage LT Pro notebooks (best supported laptop video chipset, IMHO); info in parenthesis after the model name is the sound chip, if known (on this list, only the Compaq Presario 1685 is known to have supported sound under BeOS R4.5):


Compaq
 - Presario 1600s (?)
 - Presario 1685 (ESS Solo-1)
 - Presario 1687 (?)
 - Presario 1688 (?)
 - Presario 1690 (?)
 - Presario 1800 (?)
 - Presario 1800T (?)
 - Presario 1825 (?)
Dell
 - Inspiron 7000 (ESS-Maestro 2 slightly modified)
Fujitsu
 - FMV-6266NA8/X (?)
 - LifeBook 990Tx2 (?)
Gateway
 - Solo 9150 (?)
HP
 - OmniBook 7100 (?) - out of production
 - OmniBook 7150 (?) - out of production
Note: The HP OmniBook 7150 is the same exact machine
as the Dell Inspiron 7000; both are made by Compaq.
NEC
 - Ready Notebook 440T ("Advanced 3D PCI Sound System")
 - Versa LX VL3H0A20-0000A0 ("SoundBlaster Pro compatible", "Maestro-2E")
 - Versa LX VL4H0A20-0000A0 ("SoundBlaster Pro compatible", "Maestro-2E")
 - Versa LX VL4J0A60-0000A0 ("SoundBlaster Pro compatible", "Maestro-2E")
 - Versa LX VL4J0A6C-A100A0 ("SoundBlaster Pro compatible", "Maestro-2E")
 - Versa LX VL4K0A20-0000A0 ("SoundBlaster Pro compatible", "Maestro-2E")

Manufacturer Model Max Resolution Audio ?
Compaq Presario 1685 1024x768 yes
Compaq Presario 1690 1024x768* yes
Dell Lattitude CPi 1024x768 yes
Dell Latitude XPi CD 800x600 16bit and 8bit no
Digital HiNote 735 1024x768 yes
HP OmniBook 4100 1024x768 yes
IBM ThinkPad 380ED 800x600 yes
IBM ThinkPad 380Z 1024x768 yes
IBM ThinkPad 390E 800x600, 1024x768 yes
IBM ThinkPad 535X 800x600 yes
IBM ThinkPad 560E 800x600 yes
IBM ThinkPad 560z ? yes
IBM ThinkPad 570 ? yes
IBM ThinkPad 600 1024x768 yes
IBM ThinkPad 600E 1024x768 yes
IBM ThinkPad i1412 ? yes
IBM ThinkPad i1450 1024x768 yes
IBM ThinkPad i1452 ? yes
IBM ThinkPad i1417 800x600x16 yes
Sony VAIO 505G 800x600 yes
Sony VAIO 505RX 1024x768 yes
Sony VAIO 505TS 800x600 yes

? for Max Resolution means I forgot to check before I left the store. The ThinkPad 390E has two Max Resolution entries because different models have different max resolutions.
* For Max Resolution means confirmed to work at 1024x768 in any bit depth.


Jesse Hall (jesse at xmission dot com) contributes the following list (modified with additions from miscellaneous contributors):
Some of these reports are several months old and were tested with R4, so a) these models may no longer be shipping, and b) R4.5 may have improved support for the marginal ones. Also, many of these come from someone taking a CD to a store with friendly (or sometimes even unfriendly) salespeople and seeing if the install booted, so details on sound support are pretty slim. Here goes:

Make / model Video Sound Contact Comments
AMS Tech TP-257CXA Y N (rmoser1
at san.rr dot com)
 
Compaq Presario 1210 Y N (gurpal.x.hundal at mail.sprint dot com)  
Compaq Presario 1255 Y N (rmoser1 at san.rr dot com)  
Compaq Presario 1260 Y N (rmoser1 at san.rr dot com)  
Compaq Presario 1260 Y N (gurpal.x.hundal at mail.sprint dot com)  
Compaq Presario 1640 Y N (allen
at driversoft dot com)
 
Compaq Presario 1690 Y Y (earl
dot malmrose at sierra dot com)
APM supported; clean power
down
CTX EzBook 893T-FK Y ? (dsowsy
at cs.uml dot edu)
CTX F Series Y Y (jamescrockett
at earthlink dot net)
winmodem
Dell Inspiron 3500 Y N (beos at
birdhouse dot org)
audio should be possible, but no
working audio driver for NeoMagic 256AV yet. Have to boot in vesa mode, even
though it runs fully accelerated (not vesa)
Dell Inspiron 7000 Y Y (various) Lots of good reports on this one; everything works
well.
Fujitsu 520D Y ? (gurpal.x.hundal at mail.sprint dot com) generic video
driver
Fujitsu C350 Y ? (rmoser1 at
san.rr dot com)
 
Fujitsu C353 Y ? (rmoser1 at
san.rr dot com)
 
Fujitsu E340 Y ? (rmoser1 at
san.rr dot com)
 
Gateway 5150 Y N (oliver at
benews dot com)
 
IBM ThinkPad 380ED Y Y (etomlin
at expersoft dot com)
 
IBM ThinkPad 600 Y Y (peteru at
null dot net)
works really well
IBM ThinkPad 600E Y Y (greg.r.smith at intel dot com) works really well
IBM ThinkPad 770 (VESA) Y (achitnis at cbconsulting dot com) The entire install was done
on a 2.5 hour flight from New Delhi to Bangalore - on battery power. Winmodem
🙂
IBM ThinkPad 770ED Y Y (blamb at
mail dot cise dot ufl dot edu)
video fine with VESA options
set
IBM ThinkPad 1450i Y Y (blunt at
amazon dot com)
have to install in safe mode
IBM ThinkPad 1451 Y ? (rmoser1
at san.rr dot com)
 
Mitsubishi Pedion Y N (allen at
driversoft dot com)
 
Quantex I-1510 Y N (koehler at
mythrium dot com)
 
Sony VAIO 505FX Y N (allen at
driversoft dot com)
 
Sony VAIO PCG-F150 Y N (shacker
at birdhouse dot org)
 
Sony VAIO PCG-731 Y ? (allen at
driversoft dot com)
 
Sony VAIO PCG-808 Y ? (allen at
driversoft dot com)
 
Sony VAIO PCG-862 Y Y (kisaka at
pochi dot iijnet dot or dot jp)
Audio requires ess1879 driver
Sony Viao N505VE Y Y (allen at
kindacool dot com)
Audio requires ymf724 driver
Toshiba Portege 7010 Y Y (donaldson at cisco dot com) Docking station works
Toshiba Tecra 4025C?? Y ? (rmoser1 at san.rr dot com) VESA mode video

UMAX, Toshiba, and AMS Tech systems mostly don't work, with exceptions above. VAIOs seem to use ESS sound chipsets (see below).
Allen said that every box he's tried (which is a lot) that has an Intel 440TX (or is it 430TX) MB and a Neomagic chip has worked. Unfortunately, I don't think the TX supports the P-IIs, so you may have trouble finding it.
ESS sound chips (1868 & 1869) weren't supported in R4, but are common. I don't know if that's changed for R4.5.
One more thing I forgot. I have no idea how DVD support is in R4.5, but with R4 the boot CD wouldn't be recognized if it was in a DVD-ROM driver. Many newer laptops just have DVD instead of a normal CD-ROM, so you may want to watch out for it.
Finally, many laptops freeze completely on restart. This seems to be related to APM (which BeOS doesn't support for reasons I can go into if you're interested). I'm in the habit of telling it to shut down (which doesn't power off) and hitting the reset button.
From everything I've seen, the IBM 600[E] may be your best bet. Both Greg R Smith and Peter Urbanec are very happy with them, and video and sound are known to work. Standard disclaimers apply, of course :-). [Editor's note: some claim that the 600E has a very slow screen redraw and that this machine sometimes freezes on boot, so it's questionable whether this machine is the "best bet."]

 

Power off on shutdown

Advanced Power Management is somewhat supported in R4.5, and some machines will actually power down when you select Shutdown from the Be menu. However, because this doesn’t work in all machines and can cause problems for those which don’t (e.g. the machine might actually power itself back up minutes or hours after shutdown!), Be has disabled this option by default. SMP machines in particular may have trouble with this feature.
If you want to see whether your machine supports this, see the tip Make Boot Options Permanent, then edit ~/config/settings/kernel/drivers/kernel. Uncomment the line:

enable_shutdown true # enable power-off on system shutdown

After your next restart, check to see if you can actually power down from the Be menu. If so, leave this option enabled. If not, it’s probably safest to re-comment the line above.
Note: R4.5’s APM support is not perfect. ITO Takayuki offers an updated APM driver which improves on Be’s offering. It provides automatic power-off and battery status for more (but not all) machines.

 

CDPlayer: Select between drives

If you have more than one CD-ROM drive in your machine (maybe one of them is a CD-R device), try right-clicking in CDPlayer’s interface to select between them. You can even launch a new instance of the player from here, so you now have CDs playing in both drives.

 
 

Kategorien