When we were
discussing articles
for this issue, it
seemed natural
that there should
be something
about Java and
ActiveX. (Though
thinking about it
now, it doesn't
seem so obvious after all there is
currently no support for ActiveX under
UNIX!) So, I had a look around to see
what was what and got a bit of a surprise.
http://catless.ncl.ac.uk/
Risks
. So I have at my fingertips the
best source of information on the Net
about all kinds of problems with computer
systems. I ran a quick search for ActiveX
and read the various articles my best
advice to you is to do the same. Java, for
all its faults, is supported by most browsers
(though not all!) using the sandbox
model. That is, any applet that is run is
severely restricted in what it can do,
especially with respect to accessing your
local system. No file creation or anything
like that. The JVM also carries out checks
on applets before it loads them. You can't
change this, it's how it is meant to be.
ActiveX on the other hand gets by with a
user selected option for High, Medium or
Low security, which, to be fair (I know it's
not like me), defaults to High, but is very
easily changed. Oh yes, and ActiveX
applets come with a digital signature to tell
you who wrote them.
autoexec.bat
,
config.sys
,
protocol.ini
,
system.ini
, and
win.ini
, though the previous versions
were retained as backup files. Following
instructions, I ran
ping
on my local IP
address and it worked. Rushing ahead, I
pinged my UNIX system and, oh bliss, this
worked. We were in business! It goes
without saying that my UNIX system
happily pinged my wife's system.
exmh
, which I use
on my UNIX system.
rcp
and
rsh
.
My wife uses these occasionally.
They worked fine when I tested
them.
tcpdump
, and provide
network statistics. I've only just
started to get to grips with SNMP
and, so far, things are working - I
think!
Samba is the
software that comes
with Linux, and is
available for many
other Unix variants
besides, that lets
your machine
happily co-exist
with Windows for
Workgroups,
Windows 95 and even Windows NT
machines.
/etc/smb.conf
.
smb.conf
file was
correct for machines that were connected
to Ethernet only, my main machine also
had a dialup connection to the Internet.
Samba refused to work! A little
investigation found that I had to specify
the interfaces that I wanted Samba to work
across explicitly in the
smb.conf
file like
this (shown folded):
[global]
printing = bsd
printcap name = /etc/printcap
load printers = yes
; Uncomment for guest account
; guest account = pcguest
log file =
/var/log/samba-log.%m
lock directory =
/var/lock/samba
share modes = yes
interfaces = 192.168.1.2/24
/home/samba
and can
act as a general read/write scratchpad area
between users. Also visible is your home
directory, if your Windows network ID is
the same as one of the valid user IDs on
the Linux system. To attach to your home
directory from Windows you will need to
supply your Linux password. However
you need only do this once if you tick (or
fail to un-tick) the inviting little box which
says Save this password in your password
list.
/var/spool/lpd/lp/filter
,
assumes that the input is some sort of plain
text. It uses
enscript
and then
ghostscript
to first lay the text out on
the page and then, if the printer is not
directly Postscript capable, translates it into
codes that the printer will understand.
Windows likes to do all this driving of a
printer itself, so attempting to use the
standard filter will just result in an ugly
mess of nicely formatted escape sequences!
lp-raw
. Here is my
/etc/printcap file:
#/etc/printcap
#
#Look at the printcap(5) man
#page for more info.
#
##PRINTTOOL## LOCAL cdj550
#300x300 a4 1
lp:\
:sd=/var/spool/lpd/lp:\
:mx#0:\
:lp=/dev/lp1:\
:if=/var/spool/lpd
/lp/filter:\
:sh:
lp-raw:\
:sd=/var/spool/lpd
/lp-raw:\
:mx#0:\
:lp=/dev/lp1:\
:sh:
.INI
files, as this is how
the Windows environment is customised
and altered as applications are installed.
fvwm
. The Wabi windows
are visible in the same positions on all
virtual desktops, leading to annoying
clutter. This too is odd as
fvwm
-like
virtual desktop systems have been
available for MS Windows for years,
although not from Microsoft. Although
these two shortcomings are documented in
the manual, they are rather disappointing.
I would like to know if there is a technical
reason for them, or if it is just more
functionality limitations to appease
Microsoft.
http://www.opennt.com
(use the
Index page to navigate around).
www.lasermoon.co.uk/OpenNT
;
www.opennt.com
.
fork()
and
exec()
calls, etc). The
limit in functionality with Win32,
translates into limited functionality for any
UNIX-like product built on top of Win32.
This is not to say that Win32 is a bad
environment. It provides a huge toolset of
APIs that are more focused in supporting
the traditional Windows environment and
beyond. It's just that Win32 is not UNIX
and does not support the same set of APIs
as UNIX. OpenNT is totally integrated
with the existing functionality of Windows
NT; the same filesystem is used, system
administration is done the standard NT
way and NT security is unaffected. For
example, user accounts and privileges are
administered through the NT User Manager
and respected in the OpenNT world. Files
created with OpenNT can be viewed and
accessed from the Windows world (and
vice versa). We also feature cross
subsystem application execution support.
This allows
cmd.exe
users to run
OpenNT programs and Win32 applications
to be run from OpenNT shells and scripts.
This translates into a powerful feature of
being able to build shell scripts that not
only use traditional UNIX commands, but
also NT specific commands.
www.opennt.com
(USA) or
www.lasermoon.co.uk
(UK). So,
let's add up the costs for the 2.0 release
(all figures in UK Pounds):
ftp
and, of course, has a GUI front end.)
/tmp
so I can play around. And, of
course, in typical Mac fashion, you can
change the volume name.
http://www.mae.apple.com
grep
family and meta-characters via a number
of examples. Chapter 2 introduces the Perl
language with some text processing
examples, and finishes with a fairly
complex Python script. Chapter 3 is an
overview of regular expression features
and, I must admit, I didn't realise there
were so many differences between the
tools that claim to use regular expressions.
For example, did you know that POSIX
supports two classes of regular expressions,
basic and advanced?
awk
,
egrep
,
GNU
grep
, and
lex
.
Emacs
,
Expect
,
expr
,
grep
,
GNU
find
,
more
, Perl, Python,
sed
,
Tcl
, and
vi
.
awk
,
mawk
, MKS
egrep
, and MKS
lex
.
/* ... */
)
was well explained, especially how the
regular expression is unrolled for
efficiency.
awk
(before Perl
came along :-), so I was fascinated to read
that there are at least six versions of
awk
available today, each subtly different:
oawk
the original AT&T
version.
nawk
new awk.
awk
the One True awk, still
maintained by Brian Kernighan!
gawk
GNU awk.
mawk
Mike Brennan's awk.
$&
and friends.
|
Tel: 01763 273 475 Fax: 01763 273 255 Web: Webmaster Queries: Ask Here |
Join UKUUG Today! |
UKUUG Secretariat PO BOX 37 Buntingford Herts SG9 9UQ |