The FreeBSD diaries ... installing filePro for FreeBSD

Brian K. White brian at aljex.com
Thu May 20 02:30:30 PDT 2004


Walter Vaughan wrote:
> Only other setting from default on PuTTy is to use "SCO" function
> keys. Which bites until I get it figured out since the up arrow key
> no longer gives me the last command typed.

There is another screen in putty where the TERM variable is set to "xterm"
by default.
This, when you log in, the shell thinks you are using an xterm and so your
scoansi up-arrow sequence goes unrecognized.

I think it's under "telnet" in the settings.
change "xterm" to "cons25"

then add cons25 to the label line for the ansi|scoansi|cansi entry in fp
termcap.
so it'll be like:
cons25|ansi|scoansi|...|Color SCO Ansi Console:\

The freebsd console is almost exactly the same as the sco ansi console.

The reason I say to add cons25 to the fp termcap, rather than change xterm
to ansi in the putty config,
is because using a TERM value of "ansi" would require more hacking of the
stock termcap & terminfo than the other way.

If you had already known about this setting from using putty on sco, and had
changed xterm to ansi, then the reason that didn't work is because on
anything but a sco box, the "ansi" in the system termcap & terminfo is just
a crude minimal definition that is only used by being included in other
ansi-based terminal definitions and as a reference for the codes and is not
a useful definition on it's own. The reason it worked for filepro is because
your fp termcap does have an ansi definition that matches sco ansi and that
includes everything necessary for fp to work.

> Printing was another issue that only took a second to see the light.
>
> We print to various Windows boxes. We used custom hacked smbprint
> models to do it. With Webmin, we created printers in a mouse click,
> and had to change what was in printer maintenance or
> /appl/fp/lib/config from using "lp -ddest" to "lpr -Pdest". Once that
> was done, everything prints just fine. And we've got a much easier to
> manage printer environment.
>
> Stay tuned. This afternoon we tackle printing to hylaxfax spoolers and
> barcode printers.

What about backup software? More importantly, what about "disaster recovery"
software?

Anyone can dump a cpio or enhanced tar like star to a tape. That could
reasonably be called a backup. But that requires someone fairly
knowledgeable to restore from it and would probably require an hour or three
on top of the time it takes for the tape to run plus getting ahold of you
and you getting yourself to their site...

I mean something that lets a complete user restore an entire system from a
tape and a boot floppy onto a completely new hard drive of a different size,
without having to know how to do a fresh install, and taking no more time
than it takes for the floppy to boot and the tape to run. We use ctar for
that on sco, but I tried ctars freebsd demo one time and it wouldn't even
run on my box. Maybe BackupEdge has a freebsd version and maybe it's less
finicky about kernel versions.




More information about the Filepro-list mailing list