Linux-Misc Digest #613, Volume #26 Fri, 22 Dec 00 19:13:01 EST
Contents:
Re: Question about performance (Michael Heiming)
A Question... (arif rangwala)
Re: How to change the color in lynx/elvis (Otto Wyss)
Vim 5.7 on Linux.. (Jeffrey Hood)
Dumb Helix Question... (Elf Sternberg)
Re: MODEM SPEED; chump kppp retarded it, no? (Bill Unruh)
Re: A Question... (Bit Twister)
Re: MODEM SPEED; chump kppp retarded it, no? (Bill Unruh)
Re: Sound Recording using ALSA? (Bill Unruh)
suppress abortion of script ([EMAIL PROTECTED])
Re: It's me that needs the upgrade (a bit long) (Todd Bishop)
Re: Turn off mail in crontab?? (Bob Hauck)
Need help in running ic over a remote X display. (Madhusudan Singh)
----------------------------------------------------------------------------
Date: Fri, 22 Dec 2000 22:48:13 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Question about performance
al wrote:
> I have a question about general Linux performance. I installed the mandrake
> distribution (7.2, after trying a number of others over ftp: redhat and
> caldera failed and I couldn't figure out how to do ftp installation of
> slackware, and I didn't want to make N floppies with debian). I was really
> impressed by the mandrake installation (single floppy, rest over ftp) and
> the simplicity of generally configuring the system after Linux is up (except
> for some initial problems with setting up X11). I used slackware some yeas
> ago, and then various BSDs in the last few years, but none were quite this
> easy to get running. I want to use Linux because I am trying to experiment
> with some databases (like DB2, and maybe others that give you a free preview
> version, and I don't think these are available on FreeBSD, other than mySQL
> and the like, which I can't use at the moment with the application I am
> testing).
>
> My problem is with the performance of the Linux installation, and I am
> wondering if performance can differ between different distributions. I
> would assume that most things would be the same (kernel, X11, window
> managers, etc), so the distribution wouldn't make a great deal of difference
> as far as performance is concerned. My past experience with slackware (and
> the BSDs) is that you don't need a cutting edge system to get pretty decent
> performance (better than windows). Perhaps this has changed in the last few
> years, but my system is pretty much a dog compared to W2k (I am comparing
> X11 applications like Netscape). There could be a number of reasons for
> this, and I was hoping that maybe someone can suggest something on the Linux
> front that might improve things.
>
> One of my suspicions is that the main problem may be X11 in general. It has
> sure become a lot more complicated (and nicer) since the last time I used
> it. Perhaps the window managers need a lot more memory than they used to (I
> ran slackware on a 486/33 laptop with 4 megs of ram about 5 years ago, and
> it was usable even with X11). The two window managers I tried are KDE and
> Gnome, and they are both quite slow. The system I am running mandrake on is
> a dual Pentium Pro 200 with 64 megs of ram. It's no state of the art, and
> it could use more memory, but I was still expecting reasonable performance
> under Linux. The kernel version that came with the mandrake release is
> 2.2.17-21mdksmp (this is what uname -r gives me), and I have not rebuilt it
> (past experience tells me that it's typically time consuming, but this may
> have changed also).
>
> So if anyone can suggest anything, please let me know. Thanks.
you should lookup if your kernel is SMTP, cat /proc/cpuinfo will give you a
hint.
I only use SuSE, they have a SMTP kernel you can install on the distribution,
however
I buy the CDs, cause at home on a 64K ISDN link, that is paid metered....:-(
SuSE and other pay distros pay many linux folks, that they can work on their
projects
and that's something I like to support...
X/KDE performance is IMHO a RAM problem, with 64 MB you can't do much. Sad most
times
you have to use this "crashicator" NS thing, a memory hook....
As for your HD try man hdparm -t /dev/sd? and lookup man hdparm, but for me it
seems like you
just have not enough RAM in your box and maybe you're running the wrong kernel.
Good luck
Michael Heiming
"Thank god it's friday!"
------------------------------
From: arif rangwala <[EMAIL PROTECTED]>
Subject: A Question...
Date: Fri, 22 Dec 2000 17:29:07 -0800
I am not at all familiar with Linux, and the more I research on them the
more I get confused. Can you please someone help me as to where and how
I should start? Should I get Red hat or storm linux or mandrake or..what
the hell I just want to learn Linux, one that is the easiestand the
best.
------------------------------
From: [EMAIL PROTECTED] (Otto Wyss)
Subject: Re: How to change the color in lynx/elvis
Date: Fri, 22 Dec 2000 23:26:21 +0100
> >> > Lynx and elvis and probably some more do use too dark colors so I can't
>
> > Thanks I just thought there must be a common place for all programms.
>
> that's really dependent on the terminal emulator (that is, the shades
> of colors that are displayed for the 8/16 colors). I build lynx using
> the default-colors extension of ncurses, and choose my application's
> color scheme so the background doesn't interfere with the text colors).
>
This means I can configure the shades of color for ncurses see the
difference in any programm which uses the default-colors of ncurses. Do
you know where (name of config file)?
Besides why does bash shows much better color which probably uses the
same color sheme?
O. Wyss
------------------------------
From: Jeffrey Hood <[EMAIL PROTECTED]>
Crossposted-To: comp.editors,comp.os.linux.apps
Subject: Vim 5.7 on Linux..
Date: Fri, 22 Dec 2000 22:09:16 GMT
Does anyone know where I can get Vim 5.7 for Linux in rpm format that
isn't the new version of rpm (I need one that will run with <=3 for the
rpm...) I have downed the source, but can't get it to compile... get an
error message re some gui file, and can't seem to change the compile
options to get it to work...
Thanks in advance...
JH
--
Jeffrey Hood
HM Consulting, Inc.
jhood [you-know-why] at hmcon.com
------------------------------
From: Elf Sternberg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Dumb Helix Question...
Date: Fri, 22 Dec 2000 14:27:01 -0800
Every screen shot on the Helix website shows a menu at the top of
the screen in addition to the panel at the bottom. Where does that menu
come from? What program generates it? I've built most of Helix by hand
(enough to compile Nautilus, which rocks!) but I have yet to find that
menu.
Elf
Elf M. Sternberg, Immanentizing the Eschaton since 1988
http://www.halcyon.com/elf/
"You know how some people treat their body like a temple?
I treat mine like issa amusement park!" - Kei
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: alt.os.linux.mandrake,comp.dcom.modems
Subject: Re: MODEM SPEED; chump kppp retarded it, no?
Date: 22 Dec 2000 22:47:46 GMT
In <[EMAIL PROTECTED]> John Hasler <[EMAIL PROTECTED]> writes:
]Bill Unruh writes:
]> I understand the attractiveness for newbies, but if you run into
]> problems, they impose an extra layer ( about half of all complaints
]> about ppp are caused by bugs in these "helper" programs, rather than in
]> ppp itself.)
]This is 'pon':
]#!/bin/sh
]exec /usr/sbin/pppd call ${1:-provider}
]No much of a layer. gpppon is a minimal gtk app that calls pon/poff.
Good. I certainly have no objection to script files. I use them myself
and tell people (www.theory.physics.ubc.ca/ppp-linux.html) how to write
them. Unfortunately almost all of the canned scripts make weird
assumptions (eg look at ppp-on script which assumes logon
authentication-- something few ISPs use these days).
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: A Question...
Reply-To: [EMAIL PROTECTED]
Date: Fri, 22 Dec 2000 22:51:26 GMT
On Fri, 22 Dec 2000 17:29:07 -0800, arif rangwala
> <[EMAIL PROTECTED]> wrote:
>I am not at all familiar with Linux, and the more I research on them the
>more I get confused. Can you please someone help me as to where and how
>I should start? Should I get Red hat or storm linux or mandrake or..what
>the hell I just want to learn Linux, one that is the easiestand the
>best.
>
Mandrake has a window like installer.
linuxconf is the Control Panel.
xman is the gui help system.
Task bar and desktop have windows pull downs to do what ever.
Once you are through playing around to see what you can see,
you can spinup a console/xterm and start learning as much
linux as you can stand.
After that, you can start playing with compiling the kernel.
Just for fun I did a locate bin/ | wc -l
which means locate all program/files in the *bin/ directories
and it returned 4098. I am running Mandrake Deluxe with all
4 cds loaded. For you, I would go with the 2cd for starters.
I just looked and looks like you could get Red 6.2, Man 7.1
and storm installs and source for about $12 + shipping.
http://cart.cheapbytes.com/cgi-bin/cart
under CheapBytes CDs (top left)
contains linux x86 Install cds for ~2 and up + shipping
Redhat 6.2 x86 install and doc cd ($3.45)
Linux Mandrake 7.1 (GPL Version) (~$4)
For people accross the pond, http://www.linuxemporium.co.uk
Mandrake 7.1 is based on Redhat, has more utilities a much
better user friendly installer.
Pick Workstation custom install if you do not want to wipe
you disk.
Install docs are on the cd and readable via Winxx.
For hardware compatibility
http://www.linux-mandrake.com/en/fhard.php3
http://www.redhat.com/corp/support/hardware/index.html
I get several people at work to go in on my credit card
and I get my shipping reduced to $1 a cd when we split
shipping.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: MODEM SPEED; chump kppp retarded it, no?
Date: 22 Dec 2000 22:52:18 GMT
In <3a429b42$[EMAIL PROTECTED]> <[EMAIL PROTECTED]> writes:
>>It isn't. Change your init string as you like. "at&f1" is usually the
>>best idea!
>I don't know much about init strings, but I know what works.
>at&f1 actually causes problems for me. I use an init string I
>found on the net which make my modem fly....the default
>that pppsetup uses "at&f0" seems to 'function' but the modem
>passes data very slowly.
AT&F1 is for Sportster modems-- it establishes harware flow control,
rather than software flow control. Other brands define it differently or
do not even have an AT&F1 command. On them AT&F or AT&F0 may be better.
But it is almost always a good idea to work off this as a base, and
institute other features of the modem. If your init string works use it.
The problem is that because each modem manufacturer instituted a
different set of commands ( and the same command does different and
incompatible things on different people;s modems) there is nothing easy
anyone can say, except start off from AT&F or AT&F1 and build up fro
mthere. Do not use ATZ.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Sound Recording using ALSA?
Date: 22 Dec 2000 22:55:27 GMT
In <Acw06.2476$[EMAIL PROTECTED]> "frank" <[EMAIL PROTECTED]>
writes:
>I installed the most recent sox copy without any problems. But I still can
>record. Any thoughts?
That sounds good ( unless youreally meant to say "can't")
Anyway, what is now the error message. Really we are not capable of
reading the messages off your monitor, no matter what you have heard
about TEMPEST and other monitoring stuff.
So, if I was to be facetious, I would say"Install the sound card". But
have you checked that it is on and that the volume on the microphone
line is turned up ( eg bring up kmix or your own mixer and make sure
that the microphone is on and turned up). Do you have a microphone? ....
------------------------------
From: [EMAIL PROTECTED]
Subject: suppress abortion of script
Date: 22 Dec 2000 23:09:59 GMT
Hm, I wrote a shell script including a while loop. It works fine, until
one of the commands (ftp) inside the loop echos an error. In this case the
loop ends.
i) is there a simple way to keep it going on ?
ii) or do I have to include an exception ? If yep, how ?
thanks
& merry Xmas to you all !!
Thomas Eltrop
------------------------------
From: [EMAIL PROTECTED] (Todd Bishop)
Crossposted-To: comp.os.linux.help
Subject: Re: It's me that needs the upgrade (a bit long)
Date: Fri, 22 Dec 2000 23:34:13 GMT
On Sat, 16 Dec 2000 12:44:31 GMT, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:
>In comp.os.linux.help [EMAIL PROTECTED] wrote:
>> Just some examples of : What the hell are they taking about!
>
>The online dictionary of computing might be a help. Sorry but I don't
>have a reference.
Here's one:
http://foldoc.doc.ic.ac.uk/foldoc/index.html
tb
>
>> a concurrent, multi-threaded, multi-user interpreter
>
>Jargon words. Not sure it makes much sense all in all. What they are
>describing is rather unusual!
>
> Concurrent = has the ability to run several threads of control
> simultaneously in parallel ("concurrently").
>
> "thread of control" is a CS concept. It is the way a computer
> moves through a computer program from line to line. Normal
> computers do it in a serial, sequential fashion. "serial" =
> only one line being executed at a time (opposite of "concurrent").
> "sequential" = one line after the other.
>
> multi-threaded = using, or written to use, more than one thread
> of control.
>
> multi-user? Well, you know.
>
> interpreter = a program that executes another program without
> compiling it to code aimed at the underlying architecture
> first. About ten times slower in execution.
>
>Uh, I guess you were referring to an OS written in java.
>
>> IP Forwarding (builtin to kernel)
>
>Passing incoming packets (IP = Internet Protocol) from one physical or
>virtual interface to the other. I.e. "in one ear and out the other".
>Usually from one network card to another network card.
>
>
>> IP Masquerading (builtin to kernel, plus ipmasqadm)
>
>Uh, well, all sorts of things. The trick of changing packets headers
>to say they come from IP address A.1, port X, instead of from IP address
>A.X. And back again. Done to interface an intranet with the world
>through a single IP address assignment.
>
>> IP Firewall
>
>A machine that examines packet headers and performs blocking based on
>their source and destination IP addresses, and/or port numbers.
>
>> with 24 megs RAM acting as an masqerading ISDN router
>
>Sigh. ISDN refers to a technique of using a modem with two data lines
>and one control line, instead of your ordinary all-in-one phoneline
>solution. Those setups are moderately expensive, but high bandwidth.
>
>"router" is a machine that can distribute packets to different physical
>interfaces according to where they really need to go, physically. It
>works out where they need to go from other sources of info, usually
>"routing tables". Those can be set up in various ways. There are lots
>of different kinds of router.
>
>> and fileserver for Unix/Win clients
>
>Sorry ... someone else can do the rest.
>
>Peter
>
>
>
>> you can use eth0 for the dhcp thing and ppp0 for your dialup
>> two separate entities two separate ip's
>
>> PPP mode or Bridging
>> a mail client
>> a Fido-Internet gateway and a Fido tosser
>> a simple configurable finger client
>> (ipchains or iptables-netfilter)
>
>> a command-line tool to send arbitrary IP packets. It has a
>> large number of options to specify the content of every header of a
>> RIP, TCP, UDP, ICMP, or raw IPv4/IPv6 packet.
>
>> remote-mail retrieval and forwarding utility intended to be used over
>> on-demand TCP/IP links (such as SLIP or PPP connections). It supports
>> every remote-mail protocol now in use on the Internet: POP2, POP3,
>> RPOP,
>> APOP, KPOP, all flavors of IMAP, and ESMTP ETRN. It can even support
>> IPv6 and IPSEC.
>
>> and so on!
>
>
>
>
Todd Bishop
http://www.originarts.com/flatland
------------------------------
From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: Turn off mail in crontab??
Reply-To: bobh{at}haucks{dot}org
Date: Fri, 22 Dec 2000 23:43:40 GMT
On Thu, 21 Dec 2000 22:46:31 -0800, Tom Edelbrok <[EMAIL PROTECTED]> wrote:
>How can I turn off mail in crontab?
>The "printenv" shows me that I have added MAILTO to my environment
>variables.
Which is not the same environment that the crontab will be running in.
To set environment variables in cron, you must put them at the top of
your crontab.
>(I have a script configured as "0-59/5 * * * * /myscriptname" in
>crontab).
You probably don't mean "/myscriptname" unless the script is in your
root directory. More likely you mean something like "/home/me/script".
Also, you could redirect output to /dev/null to prevent mail being sent:
myscriptname > /dev/null 2>&1
--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.haucks.org/
------------------------------
From: Madhusudan Singh <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.mentor
Subject: Need help in running ic over a remote X display.
Date: Fri, 22 Dec 2000 18:43:59 -0500
Hi
I have a Linux (~Red Hat 6.1) machine in my office. IC (Mentor
Graphics) is installed on Sun workstations. I tried to run it remotely
after exporting display but the program quit after errors (see below).
I think that it is a fonts problem. (I might be wrong on this). Any
advice on how to get IC running over the remote display would be
extremely welcome. The machine is on the LAN, so speed is (hopefully)
not a problem.
Thanks in advance,
Madhusudan Singh.
===================================================
bash-2.04$ ic
// ICgraph v8.7_2.4 (C2 p2027) Mar 8 1999 09:03:44
// EDDM v8.6_2.6 Tue Oct 6 18:59:00 PDT 1998
// Falcon Framework v8.6_2.1 Tue Mar 16 17:21:48 PST 1999
//
// Copyright (c) Mentor Graphics Corporation, 1982-1998, All Rights
Reserved.
// UNPUBLISHED, LICENSED SOFTWARE.
// CONFIDENTIAL AND PROPRIETARY INFORMATION WHICH IS THE
// PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS.
//
// Mentor Graphics software executing under Sun SPARC Solaris.
//
//
// WARNING: Font loading failed. Please see the following notes for
more info
rmation.
// NOTE: Xhost = 'pla.engin.umich.edu',
// NOTE: Xserver = 'guo.eecs.umich.edu',
// NOTE: font name = 'ic.icons',
// NOTE: font package = 'registry'.
// Fonts are configured incorrectly
// Cannot initialize device driver.
// Error: Invalid font requested (from: Core/VFONT/vfont 09)
Getting traceback info ...
Unable to read ELF header section.
Unable to read ELF header section.
Unable to read ELF header section.
Unable to read ELF header section.
Unable to read ELF header section.
Unable to read ELF header section.
Unable to read ELF header section.
Traceback
Function Name+offset [PC] filename
=======================================================
core_traceback__Fv(0xeeb9301c, 0x0, 0xefffe090, 0xefffe038, 0x0,
0x39)+0x4 [pc
= 0xef239a5c] libbase_lib.so
core__xcpt_handler__FP11Core_statusP15Core_xcpt_hndlr(0x0, 0xefffe210,
0xef43df3
c, 0x109c620, 0xef259360, 0x109b2f0)+0x29c [pc = 0xef236770]
libbase_lib.so
raise__15Core_xcpt_hndlrP11Core_statusQ215Core_xcpt_hndlr32Core_xcpt_hndlr_raise
_permission(0xef4ea4f4, 0x1, 0x0, 0x0, 0xeffff790, 0x0)+0x4c [pc =
0xef25e830]
libbase_lib.so
ui__init__FiiP16Vdd__window_info(0xeffff810, 0x0, 0xef512ba0,
0x7fffffff, 0x7fff
ffff, 0x0)+0xf5c [pc = 0xef43df48] libbase_lib.so
main(0x0, 0x0, 0x0, 0x0, 0x0, 0x0)+0xfd4 [pc = 0x24e8b4] ic
bash-2.04$
------------------------------
** 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 comp.os.linux.misc.
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
******************************