Linux-Misc Digest #792, Volume #21 Mon, 13 Sep 99 14:13:10 EDT
Contents:
StarOffice? (Kim)
Re: C vs C++ for Open Source projects (Volker Hetzer)
Linux Sed command to add newline (Bosco Tsang)
X problem on Linux running on an AlphaStation ([EMAIL PROTECTED])
Re: Figure Out The MS Source Code Yourself (Dave Newton)
Re: StarOffice? (Alex Flinsch)
Re: General Rant from a Linux Newbie (Anthony Ord)
Re: "autoexec.bat"-type service in Linux? ("Lothar Dickhoff")
Re: Linux Sed command to add newline ("Christopher W. Aiken")
Re: Swapping harddrives, this is confusing, I need help (Timothy J. Lee)
Re: SuSE 6.2 US - man tar in German? (David Orriss Jr)
----------------------------------------------------------------------------
Date: Mon, 13 Sep 1999 11:01:55 -0600
From: Kim <[EMAIL PROTECTED]>
Subject: StarOffice?
Crossposted-To: microsoft.public.office.misc,microsoft.public.office.setup
Has anyone ever used Sun's free "office" product called StarOffice?
The package is said to be multi-platform (Win95/98/NT, Linux, Solaris,
OS2). Looking for feedback - especially from those who have used it in
Windoze environment.
Thanks, Kim
------------------------------
From: Volker Hetzer <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss
Subject: Re: C vs C++ for Open Source projects
Date: Thu, 09 Sep 1999 17:37:15 +0200
Niels M=F6ller wrote:
> What I'm trying to say is that the difficulty I see when interfacing
> C++ stuff with a language with a more traditional flavour of OO, is
> not the C++ language in itself, but the style of OO that often comes
> with it.
What we are doing right now is giving C/C++-Tools Tcl as scripting
language. Of course this involves having Tcl-scripts accessing C++ object=
s.
To do this we simply use the handle concept. A command, written in C++
and declared as having C-linkage gets an ASCII-string naming the object
and other ASCII-strings naming data (like numbers or such) and the operat=
ion
to be done with the object.
The result is always a string.
Works just fine here.
Greetings!
Volker
-- =
Hi! I'm a signature virus! Copy me into your signature file to help me sp=
read!
------------------------------
From: Bosco Tsang <[EMAIL PROTECTED]>
Crossposted-To: tw.bbs.comp.linux
Subject: Linux Sed command to add newline
Date: Mon, 13 Sep 1999 16:40:06 GMT
Hi,
Is there any command in sed that I can replace the character to a
newline (sed 's/new/x/g', what's to be in the place of x to change new
to a linefeed)?
Please reply via email if possible.
--
No Junk or Commercial Mail Please, Thanks.
This Email Address is NOT FOR SALE by anyone
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED]
Subject: X problem on Linux running on an AlphaStation
Date: Mon, 13 Sep 1999 16:40:13 GMT
I have installed RedHat 6.0 Linux for Alpha on my AlphaStation 250
4/266 and I cannot start X. When I type "cat /proc/pci", it comes up
with DEC TGA2. Under Dec Unix, it comes up with :
- tga0: depth 8, map size 2MB, 1280x1024
- tga0: ZLXp2-E, Revision: 34
I have tried to configure X with the TGA server and when X starts, it
fails with the error: No screen found.
The monitor that I have is a EIZO FlexScan F77S.
If anyone has an idea, what I need to do to make it works, please feel
free to e-mail me with any suggestion.
Cheers.
Bertrand Sirodot
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Dave Newton <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Figure Out The MS Source Code Yourself
Date: Mon, 13 Sep 1999 16:39:25 GMT
d s f o x @ c o g s c i . u c s d . e d u (David Fox) wrote:
> How does what you expect enter into this?
>From a legal standpoint, obviously it doesn't.
> Putting a law on the books means that whenever someone takes a fancy
> to putting you in jail for breaking it, they probably will.
As I said.
> What you "expect" is of little importance.
To you and the law, perhaps, but not to me.
It's simple-I expect common sense to prevail. If I want to reverse
engineer something and play with it I expect people to leave me alone;
I'm not hurting anyone. If someone wants to put me in jail for that,
fine, they can try. I will be civilly disobediant, and if that doesn't
work, I'll be noisy about it.
It's my hardware, I have the right to determine what is running on it.
If someone was painting my rooms I'd expect to be able to find out that
the stuff in the paint wasn't going to kill me.
Dave
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Alex Flinsch <[EMAIL PROTECTED]>
Crossposted-To: microsoft.public.office.misc,microsoft.public.office.setup
Subject: Re: StarOffice?
Date: Mon, 13 Sep 1999 13:16:18 -0400
Reply-To: [EMAIL PROTECTED]
Kim wrote:
> Has anyone ever used Sun's free "office" product called StarOffice?
>
> The package is said to be multi-platform (Win95/98/NT, Linux, Solaris,
> OS2). Looking for feedback - especially from those who have used it in
> Windoze environment.
>
> Thanks, Kim
I have use the pre Sun version 5.0 & 5.1 on Windows 98 and 5.1 on Linux.
Both versions work fairly well if you have 64M or more of ram, they are
kind of piggish with only 32M however. The package on a whole is pretty
good, but the help files are pretty awful. The downloads are 50-70M in
size and if you have a slow link that will take some time. If you don't
have it downloaded yet, I would suggest that you pay the $10 or so for the
CD, as it contains all versions of the software, which will make it easier
if you ever decide to upgrade your OS in the future.
------------------------------
From: [EMAIL PROTECTED] (Anthony Ord)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: General Rant from a Linux Newbie
Date: Mon, 13 Sep 1999 17:01:07 GMT
On Sun, 12 Sep 1999 04:13:34 -0700, K. Bjarnason
<[EMAIL PROTECTED]> wrote:
>[snips]
>In article <[EMAIL PROTECTED]>,
>[EMAIL PROTECTED] says...
>> X-Newsreader: Forte Agent 1.5/32.451
>>
>> >For zip files, you double-click the file and up comes (assuming some
>> >nice person has pointed you at it)
>>
>> Assuming?
>
>Typically, you downloaded them yourself, so you know where they went. :)
Not a given - I must admit...
>> >Once the install is done, WinZip comes back up, cleans up after itself,
>> >and you can close it and run your app. Simple, no fancy commands
>> >required.
>>
>> Ooh! That sounds hard!
>
>Somewhat harder than the more conventional approach, yes - which is one
>reason why it's a considerably less popular alternative.
>
>> All I have to do is run dselect and hit "+" next to
>> stuff I want. It automatically takes lets me know about dependencies, so I can
>> see that it requires a 40Mb browser before I even think of downloading it.
>
>Aha. Confusion. I was discussing installs of previously downloaded
>applications, or those distributed on CD, etc. Downloading is
>irrelevant. :)
You use the same method to install off CD, or install from the network, or
install from a directory. It's all the same, you just have to tell the machine
where to look.
>>The
>> I hit install and it even downloads it for me, It then installs and configures
>> and I don't even have to think. Wouldn't it be nice if M$ Windows had
>> something as easy to use as that? You would think it would, especially as they
>> say "ease of use so often".
>
>Actually, at least of the Win2K installer, they do. It even goes one
>step further.
>
>Suppose I want to ship a largish (say 200Mb) application. Of that
>200Mb, probably only 20Mb is "required" - i.e. you can't do anything
>useful without it, so if you're going to install, you're going to get
>this bit.
I hope it tells you this is "required".
>The other bits can be either installed, or "advertised". An advertised
>component _appears_ as if it were installed, but in fact isn't; it gets
>installed automatically if and when you use it
This sounds dodgy. Nothing is installed automatically - it all requires human
intervention, whether that is find the CD or get off the phone. You aren't
telling me that if you click the wrong thing, that Win2K asks for the CD more
than Windows already does are you? Clicking a "mailto:" link accidently
already leads to the internet wizard starting up which irritates me immensely.
>- or never, if you don't
>use it. You can also, of course, select not to install it in any way,
>shape or form, as long as it's not a required component.
>
>Oh, if all this sounds complex, it's not - it's a very simple drop-down
>list with a very limited set of options, presented to the user - but
>only if the user decides to customize the install; if not, he never sees
>it, and gets either the default set of components defined by the vendor,
>or whatever the admin has preconfigured as typical for his network, if
>applicable. If the user doesn't decide to customize his install, he'll
>typically only see maybe four wizard boxes; a license agreement, maybe a
>readme, something indicating size of install and an "Okay, install
>done" box.
>
>So, of that 200Mb application, maybe 20Mb will be installed (if that's
>the way you want it) and the rest can either be not installed at all, or
>automatically installed as needed. Oh, and the user doesn't have to do
>anything fancy, really. If it's a "visible" component, he clicks the
>icon to run the component, and the installer takes over from there. If
>it's not a visible component, then the core application must decide -
>with or without user intervention - what to do about it; either request
>that it be installed, or not.
>
>Note that this "install on demand" functionality is new. Existing
>installers for Windows, however, have traditionally included size
>information, component selection, etc - i.e. the features you mention
>above other than the "install from remote".
What other information does it provide? For example in Debian I get
>Package: libc6
>Status: hold ok installed
>Priority: required
>Section: base
>Installed-Size: 4500
>Maintainer: Joel Klecker <[EMAIL PROTECTED]>
>Source: glibc
>Version: 2.1.2-0pre11
>Replaces: libc6-dev (<< 2.0.110-1), ldso (<< 1.9.10-1.1), timezone, timezones,
>libdb2, locales (<< 2.1.1-1)
>Pre-Depends: ldso (>= 1.8.10-1)
>Recommends: gconv-modules
>Suggests: nscd, glibc-doc, locales
>Conflicts: libc5 (<< 5.4.33-7), libpthread0 (<< 0.7-10), libstdc++2.8 (= 2.90.29-1),
>libstdc++2.9 (<< 2.91.59-2), timezone, timezones, libwcsmbs, libc6-doc, libtricks,
>apt (<< 0.3.0), libglib1.2 (<< 1.2.1-2)
All of which are handled automatically.
Unless Win2k provides somewhere near the same level of information, I can see
the old problem of "install the application, install the service pack, install
some more of the application, the service pack breaks" happening even more
frequently than now.
>> I can even install something over and over again as the version number rises
>> and not be worried that I have 20 different entries for it, and all but the
>> last don't work, and even the last leaves old crap all over my hard disk.
>
>This is an implementation issue, and typically decided by the vendor, in
>the Windows world. Many applications do support side-by-side installs
>with older versions, many don't.
It's not a side-by-side install that I'm talking about, but an over the top
one. DirectX may be the worst for this.
>Take as an example an install I was helped develop. It would examine
>your system (through the registry, a nice convenient place to look for
>pre-existing things) and see if existing versions were already
>installed.
>
>From there, and from your installation information, it could install as
>a side-by-side or as an update, depending on whether you told the
>install to go in overtop of the existing location, or into a new
>location. In either case, it could import existing configuration
>information.
>
>>
>> And if I don't want it anymore, instead of giving it the thumbs up with the
>> "+" key, I give it the thumbs down with the "-" key and off it goes.
>
>Yup. Deselect the component, away it goes.
In windows, "away it goes" is very rarely true. It is removed from the
configuration, but it is still on the hard disk. That *has* been fixed hasn't
it?
>> >The single .exe option is very similar, except that typically you do not
>> >need to explicitly state "Install"; once you've double-clicked the EXE,
>> >it starts the install process automatically, again complete with default
>> >installation locations. Click "Next" a few times, it's done, and it has
>> >cleaned up the temp dir after itself, too.
>>
>> And this downloads itself automatically too?
>
>Does the package description file for "AppFoo" magically appear on your
>machine, without downloading, installing, or being included on your CD?
No magically. Hit update and it gets the whole list of everything currently
available.
For example
---- START INSERT ---
>EIOM Pri Section Package Inst.ver Avail.ver Description
> == Opt contrib/ pike-crypto- <none> 1.0.0-7 Build only package for bu
> == Opt x11 wm2 <none> 4-4 Small, unconfigurable win
> == Opt x11 wmaker-kde <none> 0.60.0-3.99 Window Maker compiled wit
> == Opt x11 wmavgload <none> 0.6.1-1 A CPU load monitor design
> == Opt x11 wmcalclock <none> 1.25-1 A dock.app which simply t
> == Opt x11 wmcpu <none> 1.2-2 Window Maker docking app
> == Opt x11 wmdate <none> 0.5-2 Calendar for window manag
> __ Opt x11 wmfire <none> 0.0.3.8-2 A very cool fiery way of
> == Opt x11 wmgrabimage <none> 0.70-2 maintains a small thumb
> == Opt x11 wmheadlines <none> 1.3-5.1 Linux news website headli
> == Opt x11 wmifs <none> 1.3b1-5 WindowMaker dock app for
=================================================================================
>wmaker-kde not installed; hold (was: hold). Optional
=================================================================================
>wmaker-kde - Window Maker compiled with KDE support
>For a brief description of what Window Maker is, please look for the wmaker
>package. This version is compiled with KDE support (truth be said, KWM),
>whatever that means. (In case you are wondering, no, I don't use this
>package)
>
>Window Maker supports almost all KDE/KWM specific client communication
>protocols, so you can simply replace kwm with Window Maker. With respect
>to KWM, Window Maker has a (much!) smaller footprint, looks (a lot!)
=================================================================================
> wmaker-kde -- 83%, press d for more.
--- END INSERT ---
None of what you see is installed on my system, but that doesn't stop me from
finding out what it is, or what version it is at. All offline, so it's not
costing me.
It's not magic - merely convenience. Then you just give AppFoo a "+" if you
like it and it'll download and install automatically.
>No, I didn't think so. Nor does the setup description for a Windows
>app.
Shocking.
>The only real difference is that - currently - you typically download
>(or have on CD, etc) - the entire installable set; it's just a matter of
>what you install - versus downloading the description, then picking the
>other bits to install, and download if necessary. Which is, in fact, a
>winning point for Linux, assuming that this is standard across all
>currently supported Linux systems.
Now that, I don't know.
>Note that I agree, this install-on-demand-and-download-if-needed is a
>*good* approach.
Not for all people. I prefer the install-on-request, which is slightly but
crucially different. I don't use dial on demand for example, but dial on
request.
>MS seems to think so, too - Windows is adopting that
>strategy, and it will be available on all Windows platforms which are
>currently supported - i.e. not NT 3.51 and not Windows 3.x, but the
>Windows 9.x, NT4 and future platforms.
Regards
Anthony
--
=========================================
| And when our worlds |
| They fall apart |
| When the walls come tumbling in |
| Though we may deserve it |
| It will be worth it - Depeche Mode |
=========================================
------------------------------
From: "Lothar Dickhoff" <[EMAIL PROTECTED]>
Subject: Re: "autoexec.bat"-type service in Linux?
Date: Mon, 13 Sep 1999 10:56:30 +0200
Hi,
the best equivalents to Autoexec.bat in Unix are
"/etc/profile" (will be executed at login time for every user)
This file is owned by root. Be careful when changing
it.
You may create a security leak or prevent yourself
from loggin in !
( Sometimes there is an "/etc/profile.local", which
should be a better
place than /etc/profile, if it exists.)
and "$HOME/.profile". (resides in the users home Directory and will be
executed
at login time only for that user).
I think, that this mechanism is much better than in MS-DOS, it meets the
needs of
a multi - user environment.
The text in /etc/motd will be displayed after login and will not be
executed.
Regs. Lothar
[EMAIL PROTECTED] schrieb in Nachricht <7raga5$unb$[EMAIL PROTECTED]>...
>An ignorant newbie writes:
>
>I have been overcome by the desire to regale all users of my Linux
>system with a welcome text which is to be created by a Perl-script
>and which will change daily.
>
>How can I ensure that the script is called up every time a user logs on?
>Under M$-DrOS it would be simply a case of inserting the command in
>AUTOEXEC.BAT . (Not a very good analogy I know, but it's the best I've
>got). What would be the "equivalent" procedure with Linux?
>
>Yours in anticipatory gratitude
>
>Schablonksi
>
>--
>It might seem like a stupid question to you, but I'm the one doing the
>asking.
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
------------------------------
From: "Christopher W. Aiken" <[EMAIL PROTECTED]>
Crossposted-To: tw.bbs.comp.linux
Subject: Re: Linux Sed command to add newline
Date: Mon, 13 Sep 1999 13:45:23 -0400
In your sed example change the "x" to a "Ctrl-V Ctrl-M"
(i.e. two characters a control-v followed by a control-m)
That should change all occurrences of "new" to a "linefeed".
...cwa
Bosco Tsang wrote:
> Hi,
>
> Is there any command in sed that I can replace the character to a
> newline (sed 's/new/x/g', what's to be in the place of x to change new
> to a linefeed)?
>
> Please reply via email if possible.
>
> --
> No Junk or Commercial Mail Please, Thanks.
> This Email Address is NOT FOR SALE by anyone
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
--
===================================================================
Christopher W. Aiken
[EMAIL PROTECTED]
www.cwaiken.com
SuSE 6.0, Kernel 2.2.12
The box said 'WIN95/98 or better.' so I installed LINUX!
------------------------------
From: [EMAIL PROTECTED] (Timothy J. Lee)
Subject: Re: Swapping harddrives, this is confusing, I need help
Date: 13 Sep 1999 17:20:05 GMT
Reply-To: see-signature-for-email-address---junk-not-welcome
[EMAIL PROTECTED] writes:
|Hi,
|
|Here's my very basic setup:
|8 Gig drive-Totally 95
|1.2 Gig drive-Linux
|2 Gig drive-Blank 95 partition
|
|Here's what I need to do:
|1. Copy 95 drive to the 95 partition (all the files should fit in the
|two Gigs.
|2. Reformat and repartition 8 Gig drive.
|3. Copy linux to the new 8 Gig drive.
|
|Here's what I need to know:
|1. Dos command to copy entire directory sturcture. I've tried the
|normal copy c:\*.* d:\ and it only copies files, not directories
xcopy
|2. The linux command to do basically the same thing
dump, restore
|3. Linux command to make a LILO boot disk.
mkbootdisk
--
========================================================================
Timothy J. Lee timlee@
Unsolicited bulk or commercial email is not welcome. netcom.com
No warranty of any kind is provided with this message.
------------------------------
From: David Orriss Jr <[EMAIL PROTECTED]>
Subject: Re: SuSE 6.2 US - man tar in German?
Date: Mon, 13 Sep 1999 17:07:00 GMT
In article <[EMAIL PROTECTED]>,
Shaw Carruthers <[EMAIL PROTECTED]> wrote:
>
> You could use 'info tar'.
>
>
I'll try that when I get home tonite.. thanks!!
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************