Linux-Misc Digest #959, Volume #19 Tue, 27 Apr 99 01:13:16 EDT
Contents:
Re: ppp through rs 232 ports (Scott Lanning)
Re: Getting GIMP and StarOffice to coexist (Paul Kimoto)
Re: FreeBSD vs. Linux vs. Windows (Johan Kullstam)
Re: cdrdao (Arcady Genkin)
Re: X Programming (Scott Johnston)
need help with RPM 3.0 install ("Ron")
Re: cdrdao (jik-)
Re: how to dock apps with windowmaker ? (jik-)
Re: Burning playable music CD's ([EMAIL PROTECTED])
Re: Shared calendar solution for Linux? (Christopher B. Browne)
Re: Information required, please (jik-)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Scott Lanning)
Subject: Re: ppp through rs 232 ports
Date: 26 Apr 1999 22:55:07 GMT
schkey ([EMAIL PROTECTED]) wrote:
: I am looking for detailed instructions on how to connect a windows
: box and a linux box through the rs 232 ports for a file transfer.
: Please be as detailed as you possibly can.
Ha, I couldn't've asked for a better setup! Here is my posting
assignment from digs (hi digs!):
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
For this project you will need:
1.a null modem cable
2.kermit or another like netterm for windoze /a comm program/
3.a linux boxen
4.a dos or wintendo boxen
5.slirp -you dont need this but its sure slick../a ppp-slip
emulator/
let's go!
unless you're handy with a soldering iron i suggest going
the easy route ;)
Go to Radioshack and get the following:
null modem adapter catalog# 26-264A
db 9pin serial cable catalog#heck even WalMart should
#have these.
If you're hard headed like I was /am ?/ you can make
your own.. note: charts are provided below.
grab a copy of kermit for ms-dos link below:
http://www.columbia.edu/kermit/mskermit.html
[BIG FAT NOTE]:unless you read up on the use of kermit mark
my words: your efforts will be in vain!
/I ordered the book along with the software it is really
good reading and I was up and running in 10min -+/
search your distro for a program called slirp or
search the net for it..this little puppy let's you login
to a shell account from a terminal then crank
up netscape or explorer etc.. from you wintindo box it's
very neat!
ok..
1.hook up you null modem cable: ms-dos/wintendo <--> linux
boxen
2.from linux as root edit the file etc/inittab
mine looks like this:
# Serial lines
s1:12345:respawn:/sbin/agetty -L 19200 ttyS0 vt100
s3:12345:respawn:/sbin/agetty -L 19200 ttyS2 vt100
s4:12345:respawn:/sbin/agetty -L 19200 ttyS3 vt100
after you make the changes save the file then as root type:
init q /this will refresh the system/
[ANOTHER BIG FAT NOTE]:you must have some type of getty.
I use agetty because it was simple to setup.
man agetty(1) for more details.
Make sure that your agetty is not trying to respawn on
a com port that a mouse is using!
What this does is tell agetty to listen on the lines
noted for a login:
ttyS0 = com1 in dos
ttyS1 = com2 in dos etc..
[YET ANOTHER BIG FAT NOTE]:agetty and kermit /must/ be set
to use the same speed or it won't work.
Note the string "19200".
Alright back to the wintendo side of the things:
from a dos box, cd to your kermit directory, then issue
the command: kermit
Next type: set lineX
/where X is the com port you chose to attach your
nullmodem to; ie. set line 1, then type set speed 19200
/where 19200 is the speed you choose in etc/inittab/
If you setup --everything properly-- you should see
a login prompt. If not tap the enter key on the wintindo
boxen a couple of times.
Now this alone will let you login and out of your linux
boxen, read news, email, etc..
But if you want to cruise the net using windows
via your linux boxen you will need slirp. I won't go
into the setup of slirp but you can figure that out for
yourself.
[THE LAST BIG FAT NOTE]:before you bust off and
try all this, grab a can of soda and read these links
and bookmark them they got me up and running.
goodluck..
required reading:
http://www.columbia.edu/kermit/faq.html
http://www.cs.utk.edu/~shuford/terminal_index.html
http://www.pt.lu/comnet/desc/netterm.html
http://www.talentcom.com/icomm/index.html
http://mail.humanities.ccny.cuny.edu/faq/ [cont. next line]
doc/Linux-mini-HOWTOs/SLIP-PPP-Emulator
http://www.ece.concordia.ca/~dave/work/win95.html
http://www.engsoc.carleton.ca/Documentation/SLIRP/index.shtml
--
IBM DB-25 pin null modem
The [o] characters represent holes, & the [.] characters
represent pins.
Female: Male:
13 <-------- 1 1 -------> 13
_____________________________ _____________________________
\ o o o o o o o o o o o o o / \ . . . . . . . . . . . . . /
\ o o o o o o o o o o o o / \ . . . . . . . . . . . . /
------------------------- -------------------------
25 <----- 14 14 -----> 25
For 25-to-25 pin connectors, the pinouts look like this:
db-25 null modem: Pin names:
Pin# 2 goes to 3 2 TD Transmit Data
Pin# 3 goes to 2 3 RD Receive Data
Pin# 4 goes to 5 4 RTS Request to send
Pin# 5 goes to 4 5 CTS Clear to send
Pin# 6 and 8 go to 20 6 DSR Data Set Ready
Pin# 7 goes to 7 7 SG Signal Ground
Pin# 20 goes to 6 and 8 8 DCD Data Carrier Detect
20 DTR Data Terminal Ready
note: the rest are not assigned 22 Ring Ring Indicator
--
IBM DB-9 pin null modem
The [o] characters represent holes, the [.] characters
represent pins.
Female: Male:
5 <---- 1 1 -----> 5
_____________ _____________
\ o o o o o / \ . . . . . /
\ o o o o / \ . . . . /
--------- ---------
9 <-- 6 6 --> 9
For 9-to-9 pin connectors, the pinouts look like this:
db-9 null modem: Pin names:
Pin# 1 and 6 go to 4 1 DCD Data Carrier Detect
Pin# 2 goes to 3 2 RD Receive Data
Pin# 3 goes to 2 3 TD Transmit Data
Pin# 4 goes to 1 and 6 4 DTR Data Terminal Ready
Pin# 5 goes to 5 5 SG Signal Ground
Pin# 7 goes to 8 6 DSR Data Set Ready
Pin# 9 goes to 7 7 RTS Request to Send
8 CTS Clear to Send
9 Ring Ring Indicator
--
A Mac to Pc null modem
Mac name RS-232 name Mac DIN-8 Pin PC DB-9 Pin PC DB-25 Pin
======== =========== ============= =========== ============
RxD- RD - 5 ------- 3 2
TD
TxD- TD - 3 ------- 2 3
RD
Ground SGND - 4 ------- 5 7
SGND
RxD+ DCD - 8 ------- 5 7
SGND
HSKi CTS - 2 ------- 7 4
RTS
HSKo RTS - 1 ------- 8 5
CTS
Mini DIN-8 Macintosh Serial Port Pinout
(looking at the back of the Macintosh)
/------###------\ 1 HSKo Output Handshake
/ ### \ (Zilog 8530 DTR pin)
/ \ 2 HSKi/CLK Input Handshake
/ [|] [|] [|] \ *OR* External Clock
/ 8 7 6 \ 3 TxD- Transmit data (-)
| |
| | 4 Ground Signal ground
| === === === |
| 5 4 3 | 5 RxD- Receive data (-)
| |
| | 6 TxD+ Transmit data (+)
\----+ === === +----/
\###| 2 1 |###/ 7 N/C (no connection)
\##| |##/
\| |/ 8 RxD+ Receive data (+)
\-----###------/
###
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Getting GIMP and StarOffice to coexist
Date: 26 Apr 1999 18:55:22 -0500
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> In <[EMAIL PROTECTED]>
> [EMAIL PROTECTED] (Paul Kimoto) writes:
>> (Oh, I hear that you can run glibc-2.0.x and glibc-2.1 on the same
>> system if one is running in a chroot environment, but who wants to
>> do that?)
> What about using LD_LIBRARY_PATH? Does that stink? Just copy the old
> libs to the lib-directory of StarOffice and it should find 'em.
Apparently glibc-2.0 and glibc-2.1 each have their own dynamic linker,
and they don't mix with the other's shared library.
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
Crossposted-To: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD vs. Linux vs. Windows
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 26 Apr 1999 19:22:42 -0400
[EMAIL PROTECTED] (Leslie Mikesell) writes:
> In article <[EMAIL PROTECTED]>,
> Johan Kullstam <[EMAIL PROTECTED]> wrote:
>
> >> >Systems should be designed to survive overload without having to be
> >> >rebooted.
> >>
> >> Yes, but if your name server starts taking minutes to respond to
> >> queries and you can't see any end in sight to the overload
> >> will you leave it that way to preserve the cache or reboot
> >> and let people start working again? Killing processes sounds
> >> good, but what if it takes several minutes to get a prompt
> >> and many more to run ps, and meanwhile the requests that are
> >> overloading the server are still coming?
> >
> >this is why root on the console terminal traditionally gets a high
> >priority for all commands by default. everyone waits for superuser so
> >that root can do what they need to do. i do not know if linux has a
> >similar priviledged position anywhere (like root on a particular
> >virtual term).
>
> The problems I've seen have always involved web servers with cgi
> scripts connecting to something that answered too slowly, or
> a mail server configured to start a queue run way too often
> so there are hundreds of processes to deal with (although with
> apache you can whack the master process if you get a chance).
> Having a higher priority doesn't seem to be enough - you still
> need to swap something out to get memory to run ps and it takes
> a long time when you don't have any swap left.
you could reserve some of the swap area for root emergency. perhaps
there could be a superroot mode where your superprocesses run in core,
are unswappable and all other processes get stuffed into the swap
area. the superroot would simply push stuff into reserved swap since
it would always be there until needed. since disk is getting cheaper
every day (people `waste' disk in redundant RAID configurations), this
might not be too great a price to pay on a server needing 100% uptime.
--
J o h a n K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!
------------------------------
Subject: Re: cdrdao
From: Arcady Genkin <[EMAIL PROTECTED]>
Date: Mon, 26 Apr 1999 23:51:51 GMT
jik- <[EMAIL PROTECTED]> writes:
> For any who care, I figured it out. The read-toc command assumes your
> going to rip into a single file.
Hi!
Could you tell me, when you read the toc with cdrdao, does it only
write the toc file, or also analyze each track? If the latter, why is
it doing so? It takes an awful lot of time (considering that I also
need to rip the cdda data off the CD)...
Thanks!
--
Arcady Genkin
"I opened up my wallet, and it's full of blood..." - GsYDE
------------------------------
From: [EMAIL PROTECTED] (Scott Johnston)
Subject: Re: X Programming
Reply-To: [EMAIL PROTECTED]
Date: Mon, 26 Apr 1999 23:49:06 GMT
In article <[EMAIL PROTECTED]>,
Steve D. Perkins <[EMAIL PROTECTED]> wrote:
> Can anyone recommend some good "starting points" on the web
>for learning about X-window application development?
>
http://www.pconline.com/~erc/xprog.htm is one place to start.
------------------------------
From: "Ron" <[EMAIL PROTECTED]>
Subject: need help with RPM 3.0 install
Date: Mon, 26 Apr 1999 16:27:33 -0700
I installed the new version of RPM in redhat 5.2 with:
rpm -Uvh rpm 3_0-6_0_i386.rpm
the next time I tied to use RPM It could not not open the package.rpm and
said to use --rebuilddb
Apparently I need to rebuild a database somewhere and possibly point to the
new rpm executable. Can someone describe how to use this so I can set this
up properly.
TIA
------------------------------
Date: Mon, 26 Apr 1999 17:25:13 -0700
From: jik- <[EMAIL PROTECTED]>
Subject: Re: cdrdao
Arcady Genkin wrote:
>
> jik- <[EMAIL PROTECTED]> writes:
>
> > For any who care, I figured it out. The read-toc command assumes your
> > going to rip into a single file.
>
> Hi!
>
> Could you tell me, when you read the toc with cdrdao, does it only
> write the toc file, or also analyze each track? If the latter, why is
> it doing so? It takes an awful lot of time (considering that I also
> need to rip the cdda data off the CD)...
>
It *tries* to analyze each track, and yes it tacks a very long time...I
would GUESS at least the amount of time required to play the song.
cdrdao never finishes that part though, exits with a whole shit load of
errors, yet writes a viable toc file.....go figure....
My advice, when it sits there like a dumn shit, eject the CD and it will
force a toc file out of it :P....and yes, the toc file works afetr
that....go figure.
------------------------------
Date: Mon, 26 Apr 1999 17:34:34 -0700
From: jik- <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x
Subject: Re: how to dock apps with windowmaker ?
marc* wrote:
>
> when i try to dock them they fly back at the bottom of the screen. when i
> disable the automatic arrangement of icons, they don't dock either (they
> remain where i drop them but not docked). i mean when you get this white
> shadow
Are you trying to doc the app icon or the window icon? The is exactly 1
app icon if any, and several window icons. I personally don't like the
app icons so I tell the feind to suck them up and close. If it has an
icon title it isn't a docable icon....if a white block appears behind
when you drag to the doc, it will doc.
Read the faq, it might help.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Burning playable music CD's
Date: Tue, 27 Apr 1999 00:33:57 GMT
In article <[EMAIL PROTECTED]>,
Brian L Rachford <[EMAIL PROTECTED]> wrote:
>I bought a CD-RW drive last week and had no problems getting
>it up and running (BTC 2x/2x/6x IDE drive, RedHat 5.2, 2.0.36,
>486DX2/66). I've successfully written a data CD-R and have
>been playing around with a CD-RW disk as a test of music CD
>writing. However, when I burn a music CD with either cdrecord
>or cdrdao, the CD is not playable in a "real" CD player.
>The CD-RW drive will play it (this is a hardware option, and
>not through the system; I don't even have a sound card installed)
>but all the normal CD players I've tried die before they play
>anything as if they can't find the tracks.
>
>Has anybody been able to play an audio CD created by cdrecord
>or cdrdao in a normal CD player? Is there a chance that
>the problem is that I'm using a CD-RW disk for a music CD
>instead of a CD-R? (I'll be embarrassed if that's the case;
>I just don't want to trash a bunch of CD-R's on a wild goose
>chase!) I'm hoping that I'm just doing something wrong.
>I can provide more details if necessary, but I think I'm using
>the right options for the programs.
>
>Thanks,
>
>Brian Rachford
>[EMAIL PROTECTED]
The songs have to be recorded as 16 bit, stereo, 44100 samples
per second. (I use wavplay/xltwavplay myself). Did you do that?
If I have a directory full of such files (with a ".wav" suffix), I use
the command:
cdrecord -audio -speed=<speed of recorder> -pad -v dev=<major,minor nr> *wav
I don't know if having a CD-RW makes a difference. Hope this helps.
--
Praeterea censeo Micromolle non esse utendum.
("Moreover, I maintain that Microsoft should not be used." With apologies
to Cato the Elder)
---- Remove "UhUh" and "Spam" to get my real email address -----
------------------------------
From: [EMAIL PROTECTED] (Christopher B. Browne)
Subject: Re: Shared calendar solution for Linux?
Reply-To: [EMAIL PROTECTED]
Date: Tue, 27 Apr 1999 00:36:12 GMT
On Mon, 26 Apr 1999 12:40:08 GMT, Gordon Hunt
<[EMAIL PROTECTED]> posted:
>There is a new, free Web-based calendar system available that is very
>intuitive. It's designed for groups, but supports personal calendars
>also. You can post a message to your personal calendar and elect to
>simultaneously post the message to the group calendar. You needn't
>"become a member" either. It also supports e-mail reminders. Why put
>up with the poor user interface and complex sys. admin. demands of
>Netscape Calendar when there is a free alternative?
>
>Check it out: http://www.huntcal.com/
And the sources are available where?
This calendar system may be useful enough to someone that doesn't care
about the privacy of their schedule data, and is willing to trust a
third party that has no forcible duty of care.
For the rest of us, who might care about:
- Backup policy
- Privacy
- Service guarantees
this "web-based" approach isn't terribly acceptable.
Netscape Calendar may not have the best user interface, but does
permit keeping the data under far more careful control.
--
Those who do not understand Unix are condemned to reinvent it, poorly.
-- Henry Spencer <http://www.hex.net/~cbbrowne/pimsunix.html>
[EMAIL PROTECTED] - "What have you contributed to free software today?..."
------------------------------
Date: Mon, 26 Apr 1999 17:36:16 -0700
From: jik- <[EMAIL PROTECTED]>
Subject: Re: Information required, please
Antony Shepherd wrote:
>
> I'm contemplating switching to a Linux system, but there are a few things
> I'd like to know, so if anyone has any information of any of these, please
> tell me, thanks.
>
> 1. I believe I can use my HP 420C colour inkjet with Ghostscript to print
> stuff.
> Anyone done this and can tell me about the results?
I have seen the 660c, it did good...no gamma correction required.
>
> 2. I know I can't use my Canon LBP460 - it's a windows printing system
> thing. Still, it's over three years old so maybe it's time to buy a new
> one:)
I have a bjc4200, IT works...no idea bout the LBP...look on the
compatability list.
>
> 3. Does anyone know if it's possible to use a Plustek Optic Pro 4800 scanner
> (parallel port) with Linux?
http://www.mostang.com/sane/
------------------------------
** 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
******************************