Linux-Misc Digest #767, Volume #21 Sat, 11 Sep 99 17:13:10 EDT
Contents:
question about TSC and multiprocessor machine (Dave Meyer)
Re: Amiga, QNX, Linux and Revolution (Joe Cosby)
C-Kermit 7.0 Beta.10 Ready for Testing (Frank da Cruz)
Re: HELP! How to login and activate DSL????
Re: gcc complier is unable to compile c++ source ([EMAIL PROTECTED])
Re: Staroffice Aborts on startup.. (Adrian Hands)
Re: Accessing DB2/400 from perl on Linux (Jonathan Stowe)
Re: Kernel 2.2.5-22 SMP/ Hang under high traffic load? (Leslie Mikesell)
Re: Figure Out The MS Source Code Yourself (Torsten Poulin)
Re: Absurd Linux mentality ! (Leslie Mikesell)
Re: xfs on Redhat 6.0 (Troy Carter)
Re: Req.: Experience with SyJet Drive (SyQuest) (Leslie Mikesell)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Dave Meyer)
Subject: question about TSC and multiprocessor machine
Reply-To: [EMAIL PROTECTED]
Date: Sat, 11 Sep 1999 19:25:02 GMT
I'm using a high resolution timer which uses the rdtsc Pentium
instruction, and I'm occasionally getting very strange results. The
machine I'm using is a dual Pentium III/550, and the application I'm
timing is multithreaded.
Two questions: could my strange results to due to the process
(or thread) switching processors? And if so, is there anything I can
do about it?
Thanks in advance,
Dave
--
David M. Meyer
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Joe Cosby)
Crossposted-To: comp.os.qnx,comp.sys.amiga.misc
Subject: Re: Amiga, QNX, Linux and Revolution
Date: 11 Sep 1999 19:25:10 GMT
** To reply in e-mail, remove "jiqkaf." from address **
Guy Macon hunched over his computer, typing feverishly;
thunder crashed, Guy Macon laughed madly, then wrote:
>
>
> In article <7r7iqf$cji$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>(Joe Cosby) wrote:
> >
> >** To reply in e-mail, remove "howsyz." from address **
> >
> >Guy Macon hunched over his computer, typing feverishly;
> >thunder crashed, Guy Macon laughed madly, then wrote:
>
>
> (speaking of human interface in general and cars in particular)
>
>
>
> >And from the interface design level, what could be done differently, so that Jane
> >wouldn't 'have to worry about' structure? MS provide two good solutions. She might
> >have clicked the 'File' menu, and checked her last four files from within Word. She
> >might have clicked 'Start'->'Documents' from the patented Windows Upside-Down Menu
> >(tm) and found her last doc that way.
> >
> >But I think the problem with these two solutions is immediately obvious. They
>-add- to
> >the amount of knowledge necessary for Jane to handle her computer.
> >
> >So the next step seems to be to say "well, they should be her -primary- interface".
>
> Maybe so, but these interfaces also have things they do poorly (like finding
> last year's christmas card list). Other methods that come to mind are having
> a search engine interface or making HTML style hyperlinks really easy for
> Jane to create, so that she makes a link rather than saving a file, and clicks
> the link rather than retrieving the file. MS also provides a *much* better
> solution to the particular case Cooper relates; the person who changed the
> default directory should have had his own desktop settings. If Jane was
> using NT, she must have given him her password, otherwise any default
> directory changes would apply only to him without changing her settings.
> Your point still stands, though, because Jane can change her default
> directory by accident. She *needs* to understand about directories and
> defaults - until OS designers make systems where she doesn't. Even then,
> she will have to learn what is "universal across platforms".
>
I can really see that.
Jane starts up her computer. If she holds down both mouse buttons
as it boots, she is given a screen allowing her to choose
'supervisor' or 'Jane'. Otherwise she boots into the 'Jane'
workspace.
Let's say she has 'Scheduler' and 'Word' installed. Booting into
the 'Jane' workspace, she is given a screen with two 'button'
regions, one labeled 'Scheduler' and the other labelled 'Word'.
She clicks on Word. At this point, a timeline icon appears, going
'back in time' will take her back to the 'Choose Program' screen,
going forward will return her towards her latest point.
Opening Word, she gets a screen with a list of all her word docs.
Nothing else on the screen, but the floating timeline gadget. She
clicks on a doc, or 'New Doc', and that opens for editing. At any
point, she has a 'Document Name' gadget, if she changes the name
of the doc it saves (transparently) under that new name.
When she exits, the doc saves. Why shouldn't it? From her 'list
of word doc' screen, she has a trashcan, with maybe a five or ten
level 'undo' function. Actually, I can't see a reason for more
than one level of 'undo'.
Her 'Word' screen would have 'available storage' displayed along
the top. Maybe 'available work space' (RAM) also.
...
>From 'supervisor' mode, there would be a 'Jane' directory, with a
'Word' and a 'Scheduler' subdirectory.
...
I can see a lot of 'issues' with that, but for a user with a very
distinct set of needs and no 'power user' urges, that would be a
-much- more pleasant work environment.
Really, it resembles the Mac interface, but is even easier. And
of course, with the 'Supervisor' mode, there is more flexibility
for those who -do- want 'power user' abilities.
--
Joe Cosby
Amiga Fanatic
------------------------------
From: [EMAIL PROTECTED] (Frank da Cruz)
Crossposted-To:
comp.protocols.kermit.misc,comp.std.internat,comp.sys.hp.hpux,comp.unix.solaris,comp.unix.aix,comp.os.qnx,comp.os.vms,comp.os.aos
Subject: C-Kermit 7.0 Beta.10 Ready for Testing
Date: 11 Sep 1999 16:16:06 -0400
C-Kermit 7.0 Beta.10 for UNIX, VMS, Plan 9, and AOS/VS is ready for
testing (other platforms should follow later):
http://www.columbia.edu/kermit/ck70.html
The main addition since Beta.09 (and hopefully the last major
addition before the final release) is Unicode support.
For those who haven't heard of it, Unicode (ISO 10646) is the new
Universal Character Set (UCS), which represents most of the world's
scripts (Roman, Hebrew, Cyrillic, Arabic, Greek, Chinese, Japanese,
Korean, etc) in a single (more-or-less) "flat" 16-bit encoding. To
learn more about Unicode, visit:
http://www.unicode.org/
Kermit protocol and software have included character-set
translation capabilities since the 1980s, allowing conversion of
text among the many "traditional" character sets like the ISO 8859
Latin Alphabets, PC code pages, IBM mainframe EBCDIC code pages,
ISO 646 national character sets, KOI sets, JIS sets, and assorted
proprietary sets (DEC, DG, Apple, NeXT, etc).
With growing acceptance of Unicode, there is increasing need for
importation of text in "traditional" encodings into Unicode platforms
or applications, and to a lesser degree for export of Unicode text to
non-Unicode environments. C-Kermit now offers these services over a
wide range of platforms and communication methods.
. UCS-2 and UTF-8 are now supported as transfer character sets
(the small number of international standard character sets
allowed "on the wire" in Kermit file transfer; each Kermit
file-transfer partner converts between its local encoding
and the transfer encoding) (UCS-2 and UTF-8 are two
different representations of Unicode / ISO 10646).
. UCS-2 and UTF-8 are now supported as file character sets.
Incoming text can be stored in either UTF-8 or UCS-2, and
UCS-2 or UTF-8 text can be sent with conversion to any
appropriate transfer character set (including conversion of
UCS-2 to UTF-8 or vice-versa).
. C-Kermit's TRANSLATE command can be used to convert
traditional files to UCS-2 or UTF-8 (and, to the degree
possible, vice versa) on the local computer, as well as
between UCS-2 and UTF-8.
. C-Kermit can conduct UTF-8 terminal sessions, even when its
local character set is not Unicode. (It is also programmed
to do the reverse -- i.e. make connections from a UTF-8
console or Window to a non-Unicode host, but this has not
been tested yet.)
. C-Kermit's TRANSMIT command can perform "ASCII" (nonprotocol)
uploads of text files, converting them to UTF-8 on the fly.
Or it can upload UTF-8 or UCS-2, converting it to some other
set, etc etc.
(Obviously whenever translating from Unicode to a smaller set,
Unicode characters that are not in the smaller set are lost, just
like when converting from, say, Latin-1 to German ISO 646.)
C-Kermit 7.0 Beta.10 is available at:
http://www.columbia.edu/kermit/ck70.html
The Web page lists all the other new features since the previous
release, 6.0, in September 1996. Beta.10 should be the last, or
maybe next to last, test version before the final 7.0 release. It
has already been built successfully on more than 130 different
platforms (prebuilt binaries are available and are listed at the end
of the Web page; if you can built others, please let me know). Until
a new edition of the C-Kermit manual is published, the new features
of version 7.0 are documented in the (plain text) ckermit2.txt file;
Section 6.6 describes the new Unicode features.
Please send any questions or report any problems to:
[EMAIL PROTECTED]
Thanks!
Frank da Cruz
The Kermit Project
Columbia University
P.S. This announcement was originally posted nearly a week ago but
never seemed to get out to the newsgroups. My apologies if you are
seeing it twice!
------------------------------
From: <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: HELP! How to login and activate DSL????
Date: 11 Sep 1999 20:08:14 GMT
VMware looks pretty slick and might do the trick for me Andrew. Thanks for
the idea! I've been planning on trying WINE also. Also, Kevin, my DSL
isn't actually a 24 hour connection unfortunately. My area is new to DSL,
so 24 hour DSL service isn't offered yet. Instead, I must use Cisco
Commander (a windows app) to "login" and activate my DSL connection to the
net. Once I've done so, I'm on the net for 2 hrs, afterwhich I'm booted off
and must "login" again. I'd like to find a pure Linux solution for this
login process, but it's looking grim so far. vmware is the best solution so
far (if it ends up working with Cisco Commander okay). Thanks though for
the reply. If you have any other ideas, I'm all ears!
Thanks again!
> Hey Andrew!
> Andrew Smith wrote:
> ? it's far from an ideal solution, but you could use a program called
> ? (www.vmware.com - i think). it allows you to create 'virtual computers'
> ? inside your own. what you could do is boot into linux and use vmware to
> ? create a win9x machine. install windows and the connection program on
> your
> ? 'new' computer, and whenever you want connect, just change task to your
> ? virtual machine and log on again. maybe you could use some sort of script
> in
> ? windows (or visual basic if you know it) to automatically logon again
> every
> ? 2 hours.
> ?
> ? hope this helps,
> ?
> Fraid not Andrew. I have vmware, and although it works great, I don't
> think it's a suitable fix for this particular problem. Since DSL is a 24
> hour connection to the net, I don't think using a virtual machine is a good
> way of utilizing this connection, while maintaining the security Linux
> users have come to enjoy.
> My advice is to learn DHCP. I just got a DSL connection today, and have
> gotten it working in WinNT. I will attempt to get it going in SuSE linux,
> tommorrow, and will post my results if I succeed.
> btw - vmware is pretty cool. If you're tired of the blue screen of death
> and all the other usual Windoze problems, its a great solution!
> Kevin Maloney
> ------------------ Posted via CNET Linux Help ------------------
> http://www.searchlinux.com
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: gcc complier is unable to compile c++ source
Date: Sat, 11 Sep 1999 20:00:17 GMT
In article <[EMAIL PROTECTED]>,
ovaaw <[EMAIL PROTECTED]> wrote:
>I have a problem with my gcc compiler. Compiling c works ok, but when i
>try to compile my c++ program by typing gcc -o programma1 programma1.C
>the following message is returned by the compiler:
>cannot exec cc1plus. This file (the c++ compiler) apparently is not
>present on my system. How can I obtain it and in which directory should
>it be executed from?
>
>Your help would be very much appreciated.
>
You don't say what distribution you have. I can say something
about my distribution, slackware 4.0, that it comes with an EGCS package.
I did not choose to install it when I built my system, but later I wanted
to look at the source for the compiler, so I went to one of the source
CDROMs that came with my 4 CD slack distribution and pulled out egcs.tgz
and was able to build the g++ (gnu C++) compiler from source, also
with options for objective C, FORTRAN, and maybe some others that I didn't
try. The egcs version is 1.2.2. Hope this helps.
--
No statement is wholly true, not even this one.
also: remove "UhUh" and "Spam" to get my real email address -----
------------------------------
From: Adrian Hands <[EMAIL PROTECTED]>
Subject: Re: Staroffice Aborts on startup..
Date: Sat, 11 Sep 1999 14:55:52 -0400
Reply-To: [EMAIL PROTECTED]
Carl Fink wrote:
> The file "soffice" is actually a script. You might try inserting
> some echo commands and finding out what line the script is dying on.
Or, run the script like this:
$ bash -x /u04/Office50/bin/soffice
> Running the actual program (soffice.bin) in the gdb debugger might
> also be illuminating.
Or,
$ export
LD_LIBRARY_PATH=/u04/Office50/lib:/var/jdk/lib/i586/green_threads
$ strace /u04/Office50/bin/soffice.bin
> --
> Carl Fink [EMAIL PROTECTED]
> "This fool wishes to reverse the entire science of astronomy."
> -Martin Luther on Copernicus' theory that the Earth orbits the sun
------------------------------
From: Jonathan Stowe <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.perl.misc
Subject: Re: Accessing DB2/400 from perl on Linux
Date: 11 Sep 1999 20:16:26 -0000
Reply-To: Jonathan Stowe <[EMAIL PROTECTED]>
In comp.lang.perl.misc Juan Riera <[EMAIL PROTECTED]> wrote:
> hello,
> Does anybody knows if is there any way of accessing DB2/400 data on an
> AS/400 server from a perl CGI script on a linux box? I have worked with
> DBI/DBD for MySQL.
>
There may be some way of doing this but some service is going to have
to be provided on the AS/400 - you might be able to implement something
using the AS/400 port of Perl.
/J\
--
Jonathan Stowe <[EMAIL PROTECTED]>
Some of your questions answered:
<URL:http://www.btinternet.com/~gellyfish/resources/wwwfaq.htm>
Hastings: <URL:http://www.newhoo.com/Regional/UK/England/East_Sussex/Hastings>
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.os.linux.networking
Subject: Re: Kernel 2.2.5-22 SMP/ Hang under high traffic load?
Date: 11 Sep 1999 15:16:57 -0500
In article <[EMAIL PROTECTED]>,
John Murtari <[EMAIL PROTECTED]> wrote:
>>
> The "hang" has occurred twice in the last three days and
>it is QUITE a problem. Have see the following message on the
>console display:
>
> "Unable to handle kernel paging request"
> "Aiee, killing interrupt handler"
> "Kernel panic: Attempted to kill idle task"
>
> It appears the system does not "sync", so none of this gets
>into the log files.
>
> This is on a Gateway ALR 7000 server with two Pentium-II (300).
I suspect this is related to some hardware component. I have had
similar problems on one machine with about every kernel from 2.0.36
to 2.2.12. I can't reproduce it on demand, but it won't run a full
day under heavy disk and network loads (it crashed about every 2
weeks in normal operation). Meanwhile a couple of other SMP machines
with different motherboards have been up for several months running
the same software. On the problem machine it doesn't seem to make
a difference if I disable SMP in the kernel. I haven't tried physically
removing the 2nd CPU yet.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: Torsten Poulin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Figure Out The MS Source Code Yourself
Date: Sat, 11 Sep 1999 21:51:57 +0200
In comp.os.linux.development.apps bilge <[EMAIL PROTECTED]> wrote:
> You havent read the digital millennium copyright act. It provides
> for criminal penalties if you even interfere with the normal
> functioning of the software as determined by the copyright holder.
> Then things take a turn for the worse...
>
> One could construe that applying a patch which is unapproved
> by the vendor as a violation of the copyright, subject to
> criminal penalties, for example. Read it, if you have not.
Hmm, we certainly live by different rules. The Danish law covering
this (and I assume the rest of the EU has similar legislation) says,
in rough translation, that
"Somebody who has the right to use a software program, may [...]
produce copies of the program and make changes to the program that are
necessary for the person in order to make use of the program according
to its purpose, including the correction of errors [...] inspect,
investigate or test the software program to establish what ideas and
principles underlie the separate elements of the program [...]"
"Copying of a software program's code and translation of the form
of the code is legal when this is necessary to obtain the information
necessary to achieve interoperability between an independently developed
software program and other software programs [...]"
It is interesting to note that these rights cannot be limited by
agreement.
-Torsten
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Subject: Re: Absurd Linux mentality !
Date: 11 Sep 1999 14:56:19 -0500
In article <7rbefl$p6s$[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote:
>My heading is a bit extreme - perhaps ?
>
>Linux users who are proud that they learned what:
>" cd /home; tar cvpf - * | ( cd /newhome; tar xvpf - ) "
> means; don't yet realise that knowledge of this arbitrary syntax, will be of
> no use to them in 10 years time.
Beg your pardon? That knowledge has served me well for at least
the last 15 years and I expect it to continue to be useful until
something better comes along. By contrast, everything I've done
with mouse-point-and-click of equivalent complexity was obsolete
in a year or less. Note that the command line pipes only require
the logical changes to work identically across networks or archive
devices:
cd /home; tar -cpf - . | rsh othermachine 'cd /home && tar -xpf - '
cd /home; tar -cpf /dev/tape .
cd /home; tar -xpf /dev/tape
>If you want to move your coffee cup from the left side to the right side,
>you use what I'll call a 'visual method': you look at the cup and at your
>hand manipulating the cup, until the task is completed. Linux mentality
>prefers to wear a blindfold and manipulate the cup via the telephone
>using a necessarily arbitrary syntax.
And unsuprisingly, it works in the dark and can be automatated to
the full extent that the inputs are known ahead of time. If you
make 'current mouse position' or 'cursor highlight' one of the
variables it becomes much more difficult to automate predictably.
One of the purposes of using computers is to automate frequently
repeated tasks and command line control is much easier to make
fully automatic than the current crop of GUI's.
>I've seen reports that cp -a /home/* /newhome will work, but I use
It will, but -a is only an option for the GNU version of cp. And
now you can't extend the syntax logically to work across machines
or tapes.
Les Mikesell
[EMAIL PROTECTED]
------------------------------
From: Troy Carter <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: xfs on Redhat 6.0
Date: Sat, 11 Sep 1999 15:37:04 -0400
I haven't read all of the posts in this thread, but so far all I saw was
a discussion of fonts causing netscape to behave badly. There is one
more thing to try - I got this by reading the Redhat/netscape errata,
(where I also saw the comments on the 75dpi font problem):
This environment variable needs to be set for java to work correctly,
apparently:
MOZILLA_HOME=/usr/local/netscape export MOZILLA_HOME
(Insert the correct path to your netscape installation, mine's in
/usr/local/netscape)
HTH
-Troy
Roch Plamondon wrote:
>
> Is it possible that the only problem is the order in which directories
> appear in xfsconf file ?
>
> --
> Roch Plamondon
--
========================================================
Troy Carter
228A Marshall Av. (609) 430-9158 (H)
Princeton, NJ 08540 (609) 243-2941 (O) (PPPL)
[EMAIL PROTECTED] http://www.princeton.edu/~tcarter
========================================================
------------------------------
From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To:
comp.os.linux.hardware,de.comp.os.unix.linux.hardware,de.comp.os.unix.linux.misc
Subject: Re: Req.: Experience with SyJet Drive (SyQuest)
Date: 11 Sep 1999 15:07:51 -0500
In article <[EMAIL PROTECTED]>,
David Rabanus <[EMAIL PROTECTED]> wrote:
>The problem that I have is that I don't have a SCSI bus. I have to use
>their Parallel-2-SCSI cable. I heard that there are special drivers needed.
>
You need drivers for the parallel adapter but you also could get
a standard SCSI card and cable which would work without any
extra drivers. I have interal drives (IDE at work, SCSI at home)
and run both with Linux and no extra drivers. Too bad they
went out of business...
Les Mikesell
[EMAIL PROTECTED]
------------------------------
** 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
******************************