Linux-Development-Sys Digest #645, Volume #8 Sat, 14 Apr 01 23:13:10 EDT
Contents:
Re: BUG: ftime inconsistent [RH7-fisher (kernel 2.4)] (Tim Roberts)
Re: glibc2.2.2 make error (Greg Ellison)
I mistakenly uninstalled the rpm package..(how to install it back) ("v.nagasrinivas")
Re: Need your recommendation for a full-featured text editor (jack horsfield)
Re: glibc2.2.2 make error (Greg Ellison)
Philips PCI SAA 7145 ("Dirk Riebesell")
Re: howto properly access serial devices in Perl or C (Ulrich Eckhardt)
Re: Need your recommendation for a full-featured text editor (Eric Taylor)
Re: Need your recommendation for a full-featured text editor (Randall Parker)
Re: Need your recommendation for a full-featured text editor (Randall Parker)
ide_cs or ide-cs or what? (Harmon Seaver)
Re: firewire on linux ([EMAIL PROTECTED])
/sbin/installkernel (Timothy Murphy)
----------------------------------------------------------------------------
From: Tim Roberts <[EMAIL PROTECTED]>
Subject: Re: BUG: ftime inconsistent [RH7-fisher (kernel 2.4)]
Date: Fri, 13 Apr 2001 23:27:41 -0700
[EMAIL PROTECTED] (Sten) wrote:
>
>I have done more research and have not found
>much. I have also modified my sample app to
>detect 'spikes' in the time reported. The wierd
>part is that the 'spikes' are happening sporatically
>and are a consistent size. Here is a sample output
>from the new test app:
>
>987109039 spike 4295 seconds (71.5833 minutes)
>987109040 spike 4295 seconds (71.5833 minutes)
>987109041 spike 4295 seconds (71.5833 minutes)
>
>Note that the spikes are about 72 minutes... which
>struck me as odd, considering this snippet from
>the clock() manpage:
>
> Note that the time can wrap around. On a 32bit system
> where CLOCKS_PER_SEC equals 1000000 this function will
> return the same value approximately every 72 minutes.
>
>What exactly does this mean? The CPU is confused?
Not at all. It means that the return value for clock() is as milliseconds
in a 32-bit integer. 71.5833 minutes is 4,295,000,000 milliseconds, and
that exceeds the range of a 32-bit integer.
ftime() is obsolete. It is broken in glibc 2.0 and 2.1.1. gettimeofday()
is recommended instead.
--
- Tim Roberts, [EMAIL PROTECTED]
Providenza & Boekelheide, Inc.
------------------------------
From: Greg Ellison <[EMAIL PROTECTED]>
Subject: Re: glibc2.2.2 make error
Date: Sat, 14 Apr 2001 17:58:09 +0800
Greg Ellison wrote:
> Nix wrote:
>
> > On Fri, 13 Apr 2001, Greg Ellison said:
> > > memusagestat.c:36:16: gd.h: No such file or directory
> >
> > OK, it looks like glibc has concluded you have libgd when you do
> > not. (If you do, install its headers.)
> >
> > What does your config.log say, around `checking for libgd'?
> >
> > --
> > Rusks for Peace!
>
> This is from the config.log
> configure: 3290: checking for libgd "This didn't tell me much so I
> reran configure and it said yes for libgd.
> What do you mean by install the headers,where,how?
> I'm fairly new to this so thanks
> Greg
After checking I found the libgd.so.1.8.3 in /usr/lib
The header gd.h is in /usr/include but not in the linux-2.2.16/include and
I assume that this is where glibc-2.2.2 get its headers as they are the
same
How do I get it to use the /usr/include ones, do I use
--with-headers=/usr/include
or --with-headers=/usr/src/linux-2.2.16/include /usr/include ????
Greg
------------------------------
From: [EMAIL PROTECTED] ("v.nagasrinivas")
Subject: I mistakenly uninstalled the rpm package..(how to install it back)
Date: Sat, 14 Apr 2001 10:01:57 +0000 (UTC)
This is a multi-part message in MIME format.
=======_NextPart_000_0005_01C0C4F6.A10A9C80
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi,
I am Using SuSe 6.3 evaluation version linux,
After installing the linux, I mistakenly selected the rpm packages( =
through install/delete option of YAST(yet another
setup tool) tool).
Then its (Yast is giving trouble for selecting any =
other package or so).
How to get it back rpm with out reinstalling the linux...
Could you please help me...
thanks,
Srinivas
http://www.geocities.com/cheluvi
=======_NextPart_000_0005_01C0C4F6.A10A9C80
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; =20
I am Using SuSe 6.3 evaluation version linux,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>After installing the linux, I =
mistakenly selected=20
the rpm packages( through install/delete option of YAST(yet =
another</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>setup tool) tool).</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2> &nbs=
p; =20
Then its (Yast is giving trouble for selecting any other package or=20
so).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>How to get it back rpm with out =
reinstalling the=20
linux...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Could you please help =
me...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>thanks,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Srinivas</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"http://www.geocities.com/cheluvi">http://www.geocities.com/cheluv=
i</A></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>
=======_NextPart_000_0005_01C0C4F6.A10A9C80==
--
Posted from ns.stph.net [196.12.32.2]
via Mailgate.ORG Server - http://www.Mailgate.ORG
------------------------------
From: [EMAIL PROTECTED] (jack horsfield)
Crossposted-To:
24hoursupport.helpdesk,alt.comp.shareware.programmer,comp.editors,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.os.linux.advocacy
Subject: Re: Need your recommendation for a full-featured text editor
Date: 14 Apr 2001 11:59:36 GMT
>EMACS is a monster. It takes over 20 MB memory and starts very
>slowly (>10sec).
>It tries to do everything, but is short at most thing. I know many
>people love
>it after they have mastered it, but it takes time.
>Most modern software packages have nowdays their own IDEs which
>are mostly more appropriate choices as primary tool.
>
gosh, does it really. i use a completely different emacs:
http://www.scottb.demon.co.uk/emacs/emacs7.html
and for a bit of history:
http://www.finseth.com/~fin/emacs.html#20
it uses nothing like 20MB and starts up very quickly.
futher, it defaults to a (no flames please) Windows key map. so ^X ^C
^V do the Windows stuff. but you can, of course, turn that off.
jack
This is a REPEATABLE error situation
------------------------------
From: Greg Ellison <[EMAIL PROTECTED]>
Subject: Re: glibc2.2.2 make error
Date: Sat, 14 Apr 2001 20:32:57 +0800
Used --with-headers=/usr/include and it made.
make check then
test-tgmath.c:219: parse error before `__tgmres'
test-tgmath.c:219: parse error before `__tgmres'
make[2]: *** [/usr/src/linux-2.2.16/glibc-2.2.2/compile/math/test-tgmath.o]
Error 1
make[2]: Leaving directory `/usr/src/linux-2.2.16/glibc-2.2.2/math'
make[1]: *** [math/tests] Error 2
make[1]: Leaving directory `/usr/src/linux-2.2.16/glibc-2.2.2'
make: *** [check] Error 2
The penny finally fell. This is a DEVELOPMENT source and I shouldn't be here.
Sorry...................(at least untill
I get away)
------------------------------
From: "Dirk Riebesell" <[EMAIL PROTECTED]>
Subject: Philips PCI SAA 7145
Date: Sat, 14 Apr 2001 14:34:18 +0200
Hi,
Does anybody have any information over this Chip??? Any routines for C++???
How to handle it.
In my enviroment it is on mulitmedia PCI Card.
Thanks for all help
Dirk
------------------------------
From: Ulrich Eckhardt <[EMAIL PROTECTED]>
Subject: Re: howto properly access serial devices in Perl or C
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.development.apps,de.alt.comm.isdn4linux
Date: Sat, 14 Apr 2001 12:56:32 +0200
Ingo Ciechowski wrote:
> I'd like to access some serial device on my linux box bidirectionally, but
> for some reason don't get connected to the device. Seems as if special
> precautions are required...
there's the serial-programming howto with some C examples
------------------------------
From: Eric Taylor <[EMAIL PROTECTED]>
Crossposted-To:
24hoursupport.helpdesk,alt.comp.shareware.programmer,comp.editors,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.os.linux.advocacy
Subject: Re: Need your recommendation for a full-featured text editor
Date: Sat, 14 Apr 2001 18:04:36 GMT
Ok, this is going to sound crazy, but I actually do this:
I need to work on linux, windows, and mac. So, I have 3 systems,
networked. I cannot get away with just a single text editor. So...
1. When on linux at the workstation, I never need to do heavy editing,
so I try to use gedit. In a pinch, I actually use 'ed' since I never
learned vi, and i've used ed for over 20 years, which exists on
every unix box and is good for making a 1 or 2 line change. Mostly
I use this when coming in over telnet. Knowing ed means you also know
sed.
2. For C development, I try to develop on my windows box using
(sorry) MICROSOFT VIS C version 6. As an environment, I have never seen
anything better. I have toolbar macros that generate all common
programming fragments, like for loops, if-elseif-else blocks etc.
Dragging and dropping text is a must, and the automatic parameter
fill-in etc. goes way beyond a text editor. The ability to locate
all uses of a variable etc. is necessary, now that my brain is getting
too old to remember. And doing greps is just too hard a way to find
things.
The browsing windows along with the "go back" button makes programs look
like hypertext.
I've even used it as just an editor where I load/save my file to a nfs
exported
linux disk, since it is a superb editor even w/o the browse feature.
It actually seems to be always scanning my code since as soon as I add
a structure or class, it knows about it and can prompt me with the
structure or class members even w/o compiling.
3. And sometimes I use a program called BBEDIT on the mac. It has
load/save
over ftp and supports lots of html type editing. It also has about the
best file differencing I've yet seen. It lets you compare files,
directories,
etc. and then gives you a summary window where you can see all the
differences
and by clicking on a line it brings up 2 source windows side by side
with a third
window showing all diffeences and as you scroll down adjusts the 2
source
windows to show what changed. A couple of buttons lets you choose what
changes you want (e.g. I want to apply a difference in one file into
the other file - useful when 2 people have been changing the same file).
It has syntax coloring for languages like c,perl, etc. It understands
functions or
procedures in the various languages and creates a menu popup with
all the functions/procedures etc. This is a program I wish was portable
to the pc or linux, though it does understand the 3 line terminator
styles.
So, given your list of requirements, I don't think there is really
any single product out there that would serve your needs, but if you
can figure out how to make your files system independent (mostly by
understanding the different line terminators) and can access them
over the net, then I think you can get close to what you want.
Knowledge Seeker wrote:
>
> Hi,
>
> I am looking for a full-featured yet easy to use text editor to
> replace Notepad. Ideally, I would like a tool that is cross-platform
> or has versions for Win98 and Linux. The main platform requirement
> would be Win98 and the nice-to-have platform is Linux.
>
> There seem to be a plethora of choices that might work:
> UltraEdit
> TextPad
> EditPlus
> WinEdit
> Multi-Edit
> Zeus
> CRiSP
>
> Right now I am leaning to UltraEdit but I have not done a true
> rigorous evaluation. I would definitely like to hear from anybody
> that has done a true objective comparative evaluation of these
> products (or others that I have not listed).
>
> My actual requirements are:
>
> Must haves:
> 1. Syntax highlighting (with color and or font) for HTML and Java
> 2. Robust cut and paste including row, AND column AND block
> capabilities
> 3. Split and join functions based on margin or specified column
> 4. Ability to intelligently remove prefix characters (i.e. ">") and
> re-format text to new margins keeping paragraphs intact (i.e. fixing
> forwarded email text)
> 5. Ability to edit multiple files side-by-side
> 6. Ability to compare files and synchronize multiple similar files
> flagging differences
> 7. Robust search and replace capabilities (ideally supporting
> regular expressions)
> 8. Line numbering
> 9. Column numbering
> 10. Auto-completion (based on customizable template)of common
> programming statements
> 11. Ability to preview HTML pages (including Java applets) easily
> 12. HTML toolbar (I know I should know all the tags but I just cannot
> remember them all)
> 13. Can be used as a replacement for Notepad (so it must be
> relatively quick and have a small footprint)
> 14. Highlights URL and e-mail addresses and launches browser or email
> client in a separate window when clicked
> 15. Ability to change case for entire selected text
> 16. Auto indent based on user-defined templates for each programming
> language
> 17. Auto alignment (I.e. if I want a set of lines with the "=" sign
> or decimal point or comma aligned on multiple rows)
> 18. Undo capability
>
> Nice to haves:
> 1. Syntax highlighting for Perl, C/C++, and SQL. Also, extensibility
> for other programming languages based on easily customized syntax
> files.
> 2. Ability to use FTP
> 3. Spell checker
> 4. Ability to compile from within the editor
> 5. Keystroke save/execute (i.e. macro capability)
>
> --
> eCommerce Knowledge Seeker
------------------------------
From: Randall Parker <[EMAIL PROTECTED]>
Crossposted-To:
24hoursupport.helpdesk,alt.comp.shareware.programmer,comp.editors,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.os.linux.advocacy
Subject: Re: Need your recommendation for a full-featured text editor
Date: Sat, 14 Apr 2001 20:10:58 GMT
On Tue, 10 Apr 2001 09:14:16 -0700 esteemed Tom Almy did'st hold forth thusly:
> Only for UNIX hackers. For the rest of the world, THE editor is
> TECO. What other editor handles paper tape so easily? TECO has
> withstood the test of time. Get it (free) here:
Tom, you are absolutely correct. I forgot all about how I used TECO on a Terak
(PDP-11 instruction set with LSI-11 chips). If it was okay then it must truly
be GREAT by now.
Of course, back then I used vi mostly and downloaded to the Terak just to
test.
>
> http://www.aracnet.com/~tomalmy/teco.html
>
------------------------------
From: Randall Parker <[EMAIL PROTECTED]>
Crossposted-To:
alt.comp.shareware.programmer,comp.editors,comp.lang.java.help,comp.lang.java.programmer,comp.lang.java.softwaretools,comp.os.linux.advocacy
Subject: Re: Need your recommendation for a full-featured text editor
Date: Sat, 14 Apr 2001 21:02:46 GMT
On Wed, 11 Apr 2001 14:57:08 -0400 esteemed Aaron R. Kulkis did'st hold forth
thusly:
> Syntax highlighting is useful for NOVICE programmers.
>
> Most experienced programmers have used one-color text
> for program code for years...
I happily switched to syntax highlighted code as soon as it became possible.
I've used syntax highlighting for:
Java
Basic
C/C++
Perl
HTML
Javascript
DSP assembly
probably some others I'm forgetting
I find it speeds up my ability to make sense of a screen of text. It also is
great for real-time catching of syntax errors when, for instance, you forget
to end a string quote and the rest of the page gets colored as if it was a
string constant.
I also like editors that can parse and display on the side the list of
methods, data members, etc of a class. Class browsing and navigation within a
file by clicking on method and variable names is great. Also, having the list
of variables and methods use different coloring or icon types for variables vs
methods, private vs public methods and so on is helpful.
Also, code completion with pop-down lists of methods and args to methods and
so on is quite helpful as well.
I like having smart tools that understand what I'm doing.
------------------------------
From: Harmon Seaver <[EMAIL PROTECTED]>
Subject: ide_cs or ide-cs or what?
Date: Sat, 14 Apr 2001 22:25:07 GMT
I can't seem to get my pcmcia reader to work with flash cards under
2.4.3 -- it can't find the ide_cs.o module, although that should be compiled
as a module. I see elsewhere mention of a problem with the /etc/pcmcia/config
having ide_cs.o (like it always was) and the new kernels do it as
ide-cs.o -- so anyway I tried it both ways but no go. What is going
on with this?
--
Harmon Seaver, MLIS
CyberShamanix
Work 920-203-9633 [EMAIL PROTECTED]
Home 920-233-5820 [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: firewire on linux
Crossposted-To: comp.os.linux.misc
Date: Sun, 15 Apr 2001 01:00:22 GMT
[EMAIL PROTECTED] (Dan Hitt) writes:
> Does linux support firewire?
You might want to consult <http://linux1394.sourceforge.net/> for
details...
--
(reverse (concatenate 'string "gro.gultn@" "enworbbc"))
http://www.ntlug.org/~cbbrowne/resume.html
[Concerning MSFT innovating their way out of a wet paper bag...]
"Maybe if it were a very very wet paper bag, but then they'd face the
insurmountable barrier of surface tension."
-- Geoffrey Tobin <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Timothy Murphy)
Subject: /sbin/installkernel
Date: 15 Apr 2001 04:03:30 +0100
I'm running RedHat-7.0 (kernel-2.4.3).
I notice that /sbin/installkernel ignores the 4th argument
given to it by "make install" in /usr/src/linux/arch/i386/boot
namely INSTALL_PATH .
Instead this is always set to /boot .
I was compiling for an ancient machine on a Pentium,
and assumed that
env INSTALL_PATH=/tmp/ make install
would copy the kernel and System.map to /tmp
but found the environment setting was ignored.
[The corresponding module setting
env INSTALL_MOD_PATH=/tmp/ make modules_install
works perfectly.]
Have I overlooked something?
--
Timothy Murphy
e-mail: [EMAIL PROTECTED]
tel: 086-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
------------------------------
** 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 by posting to the
comp.os.linux.development.system newsgroup.
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-Development-System Digest
******************************