Linux-Misc Digest #665, Volume #24 Wed, 31 May 00 12:13:02 EDT
Contents:
Re: Printing to lp printer through a file? (Thomas Hommel)
Re: Sun Sparc faster then intel pentium: (What about the compiler?)
([EMAIL PROTECTED])
Re: Help ("Peter T. Breuer")
boot hangs 50% (Jan Houtsma)
Re: Using Linux/IPChains instead of commercial firewall (Lincoln Yeoh)
Can't create multisession with cdrecord and hp writer? (Tuomas Launiainen)
Re: *.doc viewer? (Gerald Willmann)
Re: Sun Sparc faster then intel pentium: is this true???? (Gerald Willmann)
Re: Redhat 6.0 - kppp connects but nothing else sees the connection (martin)
Re: New Gnome and E and Sawfish? (Sebastien Delestaing)
Re: Gnome default configuration (Sebastien Delestaing)
Re: How to add Home folder to the gnome panel? (Sebastien Delestaing)
Re: PPP advice after switching from kde to gnome (callcal)
Re: Can't get into Gnome, gdm problems (Sebastien Delestaing)
Re: how to enter a bug report against linux? (JEDIDIAH)
kickstart trouble (Dan Stromberg)
display IO rates, hits on file cache? (David Mathog)
Re: *.doc viewer? (Bob Tennent)
Re: Sun Sparc faster then intel pentium: (What about the compiler?) (Rich Teer)
Re: Need ideas for university funded project for linux (David Steuber)
Re: Winmodems )Re: Need ideas for university funded project for linux) (David
Steuber)
Re: keyboard woes (Dances With Crows)
----------------------------------------------------------------------------
From: Thomas Hommel <[EMAIL PROTECTED]>
Subject: Re: Printing to lp printer through a file?
Date: Wed, 31 May 2000 10:12:27 +0200
A quite simple solution would be this:
Set up a spool directory to print to (e.g. /var/spool/printer)
Write a small script to check for files in the spooldir and to print
them via lpr and afterwards delete them
Execute this script every minute via cron
Tom
Scott Smith wrote:
>
> We have a software program that is set up to print to tty printers, the
> screen, or a file. I want to use my JetDirect lp printer. I have set
> the printer up and it works great from the Linux command line. Anyone
> know of a way I could get my program to use the JetDirect printer? I
> thought about printing to a file, then having the user print the file
> using the lp command, but that is an additional step. Is there a way to
> setup a tty port that would actually forward to the lp printer, or a way
> to print automatically to the lp printer when the user prints to a
> certain file?
>
> Any ideas?
>
> Thanks
>
> Scott Smith
> [EMAIL PROTECTED]
--
=========================
Thomas Hommel
Beam Enterprise GmbH
=========================
Remove NO SPAM from my address to reply to me.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.questions,comp.sys.sun.hardware,comp.sys.sun.misc
Subject: Re: Sun Sparc faster then intel pentium: (What about the compiler?)
Date: 31 May 2000 08:13:07 -0700
"Fredrick Gethers" <[EMAIL PROTECTED]> writes:
> Ok,
>
> The reason I posted this was because I have a Linux machine at home which
...<snip>...
> I said all this just because as you can see, I am used to speed!! and would
> like have something a little snappier than the P133 or P200 for Linux (mabe
> the equivelent of a PII 366 or 400).
>
> I just figured since those Sun Sparc pizza boxes are soo sexy, it would be
> nice to get one with the performance stated above, install Linux and that's
> it (I have no special need other than that, Sun Solaris is nice, but I have
> no intention of running it).
...<snip>...
Hmmm, did you ever consider Alpha? Here's a URL for some benchmarks:
http://www.aceshardware.com/Spades/read.php?article_id=145
It was pointed out in a slashdot posting around 6 or 7th of May. What was
really interesting was how much the compiler made a difference. It seems
that the gnu compiler is really optimized for the x386 architecture, which
doesn't have a lot of registers, and the conventional wisdom for fast RISC
designs is to have lots of registers. When they used a Compaq compiler
that really knew how to take advantage of the RISC design, it worked a lot
better. I don't know much about the SPARC architecture, but it's RISC
isn't it? Perhaps the same rules apply.
--Remove "UhUh" and "Spam" to get my addr---
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Help
Date: 31 May 2000 15:06:55 GMT
[EMAIL PROTECTED] wrote:
: #include <conio.h>
: ch = getch() ;
: perhaps ?
You are all missing the point. Please read the C FAQ (this has nothing
to do with C).
: <[EMAIL PROTECTED]> wrote in message news:8h2c58$lh5$[EMAIL PROTECTED]...
:>
:> I'm programming in C under Linux, and I want to
:> get a character from stdin without waiting for
:> a CR, could anyone help me how to implement ?
Peter
------------------------------
From: Jan Houtsma <[EMAIL PROTECTED]>
Crossposted-To: nl.comp.os.linux.overig
Subject: boot hangs 50%
Date: Wed, 31 May 2000 17:16:31 +0200
Hi,
When i reboot my linux box the first time my pc ALWAYS COMPLETELY HANGS.
Even ALT-CTRL-DEL doesnt work anymore!
Then the next time (after power off) it works fine again, then the
next time not, then the next time it boots fine again, then the
next time not etc, etc.....
When it hangs it always hangs at exactly the same point in time
almost at the end of running my init.rd script sequence.
However when i remove the script where it hangs, it hangs in the next
script that now takes its place. So it seems related to the time in the
boot and not the script itself.
Very wierd.
Jan
==========Dell Dimension XPS D233=================
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 3
model name : Pentium II (Klamath)
stepping : 4
cpu MHz : 233.289705
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov mmx
bogomips : 232.65
------------------------------
From: [EMAIL PROTECTED] (Lincoln Yeoh)
Crossposted-To: comp.security.firewalls
Subject: Re: Using Linux/IPChains instead of commercial firewall
Date: Wed, 31 May 2000 15:23:02 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 31 May 2000 02:07:48 +0100, "Andy Nelson"
<[EMAIL PROTECTED]> wrote:
>I had the opposite experience, and found ipchains quite intuitive.
>
>have you tried writing the chains against networks rather than interfaces?
>
>I set up a series of chains :-
>lan-web:
>lan-dmz:
>frm-web:
>frm-dmz:
I have those as well.
The interface filters are to prevent weird stuff from hitting my firewall
interfaces. If I read the HOWTO diagram right, packets destined to local
interfaces skip the forwarding rules. So I do need the interface rules as
well. I also I have proxies on my firewall.
I also find it a bit annoying that for static NAT I have to do stuff like:
ipmasqadm portfw -a -P tcp -L externalip -R webserver 80
ipchains -A ext-dmz -p tcp -d webserver 80 -j ACCEPT
ipchains -A dmz-ext -p tcp ! -y -s webserver --sport 80 -j MASQ
I feel that one shouldn't have to do such things. Just a
NAT external ip to webserver
Then
Allow 80/tcp external to webserver
Even more fun with ftp.
How I should allow port ftp from outside to a dmz server? OK so I shouldn't
but just wondering, in case someone "requires" it.
Cheerio,
Link.
****************************
Reply to: @Spam to
lyeoh at @[EMAIL PROTECTED]
pop.jaring.my @
*******************************
------------------------------
From: Tuomas Launiainen <[EMAIL PROTECTED]>
Subject: Can't create multisession with cdrecord and hp writer?
Date: Wed, 31 May 2000 18:23:21 +0300
I recently configured my HP CD-Writer Plus 8210i to burn in Linux. For
some reason I can't write multisession, though. Why?
cdrecord -vv -pad speed=4 dev=0,0,0 /mnt/cdr/img.iso
Prints out:
>Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
>TOC Type: 1 = CD-ROM
>scsidev: '0,0,0'
>scsibus: 0 target: 0 lun: 0
>Using libscg version 'schily-0.1'
>Using libscg transport code version 'schily-scsi-linux-sg.c-1.39'
>atapi: 1
>Device type : Removable CD-ROM
>Version : 0
>Response Format: 1
>Vendor_info : 'HP '
>Identifikation : 'CD-Writer+ 8200 '
>Revision : '1.0f'
>Device seems to be: Generic mmc CD-RW.
>Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
>Driver flags : SWABAUDIO
>Drive buf size : 2086656 = 2037 KB
>FIFO size : 4194304 = 4096 KB
>Track 01: data 0 MB padsize: 170 KB
>track: 1 start: 0 pregap: 150
>Total size: 0 MB (00:04.02) = 302 sectors
>Lout start: 1 MB (00:06/02) = 302 sectors
> 41 00 00 14 00 00 00 00
> 41 01 00 10 00 00 00 00
> 41 01 01 10 00 00 02 00
> 41 AA 01 14 00 00 06 02
>Current Secsize: -1
>ATIP info from disk:
> Indicated writing power: 5
> Reference speed: 2
> Is not unrestricted
> Is erasable
> ATIP start of lead in: -11615 (97:27/10)
> ATIP start of lead out: 335925 (74:41/00)
> speed low: 0 speed high: 4
> power mult factor: 4 5
> recommended erase/write power: 3
> A2 values: 5A C8 26
>Disk type: phase change
>Manuf. index: 18
>Manufacturer: Plasmon Data systems Ltd.
>Blocks total: 335925 Blocks current: 335925 Blocks remaining: 335623
>Starting to write CD/DVD at speed 4 in write mode for single session.
>Last chance to quit, starting real write in 1 seconds.
>Waiting for reader process to fill input buffer ... input buffer ready.
>Starting new track at sector: 0
>Track 01: 0 of 0 MB written.
>Track 01: writing 170 KB of pad data.
>Track 01: Total bytes read/written: 440320/614400 (300 sectors).
>Writing time: 3.239s
>Fixating...
>Fixating time: 63.530s
>cdrecord: fifo had 14 puts and 14 gets.
>cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
and the burning is succesful.
However, when trying to create multisession as follows:
cdrecord -vv -pad speed=4 dev=0,0,0 -multi /mnt/cdr/img.iso
It prints:
>Cdrecord 1.8 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
>TOC Type: 3 = CD-ROM XA mode 2
>scsidev: '0,0,0'
>scsibus: 0 target: 0 lun: 0
>Using libscg version 'schily-0.1'
>Using libscg transport code version 'schily-scsi-linux-sg.c-1.39'
>atapi: 1
>Version : 0
>Response Format: 1
>Vendor_info : 'HP '
>Identifikation : 'CD-Writer+ 8200 '
>Revision : '1.0f'
>Device seems to be: Generic mmc CD-RW.
>Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
>Driver flags : SWABAUDIO
>Drive buf size : 2086656 = 2037 KB
>FIFO size : 4194304 = 4096 KB
>Track 01: data 0 MB padsize: 170 KB
>track: 1 start: 0 pregap: 150
>Total size: 0 MB (00:04.02) = 302 sectors
>Lout start: 1 MB (00:06/02) = 302 sectors
> 41 00 00 FF 00 00 00 00
> 41 01 00 FF 00 00 00 00
> 41 01 01 FF 00 00 02 00
> 41 AA 01 FF 00 00 06 02
>Current Secsize: -1
>ATIP info from disk:
> Indicated writing power: 5
> Reference speed: 2
> Is not unrestricted
> Is erasable
> ATIP start of lead in: -11615 (97:27/10)
> ATIP start of lead out: 335925 (74:41/00)
> speed low: 0 speed high: 4
> power mult factor: 4 5
> recommended erase/write power: 3
> A2 values: 5A C8 26
>Disk type: phase change
>Manuf. index: 18
>Manufacturer: Plasmon Data systems Ltd.
>Blocks total: 335925 Blocks current: 335925 Blocks remaining: 335623
>Starting to write CD/DVD at speed 4 in write mode for multi session.
>Last chance to quit, starting real write in 1 seconds.
>Waiting for reader process to fill input buffer ... input buffer ready.
>cdrecord: Input/output error. mode select g1: scsi sendcmd: retryable error
>CDB: 55 10 00 00 00 00 00 00 3C 00
>status: 0x2 (CHECK CONDITION)
>Sense Bytes: 70 00 05 00 00 00 00 12 00 00 00 00 26 00 00 8B
>Sense Key: 0x5 Illegal Request, Segment 0
>Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
>Sense flags: Blk 0 (not valid) error refers to data part, bit ptr 3 (valid) field ptr >0
>cmd finished after 0.008s timeout 40s
>cdrecord: Warning: using default CD write parameter data.
>Mode Select Data 00 21 00 00 05 32 01 E4 08 00 00 00 20 00 00 00 00 20 00 96 00 00 00
>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>00 00 00 00 00
>cdrecord: Cannot open new session.
>cdrecord: fifo had 14 puts and 0 gets.
>cdrecord: fifo was 0 times empty and 0 times full, min fill was 100%.
and nothing is recorded.
Why? Has anyone had similar problems? What can I do?
------------------------------
From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: *.doc viewer?
Date: Wed, 31 May 2000 08:21:59 -0700
On Wed, 31 May 2000, Jan Houtsma wrote:
> Is there something like a micro$oft.doc viewer for linux?
> I receive lots of mails with .doc attachments and dont wanna
> run staroffice or so because they are beasts!
> I know that at work we have some commercial program that starts
> whenever i click in netscapemail on .doc, excell and ppt files.
deja vue -> dejanews
Gerald
PS: try strings -n1 merde.doc | less and tell your email friends that
they were wrong in assuming everyone uses the same crappy monopolyware.
--
------------------------------
From: Gerald Willmann <[EMAIL PROTECTED]>
Subject: Re: Sun Sparc faster then intel pentium: is this true????
Date: Wed, 31 May 2000 08:28:16 -0700
On Wed, 31 May 2000, Fredrick Gethers wrote:
> The reason I posted this was because I have a Linux machine at home which
> consist of a Compaq Deskpro 2000 with a P133 (I ordered a used P200, haven't
> received it yet!) with 80mb of RAM (upgraded from 32mb) and a 4.3gig
> Harddrive (upgraded from 1gig) and a 2x CDROM and floppy.
>
> My primary home machine is a Dual PII 400 with 512mb of RAM, 21" Dell
[...]
> I said all this just because as you can see, I am used to speed!! and would
> like have something a little snappier than the P133 or P200 for Linux (mabe
> the equivelent of a PII 366 or 400).
so install linux on your Dual PII 400
> I just figured since those Sun Sparc pizza boxes are soo sexy, it would be
> nice to get one with the performance stated above,
afaik the best you get in a pizzabox is a SS20 which is probably a slower
desktop machine than a PII. Also note that linux on sparc needs different
binaries which is no problem for open source but very much so for other
things. Last time I put linux on a sparc we were back to solaris within
days.
Gerald
--
------------------------------
From: martin <[EMAIL PROTECTED]>
Subject: Re: Redhat 6.0 - kppp connects but nothing else sees the connection
Date: Wed, 31 May 2000 15:30:03 GMT
that was it - thanks!
joseph wrote:
>
>
> have you set up the name servers ?
> in resolv.conf, there should be atleast one entry.
>
> Add
>
> # Primary DNS server from ISP
> nameserver xxx.yyy.zzz.aaa
>
> # Secondary DNS server from ISP
> nameserver bbb.ccc.ddd.eee
>
>
> If your ISP is nice, they will tell you the ip numbers .
>
> Otherwise you will have to find out the IP's some other way.
>
> Or you could enter IP's of a well known DNS server
>
> try pinging a well known site
>
> $ ping www.yahoo.com
>
> If that fails with "Unknown host" or something like that,
> then you need to set DNS
>
> try pinging some well known ip numbers , and if that works, the ppp link
is
> working, but you don't have DNS working.
>
>
>
>
> What happens when you type in a website's address :
>
> 1) Browser takes that and sends to some known DNS server whose address
is in
> the dotted quad notation ( like 207.106.98.24 - that's a random number I
> picked out of the air. )
> it says ,
> "Hey ,207.106.98.24, Give me IP address of www.yahoo.com"
>
> 2 ) DNS server replies , giving the ip address of the site
> "IP address of www.yahoo.com is 207.167.98.10"
>
> 3) Now your browser tries to contact 207.167.98.10 , and you get the
> default page.
>
> Probably you just have to plug in the ip address's of the DNS servers.
into
> the resolv.conf file, just under " nameserver 127.0.0.1" ( 127.0.0.1 is a
> number that refers to the loop back interface i.e. it refers back to
you )
>
>
> good luck.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Sebastien Delestaing <[EMAIL PROTECTED]>
Subject: Re: New Gnome and E and Sawfish?
Date: Wed, 31 May 2000 15:30:03 GMT
> I LOVE IT!. Wonderfully productive environment. Sawfish seems
> lighter on resources than E, and I want to run it.
it is much, much lighter !
> I MISS the iconbox
> and the little pager app I had in E. But, I think those are Gnome
> thingies, not E specifics. What are their names, and how can I get them
> back in Sawfish?
unfortunately, i think these were E specifics... but by combining
different type of panel with the gnome pager and taskbar applet, you can
get a good approximation of them.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Sebastien Delestaing <[EMAIL PROTECTED]>
Subject: Re: Gnome default configuration
Date: Wed, 31 May 2000 15:30:05 GMT
Christopher Broussard wrote:
>
> I am trying to set up a Linux lab at my university using Redhat
6.0. I
> want to set up Gnome, so that by default it does not display any of the
Red
> Hat links on the desktop.
> I cannot find the default desktop files anywhere on the system.
Where
> are these files located so that I can modify the default desktop setup
how
> I see fit.
the links on the desktop are stored under .gnome-desktop/ and more config
stuff are stored under .gnome/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Sebastien Delestaing <[EMAIL PROTECTED]>
Subject: Re: How to add Home folder to the gnome panel?
Date: Wed, 31 May 2000 15:30:06 GMT
John Ledesma wrote:
>
> I'm using RH 6.2 and would like to add my home folder to the gnome
> panel.
> I've tried the menu choice "add a new launcher" and chosen directory
> instead of application and typed in the path. What else do I need to do?
>
i think this doesn't work. you can add a new launcher of type application,
and enter the command line "gmc /home/whatever". only pb: when you are
root, this brings up a panel "As root you can damage blabla...".
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: callcal <[EMAIL PROTECTED]>
Subject: Re: PPP advice after switching from kde to gnome
Date: Wed, 31 May 2000 15:30:07 GMT
Neil,
We need your help.
We are starting a new Internet company that will connect you to individuals
and groups who can give good advice and information on virtually any
specific topic or situation, be that business or personal. For this the
advisor will be paid by the minute. We are trying to establish an interest
in our concept at both the advisor and consumer levels, and would like to
know what you think.
You can contact us at our temporary E-mail address, [EMAIL PROTECTED], or
fax us
904-389-0702. All names and addresses will remain confidential. Thanks
again.
Your friends at Call Cal, Inc.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Sebastien Delestaing <[EMAIL PROTECTED]>
Subject: Re: Can't get into Gnome, gdm problems
Date: Wed, 31 May 2000 15:30:07 GMT
Jordan Hiller wrote:
>
> When I shut down my other computer (Red Hat 6.0) today, it exited Gnome
> and then displayed something a whole bunch of times before it shut down.
> It said something about /var/run/gdm.pid and "gdm appears to have been
> killed mysteriously."
>
> Linux is set to runlevel 5 so it automatically goes into Gnome. Now it
> appears to boot okay, but once it tries to load Gnome it just sits there
> and flashes some text that I can't read. I can get out of it by
> Ctrl-Alt-Del, but then it shows that weird gdm message again.
>
> So I can't get into Gnome or X at all. I don't know how to get to a
> simple terminal either. Any suggestions what is going on?
>
first of all, you have to get to a terminal. try to type "Linux single" at
LILO prompt (works for me on mandrake 7.0, security medium). then
edit /etc/inittab, and switch back to runlevel 3. reboot.
now you have to find what is wrong with gdm. first of all you should check
X (startx), if it's ok, then have a look at gdm.conf (somewhere
in /etc/X11/gdm i think). the last time i had this problem, i never solved
it, i deinstall / reinstall the gdm package, and everything get back in
place... if you find what the problem was, i'm interested !
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (JEDIDIAH)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: how to enter a bug report against linux?
Date: Wed, 31 May 2000 15:35:06 GMT
On 30 May 2000 16:27:33 -0700, bb@bb <bb@bb> wrote:
>In article <8h0lk5$b9b$[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>
>>b) Bridges cost *money*, not just time.
>
>I guess then it is true what they say about linux. it is free for those
>whose time is worthless.
>
>Time is money. Are you so worthless that your time is worth nothing?
Most people's time, simply isn't worth that much.
So, such comments (either way) are rather absurd.
--
In what language does 'open' mean 'execute the evil contents of' |||
a document? --Les Mikesell / | \
Need sane PPP docs? Try penguin.lvcm.com.
------------------------------
From: [EMAIL PROTECTED] (Dan Stromberg)
Subject: kickstart trouble
Date: 31 May 2000 15:30:37 GMT
I'm having some difficulty with redhat's kickstart facility.
It seems that no matter what I try, the install procedure ignores my
ks.cfg.
I tried putting the ks.cfg in / of the DOS filesystem, and I tried
putting it in the /tmp of the ramdisk image, and I tried putting an
identical copy of it in both places. If I don't have it in these
places, it gives an error about not being able to find it. But once
it's there, it still appears to be ignored.
My ks.cfg looks like:
lang en
network --bootproto bootp
nfs --server autoinst.acs.uci.edu /auto_install/redhat/dist/i386
keyboard us
install
timezone --utc US/Pacific
...for the time being.
Also, I'm having trouble with bootp - on one machine the bootp seems
fine, but on another I get a "signal 11". Does it sound probable that
this is a hardware problem on the machine that's having trouble?
------------------------------
From: [EMAIL PROTECTED] (David Mathog)
Subject: display IO rates, hits on file cache?
Date: 31 May 2000 15:41:53 GMT
Reply-To: [EMAIL PROTECTED]
Is there a tool which will continuously monitor and display information
about IO on a Linux system? Information like:
file cache size
fraction of file cache which has been written to disk
fraction of read operations which come from file cache/disk
age of oldest data in file cache not yet written to disk
rate of physical writes to each disk
rate of physical reads from each disk
etc.
If any of you are familiar with OpenVMS, this would be roughly the equivalent of the
$ monitor IO
and
$ monitor disk
commands, but with the appropriate extra information about the file cache.
Thanks,
David Mathog
[EMAIL PROTECTED]
Manager, sequence analysis facility, biology division, Caltech
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: *.doc viewer?
Date: 31 May 2000 15:32:36 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 31 May 2000 17:03:07 +0200, Jan Houtsma wrote:
>
>Is there something like a micro$oft.doc viewer for linux?
>I receive lots of mails with .doc attachments and dont wanna
>run staroffice or so because they are beasts!
>
wv (formerly known as MsWordView) will often work.
Or try
http://wheel.compose.cs.cmu.edu:8001/cgi-bin/browse/objweb
Bob T.
------------------------------
Crossposted-To: comp.os.linux.questions,comp.sys.sun.hardware,comp.sys.sun.misc
From: Rich Teer <[EMAIL PROTECTED]>
Subject: Re: Sun Sparc faster then intel pentium: (What about the compiler?)
Date: Wed, 31 May 2000 15:58:31 GMT
On 31 May 2000 [EMAIL PROTECTED] wrote:
> designs is to have lots of registers. When they used a Compaq compiler
> that really knew how to take advantage of the RISC design, it worked a lot
> better. I don't know much about the SPARC architecture, but it's RISC
> isn't it? Perhaps the same rules apply.
Yes, SPARC is RISC. And gcc has well know performance on SPARC, compared
to Sun's compiler - probably for the reasons you cite.
The GNU price is right, but if you want the best performance, you've got
to buy a decent compiler. I chuckle when I see Sun shops with some big
expensive servers, trying to compile their apps using gcc. If they can
afford the expensive hardware, they should be able to afford a decent compiler!
(Although ideally, it'd be nice if Sun sold their development software for
the same price as the OS... :-))
--
Rich Teer
NT tries to do almost everything UNIX does, but fails - miserably.
The use of Windoze cripples the mind; its use should, therefore, be
regarded as a criminal offence. (With apologies to Edsger W. Dijkstra)
If it ain't analogue, it ain't music.
Voice: +1 (250) 763-6205
WWW: www.rite-group.com
------------------------------
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Need ideas for university funded project for linux
From: David Steuber <[EMAIL PROTECTED]>
Date: Wed, 31 May 2000 15:59:59 GMT
[EMAIL PROTECTED] (JEDIDIAH) writes:
' >A database is the only way to really solve this problem with any
' >speed. Sure, you could find(1) all executables and ldd them to see
' >which libraries they use, but what a waste of time. It won't even
'
' No it isn't. Such a practice would tell you what is ACTUALLY
' on the system rather than what has been made known to the debian
' or rpm databases.
I use updatedb and locate rather a lot. Updatedb is run from
cron.daily ( I think ). It doesn't seem like such a stretch to then
do a file command on each entry in the locate database to see if it is
an elf and if so what it ldds.
Seems like something a sh script can do.
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
Crossposted-To:
comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux.setup,comp.os.linux.advocacy
Subject: Re: Winmodems )Re: Need ideas for university funded project for linux)
From: David Steuber <[EMAIL PROTECTED]>
Date: Wed, 31 May 2000 16:00:00 GMT
[EMAIL PROTECTED] writes:
' Maybe I'm a special case, but I already ruined a motherboard by
' driving it from an inadequate PS. And I burn through roughly one
' PS per year. Bear in mind that, with that one exception, all the PSes
' have been at or above the rated level. I don't want to think how fast
' I'd be flying through 'em if I started hooking in all the other crap
' I've got.
Maybe what you need to do is buy a power supply that is actually rated
for the load you put on it. ;-)
I've never burned out the power supply that came with a computer.
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: keyboard woes
Date: 31 May 2000 12:06:56 EDT
Reply-To: [EMAIL PROTECTED]
On Wed, 31 May 2000 09:40:27 -0400, [EMAIL PROTECTED]
<<8h34hm$oee$[EMAIL PROTECTED]>> shouted forth into the ether:
>I have a bit of a problem with the keyboard.
>
>Here goes:
>I use the numeric keypad's arrow and functions so much that I turn off num
>lock. In Linux , I chose the US keyboard
>
>Now, I can use the arrow keys ( and the END, DEL HOME etc.. keys )to the
>*left* of the numeric keypad just fine, but the numeric keypad sends me to
>some other tab while in gnotepad and does not behave as expected.
>
>So , how would I go about changing things so that the END , home, pgup,
>pgdown and the arrow keys work on the numeric keypad ?
This is something I messed with myself just recently. Read the man page
for "xmodmap" so you know what's going on.
$ cat >> ~/.xmodmaprc
keycode 79 = Home KP_7
keycode 80 = Up KP_8
keycode 81 = Prior KP_9
keycode 83 = Left KP_4
keycode 85 = Right KP_6
keycode 87 = End KP_1
keycode 88 = Down KP_2
keycode 89 = Next KP_3
^D
$ cat >> ~/.bashrc
xmodmap -f ~/.xmodmaprc
It is probably a good thing that the numeric keypad generates different
keycodes than the regular arrow keys. It is a crying shame that so many
applications/toolkits refuse to treat KP_Up the same as Up.
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid?
But only Light too dim for us to see \#| Beer is a vegetable. WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL
------------------------------
** 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
******************************