Linux-Misc Digest #917, Volume #23 Tue, 21 Mar 00 17:13:04 EST
Contents:
Re: Writing an application (Robert Heller)
Re: Installing GNOME (Paul Rahe)
Re: I want to learn UNIX. I'd like to know what product of Linux I could use?
("bluster")
Disk benchmarking (Mark Feller)
Cannot FTP on new RH Install ("Buck Turgidson")
"w" says "2 users" but only lists one (Jordan Russell)
Resolution (kurt)
RAMdisk Installation ("pentalpha | newtotheinternet.com")
Re: "w" says "2 users" but only lists one (Steve Lamb)
Re: Unable to log in - no su root possible
Event Announcement: Internet Global Summit: Global Distruted (Jee Hyung Kim)
Re: help with serial port settings (Grant Edwards)
installation problem ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: Writing an application
Date: Tue, 21 Mar 2000 19:43:03 GMT
[EMAIL PROTECTED],
In a message on Tue, 21 Mar 2000 16:36:27 GMT, wrote :
d> I suppose I should have pointed out that the program I have written is
d> in Fortran. I know it's an OLD, simple lanuage; but that's what good
d> about it, its SIMPLE, being that all I need it to do is lots of
d> mathematical calculations.
d>
d> I assume that I can get both QT and Tcl/Tk to work and make some sort of
d> system call to a fortran compiled program.
Tcl/Tk would be easier:
set stdout [exec fortranprogram option option ... ]
*or*
set stdoutfp [open [list |fortranprogram option option ...] r]
gets $stdoutfp line
...
close $stdoutfp
People *have* called Fortran subroutines from Tcl/Tk (do a deja search
in comp.lang.tcl). It is also possible to call Fortran subroutines
from a C or C++ main program. QT is a C++ class library / widget set /
X11 Toolkit.
Fortran has always been best for massive number crunching applications.
It is also NOT a dead language. Compaq is in the process of porting
the DEC 'High Performance Fortran (F90)' compiler to Linux. Fortran,
as a language, is well suited to being compiled for SMP processing --
the *compiler* handles all of the SMP optimization and data
organization -- no need to put in specific calls to manage
multi-processing games (i.e. threads and stuff). Mostly *because*
Fortran is simple.
I've written a couple of Tcl/Tk front-ends for Fortran programs. In
the case of these programs, the Fortran program took a parameter list
via a Namelist file. I wrote a Tcl/Tk that built/edited this parameter
file, forked the Fortran program, and captured the output stream to a
text window. The program main I/O is binary image data, that the
Tcl/Tk code made no use of -- the parameters with other stuff --
angles, distances, scale factors, filenames, processing modes, etc.
Tcl/Tk is in fact great for this. If you want, I can talk to the
professor I wrote this program for and see if I can send you the Tcl/Tk
script. Let me know via E-Mail.
d>
d>
d>
d>
d> In article <[EMAIL PROTECTED]>,
d> Robert Heller <[EMAIL PROTECTED]> wrote:
d> > Jan Schaumann <[EMAIL PROTECTED]>,
d> > In a message on Tue, 21 Mar 2000 10:08:38 -0500, wrote :
d> >
d> > JS> [EMAIL PROTECTED] wrote:
d> > JS> >
d> > JS> > I've written some code to do some basic CFD (computional fluid
d> dynamics
d> > JS> > - i.e. science stuff). What I need is to move the interface for
d> this
d> > JS> > program from a text format to a graphical user interface.
d> > JS> >
d> > JS> > I'm running the latest version of Gnome on Red Hat version 6.0.
d> > JS> >
d> > JS> > Does anyone know any user groups, bits of software or web pages
d> that
d> > JS> > might be useful to me.
d> > JS>
d> > JS> Qt would be good, I guess. check http://www.troll.no
d> >
d> > Or Tcl/Tk (http://www.scriptics.com/). comp.lang.tcl is another place.
d> > Check out <http://www.cs.utah.edu/~beazley/SWIG/swig.html> as well.
d> >
d> > With the Tcl/Tk route you have two options:
d> >
d> > Leave the existing, running C program alone and write a
d> > script that interfaces with pipes or sockets.
d> >
d> > Convert the existing C program into a shared library. Delete
d> > the 'main()' function and create a set of C callable functions that
d> map
d> > to the various CLI functionalities the main() provided. I'm assuming
d> > that either you have multiple programs with various command line
d> > arguments (argc/argv) and functions or else you have a main() with a
d> > simple loop (in pseudo code):
d> >
d> > do while forever begin
d> > write ('Select an option: \n');
d> > write (' 0 -- exit\n');
d> > write (' 1 -- function X\n');
d> > ...
d> > write ('Enter option: ');
d> > read (answer);
d> > switch (answer) begin
d> > case 0: exit();
d> > case 1: begin
d> > (* get Function X's parameters *)
d> > FunctionX(...);
d> > end;
d> > ...
d> > default: write ('Huh?\n');
d> > end;
d> > end;
d> >
d> > If the first case, write a (non-main) function for each main(), and
d> > create a library. In the latter case, just toss the main(). Make sure
d> > that all of the functions pass results back via parameters, rather
d> than
d> > via printf()'s.
d> >
d> > You can get and install SWIG (download from
d> > <ftp://ftp.cs.utah.edu/pub/beazley/SWIG/>) and use SWIG to create a
d> > Tcl wrapper function for your code.
d> >
d> > Bundle all of this into a shared object, load into a stock wish
d> > executable and add a script to implement a GUI.
d> >
d> > An example of this can be found on my web site:
d> > <http://www.deepsoft.com/RolePlayingDB/Download.html>. Including
d> > makefiles, sources, documentation, and everything.
d> >
d> > Oh, to help design the GUI, get and install a copy of XF (should be on
d> > the various Tcl/Tk ftp sites listed under the Tcl/Tk resources at
d> > http://www.scriptics.com/). Handy little package.
d> >
d> > JS>
d> > JS> -Jan
d> > JS>
d> > JS> --
d> > JS> Jan Schaumann
d> > JS> http://jschauma-0.dsl.speakeasy.net
d> > JS>
d> > JS> Oh, honey, I didn't get drunk, I just went to a strange fantasy
d> world.
d> > JS>
d> > JS> -- Homer Simpson
d> > JS> El Viaje Misterioso De Nuestro Jomer
d> > JS>
d> >
d> > --
d> > \/
d> > Robert Heller ||InterNet: [EMAIL PROTECTED]
d> > http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
d> > http://www.deepsoft.com /\FidoNet: 1:321/153
d> >
d>
d>
d> Sent via Deja.com http://www.deja.com/
d> Before you buy.
d>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED] (Paul Rahe)
Subject: Re: Installing GNOME
Date: Tue, 21 Mar 2000 20:05:46 GMT
On Tue, 21 Mar 2000 17:56:45 GMT, "Buck Turgidson"
<[EMAIL PROTECTED]> wrote:
>I just installed RH 6.1 using the server option. It apparently didn't
>install any GUI's, which I need for an Oracle install. How can I install
>GNOME?
>
>Do I just need to install the gnome-core package, or X windows as well?
>
>Thanks for any help.
If you select a custom install, you'll be able to pick and choose
which packages you install onto your PC.
At a minimum, you'll need X and a window manager.
By the way, all of the documentation that I've seen for installing
Oracle on linux suggested using KDE as the desktop environment.
Paul
>
>
>
------------------------------
From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: I want to learn UNIX. I'd like to know what product of Linux I could use?
Date: Tue, 21 Mar 2000 15:11:31 -0500
if you "want to learn unix" why don't you do so?
download free BSD here http://www.FreeBSD.org/
my $0.02
JEFFREY E. <[EMAIL PROTECTED]> wrote in message
news:2mWA4.48710$[EMAIL PROTECTED]...
> I would like to know what product of Linux that I could used to learn
Unix.
>
>
> Any suggestion is greatly appreciated.
>
>
------------------------------
From: Mark Feller <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Disk benchmarking
Date: Tue, 21 Mar 2000 15:19:02 -0500
I noticed from storagereview.com that there is at times signficant
differences
in performance of a hard drive between Win9x and WinNT. I will
be purchasing a couple of hard drives in the next couple of months,
which
will go into a Linux box. I was wondering if there are any comparisons
of disk performance under Linux that I might go to.
Thanks,
Mark Feller
------------------------------
From: "Buck Turgidson" <[EMAIL PROTECTED]>
Subject: Cannot FTP on new RH Install
Date: Tue, 21 Mar 2000 20:23:20 GMT
Just installed RH 6.1. I can telnet into, and, of course, ping the linux
server, but I cannot ftp. At the DOS prompt it says:
Connected to lacalena.mylinux.com
..
then after a minute, it says
Connection closed by remote host.
I ran tcpdchk, and it didn't return any errors. Any ideas on what to try
next?
------------------------------
From: Jordan Russell <[EMAIL PROTECTED]>
Subject: "w" says "2 users" but only lists one
Date: Tue, 21 Mar 2000 20:44:13 GMT
When I run "w" on a particular server it says there are 2 users logged
in, but only lists a single user:
2:37pm up 59 days, 16:46, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root pts/0 remote.computer 2:37pm 0.00s 0.05s 0.02s w
There is in fact only one user actually logged in (via OpenSSH).
The output of the "who" command is:
root pts/0 Mar 21 14:37
root pts/2 Mar 17 17:04
How do I kill off the Mar 17 login, short of rebooting the machine?
A search of deja.com turned up a similar question, however it was in a
Dutch Linux newsgroup, and as I'm not Dutch, I couldn't understand the
solution...
Thanks.
--
Jordan Russell
(please reply in newsgroup only)
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: kurt <[EMAIL PROTECTED]>
Subject: Resolution
Date: Tue, 21 Mar 2000 21:01:42 GMT
I recently set up Peanut Linux, and went through the XF86Setup, I chose
high resolution for my Viper V770 vid card, but when I started startx
the resolution was so low the icons were massive and I couldn't see even
half of most windows, any suggestions on how to fix this?
------------------------------
From: "pentalpha | newtotheinternet.com" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux,alt.linux
Subject: RAMdisk Installation
Date: Tue, 21 Mar 2000 21:39:20 GMT
How would one go about configuring a Linux system to use only a RAMdisk
read-only mounted filesystems? What I need is a system that can have the
power cut at any time without problems. Thanks in advance for any advice.
--
---//---
: pentalpha
: [EMAIL PROTECTED]
: icq uin - 1688728
: http://www.newtotheinternet.com
------------------------------
Subject: Re: "w" says "2 users" but only lists one
From: [EMAIL PROTECTED] (Steve Lamb)
Date: Tue, 21 Mar 2000 21:41:22 GMT
[EMAIL PROTECTED] (Jordan Russell) wrote in <8b8muo$rr6$[EMAIL PROTECTED]>:
>How do I kill off the Mar 17 login, short of rebooting the machine?
ps and kill
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
ICQ: 5107343 | main connection to the switchboard of souls.
===============================+=============================================
------------------------------
Crossposted-To: linux.debian.user,comp.os.linux.admin,comp.os.linux.questions
Subject: Re: Unable to log in - no su root possible
From: <[EMAIL PROTECTED]>
Date: 21 Mar 2000 21:05:54 +0000
Jurgen Defurne <[EMAIL PROTECTED]> writes:
> Last week I assembled an old 386sx system together from several
> components which were
> laying around. Since the floppy drive was only 720k and I had no CD-ROM
> available, I created
> a LILO bootdisk and a rootdisk according to the Boot-Floppy HOWTO. With
> these I was able to
> do a very minimal initial install. Afterwards I could add /sbin, /bin
> and several libraries using
> the multi-volume capabilities of tar.
Not bad. However, it isn't clear to me that you installed the full
base.tgz tarball. You need that (and, I think, only that) in order
to bootstrap yourself.
> I have been able to do several things, however one problem remains. I
> cannot login in the normal way. If I try to, I get the message 'Invalid
> password for user UNKNOWN on tty1'.
Check your /etc/passwd file, and check that it is mounted in the right
place. You may have to reboot using your freshly installed root partition
at some point. Until then, you may find that things are in /target/etc
rather than /etc.
> Instead of getty, I have a shell running on tty2, which lets me do
> everything I want. If I try
> to do a 'su - root' then I get the message 'User root does not exist'. I
> have also trouble
> running ed and nvi. They both abort with a message like '(null) : File
> or directory does not exist'.
> Does anyone know what I am missing on this base system ? I have looked
> into the documentation of login and getty, but they seem to miss the
> information I need.
> I run Debian 2.1, with all the packages from the distribution.
With ALL the packages? I was under the impression that you had
only done a minimal install, and that you would fill in the gaps
later over a network connection or a borrowed disk drive.
------------------------------
From: Jee Hyung Kim <[EMAIL PROTECTED]>
Subject: Event Announcement: Internet Global Summit: Global Distruted
Date: Tue, 21 Mar 2000 16:48:49 -0500
Reply-To: [EMAIL PROTECTED]
Hello,
I want to give every one a heads up about a great conference that's
happening in Japan this July. The Internet Society, one of the oldest
international Internet organizations, is hosting its annual Global
Summit in Yokohama, Japan. This four day event will cover such pivotal
topics as:
-- Regulation, Policy and Governance
-- E-Commerce and E-business
-- Interactive and Multimedia
-- Mobile Internet and IP Network Appliances
-- Internet Science and Technology
-- Internet Infrastructure and Technologies
-- Third World Expansion
-- Security
-- Domain Names
-- Linux
-- Open Source Movement
Please feel free to forward/post this announcement or pass it around to
your colleagues.
Here are the logistics of the event.
INET 2000
The Internet Global Summit: Global Distributed Intelligence For
Everyone
The 10th Annual Internet Society Conference
18-21, July 2000
Pacifico Yokohama Conference Center, Yokohama, Japan
email: <[EMAIL PROTECTED]>
web: <http://www.isoc.org/inet2000/>
REGISTER AT: http://mc-net.jtbcom.co.jp/inet2000registration/
INET is the premier event in the Internet industry, providing an
international forum for advancing the development and implementation of
Internet networks, technologies, applications, and policies.
The world's Internet leaders meet at INET conferences to exchange
experiences and shape the future of the Internet. INET attendees examine
strategic issues emanating from the Internet's impact on commerce and
finance, education, technologies and societies. INET 2000 presents a
strong technical program with all papers peer reviewed by industry
experts from around the world.
*WHO ATTENDS INET CONFERENCES:*
More than 2,000 decision-makers and networking professionals involved in
extending the use and reach of Internet networks in their organizations
or countries are expected to attend INET 2000. Their roles involve
nearly every aspect of the Internet's development and operations.
*KEYNOTE SPEAKERS:*
- John T. Chambers, President and CEO of Cisco Systems, Inc.
- Dr. Ken-ichi Ohmae, international management consultant and creator of
the framework of the borderless economy.
SUPER PANELS:
Super Panel #1: Open Source Movement
Launched in 1985 by Richard Stallman, (GNU), the free source code
movement has blossomed into a broad front of projects best exemplified
by the stunning success of Linux, the Unix-like kernel launched by Linus
Torvalds in 1991. It is now challenging Microsoft's Windows NT in the
server business and is poised to invade the desktop as well. Some call
Linux the Internet Operating System and this is twice true: it could not
have existed without the Internet and a lot of machines that are making
up the Internet run on Linux. Apache, another free source code software,
powers nearly half of all Internet servers in the world. This round
table Super Panel will discuss how these two communities are rapidly
merging into one that may be the real basis for the new net economy.
Super Panel #2: Next-Generation Internet Research Projects: What's New,
What's Next and What Works?
Late-breaking news from Next-generation Internet projects will be
presented. Panelists will address their current status, next step, and
what has led them to success.
Super Panel #3: The Future of the Internet Layer
As the Internet continues to grow, there are increasing stresses and
strains on some of its foundations, such as the original numeric
addressing space and the underlying assumption of transparent
communications. The expected arrival of millions of wireless devices,
and expansion to new, very populous regions of the world, will maintain
or increase these stresses for several decades to come. The Internet
technical community has been aware of this issue for at least seven
years and has carried out various studies and new developments including
Classless Interdomain Routing, Network Address Translation and IPv6. The
panel will discuss all this and more, and attempt to discern where we
are headed next.
PROGRAM THEMES:
- Internet Infrastructure Technologies
- Internet Science and Technology for the 21st Century
- Mobile Internet and IP Network Appliances
- Interactive, Multimedia, Innovative Contents with Full Demonstrations
- Bio-Medical Issues
- Education
- E-Commerce and E-Business
- Regulation, Policy and
- Governance
iGrid2000: LIVE DEMONSTRATIONS: The potential for using global,
next-generation networks to significantly change the way science is
conducted will be showcased at INET 2000, where researchers from around
the world will collaborate in iGrid2000, sharing computing resources and
data over high-speed networks to solve complex computational programs.
REGISTER AT: http://mc-net.jtbcom.co.jp/inet2000registration/
For more information and the latest updates regarding the summit, visit
http://www.isoc.org/inet2000/
------------------------------
From: grant@nowhere. (Grant Edwards)
Crossposted-To:
comp.os.linux,comp.os.linux.help,comp.os.linux.setup,linux.help,linux.redhat,linux.redhat.misc,uk.comp.os.linux
Subject: Re: help with serial port settings
Date: Tue, 21 Mar 2000 21:46:43 GMT
In article <8b7lpp$1lo$[EMAIL PROTECTED]>, Harry Overs wrote:
>I tried stty eol 10
Hmm. Works fine on a both pty ports and serial ports for me.
How exactly doesn't it work?
--
Grant Edwards grante Yow! Am I accompanied by
at a PARENT or GUARDIAN?
visi.com
------------------------------
From: [EMAIL PROTECTED]
Subject: installation problem
Date: Tue, 21 Mar 2000 21:51:39 GMT
Red hat 6.1
after booting of a floppy and electing to install, it asks for a driver
disk...
I did not have this problem with 6.0
what is it looking for.... have tried both CD-rom and Video card driver
disks but no go.....
I have scoured how to's and help files but nothing...
thanks for any help
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** 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
******************************