Linux-Misc Digest #120, Volume #28 Sat, 16 Jun 01 09:13:09 EDT
Contents:
Re: What to use to write my thesis? (Federico Bravo)
Re: Kernel problems (Michael Heiming)
Re: Problems using RH 7.1 with SiS 630 Graphics Card (Jesper Petersen)
recommendation on external ZIP disk? (Ray)
Re: linux and Fritz X Pc (M. Buchenrieder)
Re: missing man page for "sg" command (Colin Watson)
Reading Mac-formatted floppy disks ("Alex Meaden")
hardware interrupt handling in linux ("Macherte")
Re: Setserial Irq 5 ???? (Jerry Kreps)
Re: hardware interrupt handling in linux ("Peter T. Breuer")
Re: How to regenerate RPM database? (Jean-David Beyer)
RH 6.1 glib Level ? ("Egbert Sous�")
Re: How to regenerate RPM database? (Jean-David Beyer)
Re: hardware interrupt handling in linux (Jean-David Beyer)
Re: Moving from PMMail to Kmail (Andrew Wm. Graham)
put a running console application into background ("baum")
----------------------------------------------------------------------------
From: Federico Bravo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.ms-windows.apps.word-proc,comp.text.tex
Subject: Re: What to use to write my thesis?
Date: Sat, 16 Jun 2001 08:15:47 GMT
I'm using LyX and learning LatTeX and I can tell you it is definitely worth
it! It seems more difficult than other word processing systems, but it just
takes a little time to get into it. Moreover I did use Word and I remember
always being angry with HIS OWN decisions about where to place stuff in the
page!!!! Moreover I remember just loosing important files because Word
wouldn't open them anymore. At the end I think you will spend less time
learning and using LaTeX than trying to recover Word errors.... and the
results are not comparable.
If you do use Windows there's a w.p. called Scientific Word which is totally
WYSIWYG and gives you same results as LaTeX.
Best luck with your thesis,
Federico Bravo.
Wroot wrote:
> Hi,
>
> I'm wondering what software or standars people would recommend for writing
> technical scientific papers and a thesis?
>
> If I understand correctly, the main options are MS Word and LaTeX. If I
> choose the former, I'll have to find a Windows machine or a Mac (I prefer
> Linux and FreeBSD). OTOH, LaTeX requires considerable learning.
>
> Thanks
>
> Wroot
------------------------------
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Kernel problems
Date: Sat, 16 Jun 2001 10:26:28 +0200
mike wrote:
>
> I tried to install a new kernel all went well up to the point where
> you create a new bzImage. When I tried to make this image it said no
> space left on device. What can I do to fix this. any help would be
> graciously apreciated.
type 'df -h' and free some space on the partition you build the kernel.
Michael Heiming
------------------------------
From: Jesper Petersen <jesperp**Delete**@nork.auc.dk>
Crossposted-To:
comp.os.linux.redhat,comp.os.linux.x,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Problems using RH 7.1 with SiS 630 Graphics Card
Date: Sat, 16 Jun 2001 11:38:44 +0200
>Originally, I installed RedHat 7.1 (with kernel 2.4.2-2). With the
>default configuration, the testing of X in the installation phase will
>cause the system
>to halt. Install RH 7.1 with text boot mode, it works fine. Run
>XConfigurator
>after login, I was able to avoid system halt in testing the X
>configuration. Select Generic Laptop with 1024x768, 8M ram, 640x480
>16bit, X works but the screen is shifted, with the lower portion on
>the top (you can imagine it). I was able to login and do something
>with that resolution. If I selected Generic Laptop with 640*480, the
>test of X totally screws. BTW, apply the "NoAccel" option is a bad
>idea for me 'coz the text almost can never show up in X windows.
Maybe you shouldn't run the test during installation, it seems to only give
you problems, and you have to alter the X setup afterwards anyway :-)
>Next I DL kernel-2.4.5, with the same configuration as above, the
>building was
>successful but the machine halts at the booting process,with the
>screen turnign
>gray and kinda "desolved".
Does it boot in X? I'll paste my lilo.conf at the end of the mail maybe you
need something from it (you write about it later in the mail)? And if it
starts up in X you might need something from my XF86Config-4 file - the "guru"
who made it work for me couldn't figure out what was wrong with the
XF86Config-4 file he made, and it didn't work until he used the config file
from the link I gave you (that's why I pasted it in the first mail I sent).
>In the light that you had luck with Mandrake 8.0, though being aware
>that it is actually the kernel that matters. I turned to Mandrake 8.0
>(I had been playing with RedHat for 1.5 years, but never Mandrake :-)
>). Unfortunately,
>it doesn't turn out to be not so lucky either. At the test of X phase
>during installation, selecting "Generic Laptop with 1024x768" the test
>page for 1024x768, as well as 800x600 looks fine, but the machine
>halts no matter I respond with "yes" or "no" or just let it time out.
>Test with 640x480 screws.
>
>When I again tried to rebuild the kernel as described in the
>reference. "make bzImage" again fails with some errors like:
> init301.o: multiple definition of 'SiSGetLVDSCRT1Ptr'
> init301.o: multiple definition of 'SiSWaitDisplay'
Maybe you should just work around with the kernel you succeeded in compiling.
>BTW, do you know what does the part "You must also tell LILO to turn
>it on at boot time (I don't know if you can turn it on later, let me
>know if it is possible). I use vga=0x317 to get 1024�768�16." in the
>reference mean? How to
>select that vga=0x317 thing? And to tell LILO to turn what on? That
>Module of
>"VGA characters/attributes support".
I don't know what it does, but again look at my lilo.conf file, I'm sure the
guy who did for me knew what it does.
Jesper
BTW you could look at SiS homepage, the have a suggestion of how to make it
work, it just didn't workout for me:
http://www.sis.com.tw/support/download/linux.htm
Here goes the lilo.conf, but it doesn't seem to have anything like vga=0x317.
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
vga=791
default=windows
keytable=/boot/dk-latin1.klt
lba32
prompt
timeout=100
message=/boot/message-graphic
menu-scheme=wb:bw:wb:bw
image=/boot/bzImage-fbdev
label=linux
root=/dev/hda4
read-only
other=/dev/hda1
label=windows
table=/dev/hda
------------------------------
From: Ray <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.portable
Subject: recommendation on external ZIP disk?
Date: Sat, 16 Jun 2001 11:49:11 +0100
hi
i'm currently thinking of getting an external Iomega zip drive (USB or
parallel) for use with my toshiba sat pro laptop which has a Intel
82371AB PIIX4 USB controller (as reported by lspci) and running
linux-2.4.
has anyone got any recommendations or hints or pitfalls or kernel
configureations tips when choosing/using specific Iomega zip drives?
thanks for any pointers
ray
ps - could ppl CC to me in replies; my news server seems never to like
giving me recent posts :)
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: linux and Fritz X Pc
Date: Sat, 16 Jun 2001 06:30:46 GMT
"sliver" <[EMAIL PROTECTED]> writes:
>I want to install Fritz X Pc under Linux but i couldn't find a driver.
No surprise.
>Someone told me that there want be any driver for linux because AVM
>wouldn't produce one.
Right.
>Is this true?
Yes.
>How i install Fritz X Pc under linux?
Throw it away. The Fritz X! PC uses a proprietary protocol
to connect to the external ISDN card that is built into
the Fritz X! PC box via the serial cable. Unless AVM writes
a driver for Linux, this device will never be supported at all - and they
have stated that they are not going to support any non-MS OS
for that device at all.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: missing man page for "sg" command
Date: 16 Jun 2001 10:04:22 GMT
Fulko Hew <[EMAIL PROTECTED]> wrote:
>I'm trying to find the man page for the "sg" command
>used to switch groups. I can see it there in /usr/bin
>but using it (according to SCO's docs) it doesn't work
>and I can't find any Linux docs for it.
Try 'man newgrp', which documents it. Your distribution should have
installed a symlink to newgrp.1 as sg.1 so that it's easier to find.
>I tried:
>
>sg -g nobody -c myprog
My man page suggests 'sg nobody -c myprog'.
>(A response via email plus newsgroup would be appreciated.)
Done.
Cheers,
--
Colin Watson [[EMAIL PROTECTED]]
Jam wants colonies. I am a jest on clowns.
------------------------------
From: "Alex Meaden" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Reading Mac-formatted floppy disks
Date: Sat, 16 Jun 2001 11:58:26 +0100
When I read a Mac-formatted (HFS) floppy disk, all folders and files appear
as folders of 0 size. Why is this, and how do I make them appear properly?
TIA,
Alex.
--
Mr Alex E J Meaden
Computer Science BSc Student
University of Kent at Canterbury
[EMAIL PROTECTED]
[EMAIL PROTECTED]
------------------------------
From: "Macherte" <[EMAIL PROTECTED]>
Subject: hardware interrupt handling in linux
Date: Sat, 16 Jun 2001 15:50:06 +0400
Hello.
How can I handle interrupt in Linux?
Under DOS I know how. For example timer interrupt:
#include <dos.h>
void interrupt newfunc(...);
void interrupt* oldfunc(...); // pointer to function
main()
{
disable();
oldfunc = getvect(0x8);
setvect(0x8, newfunc);
enable();
}
void interrupt newfunc(...)
{
// do something
oldfunc();
}
So, I need do the same under Linux. Please help.
------------------------------
From: Jerry Kreps <[EMAIL PROTECTED]>
Subject: Re: Setserial Irq 5 ????
Date: Sat, 16 Jun 2001 07:01:47 -0500
Albert wrote:
> Have Linux Mandrake 7:1, KDE, Pent,111.
> Works fine, BUT.
> My modem is set Com 4, Irq 5, Which is where I need it.
> I use Setserial /dev/ttyS3 irq 5 to activate Dialer, (via Console).
> Need to know how to set this so I do not need to use the
> Terminal each time I reboot.
>
> Help will be much appreciated!!!
>
> Albert, Wa3fib.
> It took me 84 yrs. to get this dumb.
>
Have you tried wvdialer?
BTW, I've got you beat.... it only took me 60 yrs to get 'this dumb'
;-)
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: hardware interrupt handling in linux
Date: Sat, 16 Jun 2001 14:01:28 +0200
Macherte <[EMAIL PROTECTED]> wrote:
> How can I handle interrupt in Linux?
You can read a book on kernel programming.
Peter
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: How to regenerate RPM database?
Date: Sat, 16 Jun 2001 08:20:09 -0400
Matt Ng wrote:
>
> Just a shot in the dark, are you using RedHat? There's an RPM that
> specifies the release of the distribution. I'm a little unclear on what
> you mean that RPM thinks you have the new release installed.
I sort of use Red Hat. Actually, I use VA Linux Systems version of Red
Hat 6.2. They call it 6.2.3 (the old version I am using) and 6.2.4
(the new version that I am not using because after a week of trying to
configure it, I was still dissatisfied. I guess I will have to do it
sometime when I have a month to spare. I am not sure why the new one
is so difficult to configure; going from VA Linux 6.0 to 6.2.3 was
pretty easy.)
I mean, if I do
rpm -qa
I get a list of the stuff in the new release (e.g,
kernel-2.2.18pre11-va2.0 ), but if I do uname -r, I get
2.2.14-VA.2.1smp. If I look in /boot, I see (among other things):
vmlinuz -> vmlinuz-2.2.14-VA.2.1smp
vmlinuz-2.2.14-VA.2.1
vmlinuz-2.2.14-VA.2.1smp
and there are no entries with 2.2.18pre11-va2.0 in there at all. Also,
the kernels have some easily recognized differences and the one I have
is definately a 2.2.14 kernel and not a 2.2.18 kernel.
The same thing happens for other applications; e.g., GUI type
applications where if you click Help->About it tells you what you
have, and they are not the new versions.
Also, the following trivial commands produce the results shown:
valinux:jdbeyer[/boot]$ cat /etc/va-release
VA Linux Release 6.2.3 08/01/00
valinux:jdbeyer[/boot]$ cat /etc/redhat-release
Red Hat Linux release 6.2 (Piglet)
valinux:jdbeyer[/boot]$
>
> > I tried to upgrade my Linux distribution from one release to the next.
> > It was so difficult to do the configuration of the new release that I
> > just restored everything back to the previous release. Or so I thought.
> > thought. In any case, the RPM database is no good: it thinks I have
> > the new release installed, when I do not.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 8:10am up 8 days, 21:05, 4 users, load average: 3.02, 3.08, 2.83
------------------------------
From: "Egbert Sous�" <[EMAIL PROTECTED]>
Subject: RH 6.1 glib Level ?
Date: Sat, 16 Jun 2001 12:10:19 GMT
I want to install Oracle 9i on RH 6.1. Oracle says I need GNU Lib C 2.2. It also
states that it is certified under RH 7.1 et. al.
Does RH 6.1 have Lib C 2.2? Should I bag it and install 7.1? Can I upgrade my
existing 6.1 to 7.1, or do I need to re-install?
Thanks very much.
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: How to regenerate RPM database?
Date: Sat, 16 Jun 2001 08:34:25 -0400
Dave Uhring wrote:
>
> Jean-David Beyer wrote:
>
> > Dave Uhring wrote:
> >>
> >> Jean-David Beyer wrote:
> >>
> >> > I tried to upgrade my Linux distribution from one release to the next.
> >> > It was so difficult to do the configuration of the new release that I
> >> > just restored everything back to the previous release. Or so I
> >> > thought. In any case, the RPM database is no good: it thinks I have
> >> > the new release installed, when I do not.
> >> >
> >> > I tried
> >> >
> >> > rpm --rebuilddb
> >> >
> >> > and it rummages around for a little while, but the database still
> >> > thinks I have the new release in there and I can tell that I do not.
> >> >
> >> > What must be done for it to REALLY rebuild the database; i.e., look at
> >> > everything on the machine and use the right RPMs in there? Or is this
> >> > impossible?
> >> >
> >>
> >> rpm(8)
> >>
> >> rpm -i --rebuilddb
> >
> > I told you I had already done that (actually, I did it correctly).
> > When I do it your way, I get:
> >
> > valinux:root[/home/jdbeyer]# rpm -i --rebuilddb
> > rpm: only one major mode may be specified
> > valinux:root[/home/jdbeyer]#
> >
> > It is not enough to copy the manual page; you must understand it.
> >
> > In any case, this does not work.
> >
>
> Since I am using the newest version of rpm, perhaps the manpage does not
> apply in your case.
The man page I have says the same as yours, though, so I would think
it applies:
REBUILD DATABASE OPTIONS
The general form of an rpm rebuild database command is
rpm --rebuilddb
To rebuild a new database, do:
rpm --initdb
The only options for these modes are --dbpath and --root.
I took the default for --dbpath and --root. I infer that it thought it
was working because I tried again yesterday and the files now say:
valinux:jdbeyer[/var/lib/rpm]$ ls -l
total 11038
16384 Jun 15 15:25 conflictsindex.rpm
2605056 Jun 15 15:25 fileindex.rpm
16384 Jun 15 15:25 groupindex.rpm
28672 Jun 15 15:25 nameindex.rpm
8960072 Jun 15 15:25 packages.rpm
45056 Jun 15 15:25 providesindex.rpm
90112 Jun 15 15:25 requiredby.rpm
16384 Jun 15 15:25 triggerindex.rpm
valinux:jdbeyer[/var/lib/rpm]$
> Perhaps you can execute the command
>
> # rpm --rebuild (options)
>
> where (options) are --dbpath and --root as explained in "Linux in a
> Nutshell" from O'Reilly.
I do not have that O'Reilly book. I am running:
valinux:jdbeyer[/boot]$ rpm --version
RPM version 3.0.6
valinux:jdbeyer[/boot]$
If I examine the documented options for rpm --rebuild, I see only:
rpm --rebuild <source_package_file>+
When invoked this way, rpm installs the named source pack-
age, and does a prep, compile and install. In addition,
--rebuild builds a new binary package. When the build has
completed, the build directory is removed (as in --clean)
and the the sources and spec file for the package are
removed.
I hesitate to try it with the --dbpath and --root options, since I do
not know what they would do.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 8:20am up 8 days, 21:15, 4 users, load average: 3.01, 3.05, 2.92
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: hardware interrupt handling in linux
Date: Sat, 16 Jun 2001 08:43:11 -0400
Macherte wrote:
>
> Hello.
> How can I handle interrupt in Linux?
> Under DOS I know how. For example timer interrupt:
>
> #include <dos.h>
>
> void interrupt newfunc(...);
> void interrupt* oldfunc(...); // pointer to function
>
> main()
> {
> disable();
> oldfunc = getvect(0x8);
> setvect(0x8, newfunc);
> enable();
> }
>
> void interrupt newfunc(...)
> {
> // do something
> oldfunc();
> }
>
> So, I need do the same under Linux. Please help.
What are you trying to do? If you are trying to write a device driver
for Linux, you better read "Linux Device Drivers" by A.Rubini
(O'Reilly).
If you just want to catch signals, such as a timer interrupt, in a C
or C++ program, you may wish to do
man signal
and see how to use it.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 8:35am up 8 days, 21:30, 5 users, load average: 3.14, 3.19, 3.06
------------------------------
From: Andrew Wm. Graham <[EMAIL PROTECTED]>
Crossposted-To: comp.os.os2.apps
Subject: Re: Moving from PMMail to Kmail
Date: Sat, 16 Jun 2001 12:59:55 GMT
IIRC, PMMail stores the header information for all the messages in
each of your folders in a file called FOLDER.BAG. I can't look this up
right now b/c I'm posting from a W98 machine far from my Warp setup.
I think each line of the folder.bag file contains a filename with a
.MSG extension, and a bunch of other good details about the message.
The MSG file contains the complete message with body in plain
text/MIME encrypted text.
It ought to be trivial to write a filter making an .html document with
each line in the folder.bag having an href to the .MSG file.
This wouldn't convert your old mail folders to kmail, but it would
permit you to access any of your old pmmail messages from any web
browser, which in the long run might be a more robust solution.
I wonder if anyone has already written such a folder.bag > index.html
filter? If you need it badly enough to pay, email me for terms.
andrew graham
toronto
On Fri, 15 Jun 2001 13:59:26 -0400 (EDT), "FEEB"
<[EMAIL PROTECTED]> wrote:
>I am planning my move from OS/2 to Linux. I've been using Linux since 1995
>on various servers, but now I am contemplating to move my workstation to
>Linux as well. I have a very large archive of PMMail, which I would not
>like to loose.
>
>Is there a way how to convert PMMail folder structure to Kmail?
>
>Any comment would be appreciated.
>
>Thanks
>
>
>Frank Bures, <grandial at softex.cz>
>
------------------------------
From: "baum" <[EMAIL PROTECTED]>
Subject: put a running console application into background
Date: Fri, 15 Jun 2001 20:49:51 +0200
hello
is there any way to turn a normal console application into a background
application, just like it has been started with "./application&" ?
thanks for your help!!!
------------------------------
** 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
******************************