Linux-Misc Digest #961, Volume #26               Mon, 29 Jan 01 09:13:03 EST

Contents:
  Re: copying /dev/* files ("Peter T. Breuer")
  mp3 to wave converter of choice ("Grob")
  resolution reduction in gs ("Dr. Martin Schreck")
  Re: How to put LILO in 1st sector of boot partition ? (Eric)
  Re: find - exec without path? (Villy Kruse)
  Re: vim syntax colors (Villy Kruse)
  Linux on Alpha station (Jean-Stephane Lebrun)
  Re: Full-featured, reliable POP-mail client for Linux? (joe)
  PCI bus access (David Florez)
  System.map - kernel compilation (Stamatis Stefanakos)
  Re: Full-featured, reliable POP-mail client for Linux? (Disco Stu)
  Re: DOS, WIN98 and LINUX ?! (Axel Bergerhoff)
  Re: Redhat 6.2 : bash2 (Christopher Albert)
  Re: PCI bus access (Jean-David Beyer)
  Modem with ESS-1989-Chip ("lordq")
  Re: Linux on Alpha station (Stephen Cornell)
  Re: About using VNC... ("max")
  Re: mp3 to wave converter of choice (Udo Wolter)
  Re: Virtual consoles and xterminals (Dances With Crows)
  Re: why can't i find any good  GUI file managers? (Yvan Loranger)
  Re: What - no WYSIWYG HTML editors?? (Yvan Loranger)
  Which Linux version? (Paul)

----------------------------------------------------------------------------

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: copying /dev/* files
Date: Mon, 29 Jan 2001 07:15:40 GMT

[EMAIL PROTECTED] wrote:
> If you follow the instructions in the bootdisk-HOWTO, be very careful
> when you get to the part of making your /dev/ entries. I copied everything
> from /dev/ to the ramdisk. Then I attempted to delete uneeded devices.
> I thought I was deleting them from the ramdisk, but I had deleted them from
> hda1 instead! Now my system is totally trashed and I have to reinstall.

Uh no. Boot from a rescue diskette and run /dev/MAKEDEV.
Or just spend a little time with mknod yourself. Or use devfs.

Peter

------------------------------

From: "Grob" <[EMAIL PROTECTED]>
Subject: mp3 to wave converter of choice
Date: Mon, 29 Jan 2001 07:12:46 GMT

Who likes what and why?

Thanks,

Rob

------------------------------

From: "Dr. Martin Schreck" <[EMAIL PROTECTED]>
Subject: resolution reduction in gs
Date: Mon, 29 Jan 2001 16:08:12 +0900

Is there a way to reduce the resolution of images included in a
postscript file when generating a pdf file? My pdf is ways to large.


Martin




------------------------------

From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to put LILO in 1st sector of boot partition ?
Date: Mon, 29 Jan 2001 09:17:46 +0100
Reply-To: [EMAIL PROTECTED]

Arctic Storm wrote:
> 
> > > How to put LILO in 1st sector of boot partition ?
> >
> > Edit the file /etc/lilo.conf, change the line boot=/dev/hda to point
> > to your boot partition (/dev/hda0, or whatever), then run /sbin/lilo
> 
> You seem to have misunderstood my question.
> The LILO boot record is placed on the MBR by Mandrake.
> MBR originally had info regarding Win2K boot, but now, it has LILO boot
> record.
> Your proposal does not correct the problem.

It did answer you're question though.
If it's not what you wanted to know, you should ask a clearer question.

/boot/boot.0300 holds the original MBR. put it back, and use the boot=
line to
place LILO on the bootsector of the partition.

Eric

------------------------------

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.os.linux.help
Subject: Re: find - exec without path?
Date: 29 Jan 2001 08:50:00 GMT

On Fri, 26 Jan 2001 18:22:15 GMT,
          Christian Hartmann <[EMAIL PROTECTED]> wrote:


>Hello,
>
>I use the following command:
>
>find /opt/sicherung/  -type f -maxdepth 1 -name "*"  -exec sh
>/opt/oracle/db_stuff/ftp_send_aktuell.sh "{}" ";"
>
>How is it possible to pass the filename to the script
>ftp_send_aktuell.sh wihout the file-path for every file, i.e. only the
>filename?
>
>Is there a way? If yes, how?


It would, I beleive, be easier for the shell script to use 'basename'
to strip the directory path from the names passsed.


$ basename /abc/def/ghi
ghi

Villy


------------------------------

From: [EMAIL PROTECTED] (Villy Kruse)
Crossposted-To: comp.editors
Subject: Re: vim syntax colors
Date: 29 Jan 2001 09:15:48 GMT

On Fri, 26 Jan 2001 22:55:20 GMT,
             Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:


>entropy wrote:
>> 
>> i just installed vim on my AIX machine that i telnet into constantly (i
>> hardly ever use the machine itself, just through telnet) and can only
>> get black & white highliting. my term's set to vt100 and i know it's
>> not the consoles fault as i have "gnuls --color" working fine. i want
>> want want syntax coloring!!!! anyone have any ideas?
>
>My guess is that the curses library on the AIX machne doesn't support 
>color. I have the same problem with Solaris.
>



The vt100 doesn't have colours.  One or more of the other vtxxx does,
though, so I would suggest to use the one that matches your hardware.


If telnetting from linux console you should install the linux terminal
definition using tic on the AIX machine.



Villy

------------------------------

From: Jean-Stephane Lebrun <[EMAIL PROTECTED]>
Subject: Linux on Alpha station
Date: Mon, 29 Jan 2001 10:45:44 +0100

Hi,

Is it possible to install Linux on the station the description of which
is following ?
If yes, what distribution of Linux do I have to use ?

Thanks,

Jean-St�phane Lebrun

Manufacturer:         Digital Alpha (Digital Unix) 600 MHz
Node:                 smalto
Model:
OS Level:             V4.0D
X11 Level:            OSFX11425
Motif Version:        1.2.4
Window Manager:       CDE (OSFCDEDT425)
3D Graphics Library:  O3DDWSBASE460
Graphics Board:       PowerStorm4D60T
Installed RAM:         512 Mbytes
Free Tmp Space:       835363 kbytes

Swap Space:

Total swap allocation:
    Allocated space:        98304 pages (768MB)
    In-use space:            1239 pages (  1%)Filesystem
1024-blocks        Used   Available Capacity  Mounted on
 Available space:        97065 pages ( 98%)



/dev/rz16a       126927       77301       36933    68%    /
/proc                 0           0           0   100%    /proc
/dev/rz16g       993023      771508      122212    87%    /usr
/dev/rz16h      2180406     1034176      928189    53%    /user2
/dev/rz17c      4064118     2822343      835363    78%    /user1

------------------------------

From: joe <[EMAIL PROTECTED]>
Subject: Re: Full-featured, reliable POP-mail client for Linux?
Crossposted-To: comp.mail.misc,alt.os.linux.suse,alt.os.linux
Date: Mon, 29 Jan 2001 09:55:42 GMT

On Sun, 28 Jan 2001, Andrew Starr wrote:

>> >Linux Format magazine recommended Mahogany as a GUI client, or Mutt as a
>> >text-based client.

>http://mahogany.sourceforge.net/
>

I downloaded Mahogany, looks great but kept crashing on my SuSE 7.0 ( ATI Xpert
2000 32M AGP, Athlon 800 Mhz 128M) using ICEWM. I will keep using kmail for
now, not as nice but easy to use and fairly reliable


joe

------------------------------

From: David Florez <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.hardware
Subject: PCI bus access
Date: Mon, 29 Jan 2001 11:09:52 +0100

Hi All,
Does anybody know if there is a way of mapping
the physical PCI bus addresses into user memory
space (being user root if needed)?

I need to write an application that will be
accessing the PCI bus VERY often. The only thing
I can think of is adding a module to the kernel
(device driver) that maps the PCI bus to kernel
linear space ( by calling ioremap() ) and
therefore the user app would have to issue a
system call to request a PCI bus data transaction
to the device driver. The idea would be finding a
way of getting rid of these overkilling system
calls.

Somebody told me that somebody told him (...) that
this could be done by calling iomap(); (???) from
the user application (providing the user is root)
but I couldn't find this function anywhere.

Many thanks in advance.

David Florez.

------------------------------

Date: Mon, 29 Jan 2001 11:29:27 +0100
From: Stamatis Stefanakos <[EMAIL PROTECTED]>
Subject: System.map - kernel compilation



I am trying to install a new kernel but it fails at boot time - I think
this has something to do with the System.map file. 

Can someone explain the procedure with this? The how-tos don't say
anything about that file - what I am doing now is just copying the kernel
image to /boot, adding the entries to lilo.conf and running lilo. But the
System.map has to be updated, right? 

So should I copy this one also to /boot? Right now, boot
contains a System.map-2.2.16 file (this came with SuSE 7.0). Will copying
a new System.map file (say, for 2.4.0) affect my old kernel? (I need to
have that one also!) 

thanx
S.


------------------------------

From: [EMAIL PROTECTED] (Disco Stu)
Crossposted-To: comp.mail.misc,alt.os.linux.suse,alt.os.linux
Subject: Re: Full-featured, reliable POP-mail client for Linux?
Date: Mon, 29 Jan 2001 10:52:39 GMT

i use pine,

it is quite good.

disco stu.


------------------------------

From: Axel Bergerhoff <[EMAIL PROTECTED]>
Subject: Re: DOS, WIN98 and LINUX ?!
Date: Mon, 29 Jan 2001 11:57:09 +0100



Harlan Grove wrote:

> In article <Rplc6.775$[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (Grant Edwards) wrote:
> >In article <94sln3$b6j$[EMAIL PROTECTED]>, Harlan Grove wrote:
> >
> >>> (7. Install WinNT)
> >>> 8. Install Linux, Lilo into MBR
> >>
> >>You have lilo in the MBR and NT is OK with this?
> >
> >Sure. I've been doing it that way for years on at least a
> >half-dozen systems.  Never had a problem.
> >
> >>This is NOT what the
> >>Linux+NT-Loader mini-HOWTO says. Time for a revision?
> >
> >Dunno.
>
> Silly me. I read the mini-HOWTO, and followed instructions. So with NT
> already installed, I'd write NT's MBR to a file with dd,
> edit /etc/lilo.conf to add an entry for NT pointing to this dd-created
> file, then install lilo in the MBR?
>
> Note: I have a 2 SCSI drive system, with a VFAT partition for Windows
> 95 on the first partition of the first drive, an NTFS partition for NT
> (with %SysRoot% on this NTFS partition) on the second partition of the
> first drive, and linux entirely on the partitions of the second drive.
> Would this matter?
>
> Sent via Deja.com
> http://www.deja.com/

1. You need to save and restore the MBR only for Win9x/DOS 6.x to get DOS
run again
2. For your system your lilo.conf should look like this:
..
/image    =    /boot/vmlinuz
    root    =    /dev/sdb1    # if it's a primary partition
    label   =    linux    # or what ever you named it

/other    =    /dev/sda1    # for Win 9x on your first drive's first
primary partition
    label    = win95
    table    = /dev/sda       # _not_ sda1

/other    = /dev/sda2    # if your NT is on a primary partition, I think
sda5 otherwise
    label    =   winnt
    table    =    /dev/sda   # _not_ sda2

This should work with Lilo in MBR; but if you ever remove Linux, you have
to restore
your MBR, e.g by fdisk /MBR.

Axel


------------------------------

From: Christopher Albert <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,linux.redhat
Subject: Re: Redhat 6.2 : bash2
Date: Mon, 29 Jan 2001 12:18:57 +0100

[EMAIL PROTECTED] wrote:

> Hi
>
> (Sorry if I'm repeating myself, my message didn't show up)
>
> RH6.2 has 2 versions of bash:
> bash-1.14.7-23.6x and bash2-2.03-8 (updated) These are essentially
> separate shells: the former is in /bin/bash and the latter is in
> /bin/bash2. System scripts use /bin/bash. I'm wondering if installing
> the latest bash (in place of bash-1.14.7-23.6) will break things.
>
> Thanks for the advice.
>
> Wroot
>
> Sent via Deja.com
> http://www.deja.com/

Wroot,
Why install anything? You already have two working versions of bash.
I am pretty certain that almost anything written in your bash1 will run
on
bash2 but the converse is not true. However, since fundamental system
scripts are written for bash1, why take a chance to muck up you system.
Set your personel shell to bash2 if you want, write your scripts in
bash2
and give them the correct shebang, and you can happily cohabit with two
versions of bash.

Chris


------------------------------

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: PCI bus access
Date: Mon, 29 Jan 2001 07:28:34 -0500

David Florez wrote:
> 
> Hi All,
> Does anybody know if there is a way of mapping
> the physical PCI bus addresses into user memory
> space (being user root if needed)?
> 
> I need to write an application that will be
> accessing the PCI bus VERY often. The only thing
> I can think of is adding a module to the kernel
> (device driver) that maps the PCI bus to kernel
> linear space ( by calling ioremap() ) and
> therefore the user app would have to issue a
> system call to request a PCI bus data transaction
> to the device driver. The idea would be finding a
> way of getting rid of these overkilling system
> calls.
> 
I have no idea if this is possible or not (I suspect it is), but I think
it a terrible idea. Application programmers in DOS did this all the
time. While it got them a short-term performance increase, it made it
impossible to improve DOS (and later, Windows) because it had to support
all those legacy applications that were driving the hardware directly.
Furthermore, it made it difficult to improve the hardware architecture
of the PC itself for the same reason.

Are you sure the system calls are "overkilling"? You might be better off
with a faster CPU.

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 7:25am up 15:55, 3 users, load average: 3.10, 3.07, 3.01

------------------------------

From: "lordq" <[EMAIL PROTECTED]>
Subject: Modem with ESS-1989-Chip
Date: Mon, 29 Jan 2001 13:41:23 +0100

I have a terra aura notebook ... which is certified by SuSE ... but with
the restriction of the on-board-modem with an ESS-1989 Chip ... (i think
its an ensoniq one) ... for which i cant find any drivers ... anyone
knows where i can get one?

thx

lordq

------------------------------

From: Stephen Cornell <[EMAIL PROTECTED]>
Subject: Re: Linux on Alpha station
Date: 29 Jan 2001 12:49:50 +0000

Jean-Stephane Lebrun <[EMAIL PROTECTED]> writes:
> 
> Is it possible to install Linux on the station the description of which
> is following ?
> If yes, what distribution of Linux do I have to use ?

Possibly, though I don't know whether the graphics card is supported
by XFree86.  However, I can't imagine why you'd want to install Linux
on it - you already have a mature, industrial-strength 64-bit Unix
that was written for this architecture, and consistently performs
better than Linux in benchmarks (though the gap is sometimes small),
and an industrial-strength X-server that supports the 3D hardware
acceleration of your graphics card (which will not be the case with
XFree86).  The vast majority of Gnu programs that compile under Linux
will also compile under Digital Unix.  What on earth do you hope to
gain from using Linux instead?

-- 
Stephen Cornell          [EMAIL PROTECTED]         Tel/fax +44-1223-336644
University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB2 3EJ

------------------------------

From: "max" <[EMAIL PROTECTED]>
Subject: Re: About using VNC...
Date: Mon, 29 Jan 2001 13:54:21 +0100

In article <[EMAIL PROTECTED]>, "Guy Parry"
<[EMAIL PROTECTED]> wrote:

>      It clearly says in the "Getting Started with VNC" section on
> their site: The server and the viewer may be on different machines and
> on different architectures.  We expect the most common use to be the
> display of a Unix X desktop on a PC, for example..."
>      I have just such a setup, but I don't understand how to start the
> server in the Linux partition.  I can't seem to get it clear.  You can
> only be booting into one OS at a time, right.  If I'm in Windows how can
> I get across to the other partition to start Linux's server so I can
> THEN start the viwer from Windows...
>       I don't get it.  The docs says something about DNS numbers.
> Something about 127.0.0.1..Would I type something o do with that in
> Windows' telnet program?  Sorry to sound dense; I just can't seem to ask
> the question the right way, thanks to shit documentation....sigh.
>      tia...

What you want is what VNC doesn't offer. VNC remotely displays the
display af a machine on the display of another machine. You can't have
Linux and Windows up and running at the same time on the same machine
using VNC.

For that you would need VMWare. Check out www.vmware.com. It allows you
to run a virtual machine on your current OS, so you can run Linux from
Windows (or the other way around).

max

------------------------------

From: Udo Wolter <[EMAIL PROTECTED]>
Subject: Re: mp3 to wave converter of choice
Date: 29 Jan 2001 13:06:13 GMT

Grob <[EMAIL PROTECTED]> wrote:
> Who likes what and why?

mpg123 (http://www.mpg123.de/):

It can write them with WAV-header or raw. Anyway: Almost every console-
mp3-player should also write them to stdout or whatsoever...
I don't think that there are big differences in converting from mp3
to wav. Vice versa there are more differences.

Bye,
        Udo
-- 
[EMAIL PROTECTED]
system engineer                                         innominate AG
                                                 the linux architects
tel: +49-30-308806-84   fax: -698           http://www.innominate.com


------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Virtual consoles and xterminals
Date: 29 Jan 2001 13:22:59 GMT
Reply-To: [EMAIL PROTECTED]

On Sun, 28 Jan 2001 21:30:53 GMT, Leonardo Giordani staggered into the
Black Sun and said:
>I currently work on PostgreSQL and I have to run the server "postmaster" 
>under a virtual console, becouse in a Xterm (Eterm) I cannot login with the 
>right username and password. Why there is this difference between vc and a 
>simply Xterminal? How can I fix this problem? I need this so that I can 
>look at the transactions without pressing 10e6 times 
>Ctrl-Alt-F1/Ctrl-Alt-F7.

What happens if you open an xterm and do the following?

you@machine:$ su - username
Password: XXXXX
username@machine:$ <do whatever you need>

By default, an xterm will open a non-login session owned by the UID that
started the xterm.  "su" is for temporarily assuming another UID,
usually root's, but also postmaster's if you know postmaster's password.
HTH,  

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

------------------------------

From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: why can't i find any good  GUI file managers?
Date: 29 Jan 2001 13:41:33 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)

Do people posting in this thread bother to read the previous posts?
I bet they're the ones who often reply RTFM to esp. newbie questions!
 
--
Merci.........................Yvan     Pour le plein air: Club Vertige
 [EMAIL PROTECTED]     http://www.ncf.ca/vertige

------------------------------

From: [EMAIL PROTECTED] (Yvan Loranger)
Subject: Re: What - no WYSIWYG HTML editors??
Date: 29 Jan 2001 13:55:43 GMT
Reply-To: [EMAIL PROTECTED] (Yvan Loranger)

Jerry Kreps ([EMAIL PROTECTED]) writes:
> I would add that the number of folks who abstain from command line in 
> favor of a macro assembler are smaller yet.  The smallest group are the 
> elitists who do everying in binary, chaning registers by flipping 
> switches.  Now those folks are real coders.  ;-)

No, real coders do it using a soldering iron!
--
Merci.........................Yvan     Pour le plein air: Club Vertige
 [EMAIL PROTECTED]     http://www.ncf.ca/vertige

------------------------------

From: Paul <[EMAIL PROTECTED]>
Subject: Which Linux version?
Date: Mon, 29 Jan 2001 13:51:39 GMT

Which one? Just now looking into Linux and I see many versions. Debian,
Calerda, etc. Which one?????

--
**To replay via email
[EMAIL PROTECTED]


Sent via Deja.com
http://www.deja.com/

------------------------------


** 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
******************************

Reply via email to