Linux-Misc Digest #463, Volume #19 Mon, 15 Mar 99 03:13:17 EST
Contents:
Re: Space Station uses 95/NT, disaster imminent (no joke) (Bloody Viking)
Re: Space Station uses 95/NT, disaster imminent (no joke) (Bloody Viking)
Re: ps && grep ? (Paul Kimoto)
Re: critical hard disk error!? ([EMAIL PROTECTED])
Re: Firewall with 1 IP ("George Georgakis")
Re: MCSE preparation exams (Miguel Cruz)
403 Error when executing cgi scripts ([EMAIL PROTECTED])
Re: kernel compilation problem (Seth Van Oort)
Re: critical hard disk error!? (Scott Preston)
problem telneting to 'localhost'/127.0.0.1 ([EMAIL PROTECTED])
Re: setting up realtek 8029 (Pete)
Re: New 2.2.3 kernel RPM packages available (Tiger)
connecting two linux boxes without network card? (Sasa Ostrouska)
Re: what "rc" scripts exist for linux? (Alexander Viro)
Re: strange characters ("R.A. Wilson")
Re: Error seeking /dev/kmem, Redhat 5.2 kernel 2.2.3 on Hitachi Visionbook Pro
(Michael Fleming)
Re: Linux Safeguards for the Consumer? (Omegaman)
Re: AARGH!!! ("Karl Bengtsson")
Re: Need to capture the 'raw' mouse under X ("David Z. Maze")
Re: Increasing the number of pty or tty to 512 ? (James Yu)
----------------------------------------------------------------------------
From: Bloody Viking <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Space Station uses 95/NT, disaster imminent (no joke)
Date: 15 Mar 1999 05:13:06 GMT
In comp.os.linux.advocacy Edwin van der Elst <[EMAIL PROTECTED]> wrote:
: I'm not advocating NT here, but on Unix the *application* would have stopped
: working as well. (Core-dump or something like that). Not really an OS
: problem,
: but an application problem.
But with Linux and a GNU app, you could get the source and slip in a
divide-by-zero bug trap. (assuming you know C, of course)
--
CAUTION: Email Spam Killer in use. Leave this line in your reply! 152680
Humans never fly. They either ride a flying bus or drive it.
3598669 bytes of spam mail deleted. http://www.wwa.com/~nospam/
------------------------------
From: Bloody Viking <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Space Station uses 95/NT, disaster imminent (no joke)
Date: 15 Mar 1999 05:19:18 GMT
In comp.os.linux.advocacy Sean Hayden <[email protected]> wrote:
: And 2) referring to 1, there is no such thing as the military building a
: ship that is completely dependent on one system... They are anal enough to
: build triple redundancies into the critical systems. Trust me on that
: point.
You'd be amazed at just how anal-retentive the Navy gets. With
powerplants, at least the steam type, they are so anal that they don't
computerise it but rely on a manually operated system and people working
18 hour days. It's almost a miracle that meltdowns don't occur on the subs
and carriers. This anal-ness is why you don't join the Navy to get job
skills. The skills you get would be more appropriate in Russia becuse it's
so backward.
--
CAUTION: Email Spam Killer in use. Leave this line in your reply! 152680
Humans never fly. They either ride a flying bus or drive it.
3598669 bytes of spam mail deleted. http://www.wwa.com/~nospam/
------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: ps && grep ?
Date: 15 Mar 1999 00:24:55 -0500
Reply-To: [EMAIL PROTECTED]
In article <7cfovf$2u1$[EMAIL PROTECTED]>, Mike Baroukh wrote:
> ps aux
>
> I can saw somewhere /usr/local/apache/bin/httpd
Are you sure?
> but it was with many other
> things so I used
>
> ps aux|grep httpd
By default "ps" show only ~80 characters/line. You can add "w" to the
list of arguments to show more characters (and you can add more than
one "w"!).
If you just want to know whether /usr/local/apache/bin/httpd is being
used, you could try "fuser /usr/local/apache/bin/httpd". (See the man
page for fuser(1).)
--
Paul Kimoto <[EMAIL PROTECTED]>
------------------------------
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
From: [EMAIL PROTECTED]
Subject: Re: critical hard disk error!?
Date: Mon, 15 Mar 1999 05:17:42 GMT
Reply-To: [EMAIL PROTECTED]
In article <7chhh3$[EMAIL PROTECTED]>, "Craig" <[EMAIL PROTECTED]> writes:
>I am trying to use FDISK now, but can't get it to start. I've done a
>"format c:" and installed win98. Then boot to MS-DOS (came with win98) and
>try to run FDISK. It asks me if I want to enable large disk support, I say
>yes and then it hangs forever.
>BTW, in win98 explorer it shows my disk as being 1.63GB when it is actually
>4GB.
>Craig
Ok, have to get a few things out of the way to
begin with.
We have to make sure that we're booting to DOS
in the same fashion. I have a boot disk that has
on it DOS (command.com), FDISK and all the other
DOS related commands (doskey, edit, format...)
and MSCDEX.EXE and CDROM drivers. I put this in
the floppy drive and reboot the computer and it
'boots' using 'DOS'. You can't use FDISK while
in windows, the drive would be active.
As far as the 'large disk support' goes I don't
think i've ever used that. My largest drive is
only 2.1GB but still, i've never had to use it.
FDISK could be hanging if your trying to use it
while Win98 is running - can't do that.
And for the problem with explorer reporting that
your 4GB disk is only 1.63GB. Here explorere is
referring to the partition that you are using
currently. For example, if i'm on C:\ then the
size of C:\ will be listed by explorer. I could
be wrong here, the above assumes that your win98
partition is ~1.63GB in size...
Just another question. Did you actually wipe
your entire drive clean? By this I mean did
you delete all the partitions on your drive
using FDISK (DOS) before reinstalling Win98?
To do this you should of course have a working
boot disk that allows access to your cdrom.
Its hard fixing problems like this over a
newgroup, I can only give partial responses
at a time because I can't see the entire
problem all at once, just bits and pieces.
The instructions below have worked for me
on many occasions without difficulty. I know
its frustrating but stick with it and things
will work eventually.
j.
>> Can I ask why you use Partition Magic?
>>DOS format/fdisk and Linux fdisk/disk druid are
>>more then enough to set up a dual-boot config.
>> I would eliminate PM3.0 and stick with
>>what you need, fewer things to complicate the
>>issue.
>> Just wipe your drive clean again. Boot
>>to DOS and set up your partition for Win95 and
>>install. Then install Red Hat and use Disk Druid
>>to create the appropriate partitions for Linux.
>> This should all work just fine and with
>>out the aid of Partition Magic... which just
>>seems to be complicating the issue.
>>
>>j.
>
>
------------------------------
From: "George Georgakis" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking,comp.os.linux.setup
Subject: Re: Firewall with 1 IP
Date: Mon, 15 Mar 1999 05:43:22 GMT
No question, go the IP_Masq route! :) It costs you nothing extra, though
some functions will need to be specially configured.
OTOH, if you can get a "Class C" network for free (note that "Class" terms
are now obsolete), it's worthwhile going that way.
George
Eduardo Perez <[EMAIL PROTECTED]> wrote in article
<[EMAIL PROTECTED]>...
> [EMAIL PROTECTED] wrote:
> >
> > - My ISP has asigned me 1 static IP.
> > - I have a LAN, and 3 NT Web servers on it that I want to make
available to
> > Inet with 192.168.X.X IPs.
> > - I want to put a Linux RedHat 5.2 based firewall before the LAN.
> >
> > Would it be possible with just 1 IP, maybe with IP Masquerading or
should I
> > ask for a Class C Network?
> >
> > Answers will be welcome by private e-mail.
> >
> > -----------== Posted via Deja News, The Discussion Network ==----------
> > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
>
>
> You can't expect anybody out of your intranet to reach your servers if
> they are in a private network like 192.168.X.X; and you cannot use
> public IP's unless you pay for them.
>
> However, you can use xinetd to redirect external calls to your Linux
> firewall to your NT servers. This way, only your proxy can be reached,
> requests are serviced by your NT servers. From out of your network,
> people will see 3 web servers at the same public IP (on different
> ports), but each one will be of the NT servers.
>
>
> I hope this helps.
>
------------------------------
From: [EMAIL PROTECTED] (Miguel Cruz)
Crossposted-To: comp.os.linux.networking
Subject: Re: MCSE preparation exams
Date: 15 Mar 1999 05:33:34 GMT
Jimmy Navarro <[EMAIL PROTECTED]> wrote:
> There's also MCP and A+. In Los Angeles just to take A+ certification would
> be more or less $1,000 while MCSE to <$2,500>.
Out of curiosity, is that figure for the MCSE the cost of the exam or the
training and the whole shebang? I have a suspicion I would be able to have
more fun preaching linux if I could wave an MSCE in people's faces. And how
hard can it be? I've flipped through the books in stores and everything was
completely obvious.
miguel
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
comp.infosystems.www.servers.unix,linux.redhat.misc,linux.redhat.install
Subject: 403 Error when executing cgi scripts
Date: Mon, 15 Mar 1999 05:35:22 GMT
Hi all,
I'm having a great deal of trouble executing my CGI scripts as well... I feel
that I've pretty much done all of the configuration necessary:
1. All permissions were set with chmod 755
2. In my access.conf file, I have the following entry:
<Directory /home/httpd/cgi-bin/>
AllowOverride Limit
<Limit GET POST OPTIONS>
order allow, deny
allow from all
</Limit>
Options ExecCGI
</Directory>
3. In my srm.conf file, I have the following entry:
ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
I'm still getting the 403 error... can anyone tell me what I'm doing wrong?
Thanks!
Dave
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Seth Van Oort <[EMAIL PROTECTED]>
Subject: Re: kernel compilation problem
Date: Mon, 15 Mar 1999 05:51:49 +0000
You're gonna have to post some of those error messages.
Seth
[EMAIL PROTECTED] wrote:
>
> I am running Redhat 5.2 with kernel 2.0.36, and am trying to cofigure a custom
> kernel.
> Heres the commands I use
> make xconfig
> make dep
> make clean
> make zImage, also tried make boot
>
> Usual "make:..." messages
> Then a ton of "make:..." warnings(too many to list) about stuff being either
> undefined or unused
> make: *** [vmlinux]Error 1
>
> I checked the Kernel-HOWTO and they had a section about kernels that won't
> compile and gives undefined symbol messages. Their solution was you're using
> an ELF compiler for 1.2 or earlier kernels, which didn't help. I'm using gcc
> that came with RH5.2 and kernel 2.0.36
>
> I also checked the Config-HOWTO to no avail.
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
Crossposted-To: comp.os.linux.help,comp.os.linux.setup
From: Scott Preston <[EMAIL PROTECTED]>
Subject: Re: critical hard disk error!?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 15 Mar 1999 05:30:50 GMT
You have to delete the Linux partitions with some type of linux disk
utility such as fdisk first(much more powerfull). I would first boot
linux with a linux boot diskette, go into fdisk and delete all native
and swap linux partitions.
Then reformat your hdd in DOS and recreate the partitions. Keep in mind
you have to install linux beneath 1024 cylinders. So, when you set up
the Linux partition using Linux fdisk for example, make sure the range
field is kept under 1024 cylinders. If you're using Lilo, make sure to
have the partition that hold dos/windows also boot up Lilo. That way,
when you start your computer, you can enter dos or whatever the name of
the partition is to launch dos or windows, or just hit enter to launch
Linux. Also, it is easier to do if you install dos/win first. I would
set up three partitions if you have a 4g hdd and allocate 1g for linux.
That way, you would have approx 950m and dependly on the memory 32M+, I
would just allocate approx 20m for swap. Hope this helps.
Craig wrote:
>
> Ok, I've really gotten myself into a mess this time... (And sorry for the
> long post, but I have to go back to work tomorrow with my laptop)
>
> I dual boot my laptop with Win98/RH Linux. Over the weekend I decided I
> would reformat and repartition my hard disk. During my initial installation
> of Linux I used Disk Druid (RH partition utility) and just created a /
> (800MB Linux Native) and Linux swap partition (50MB) which I quickly figured
> out was not enough after adding KDE and some other software.
>
> At this point I used PartitionMagic 3.0 to delete my Linux partitions within
> the extended partition they were in. That left me with a FAT32 partition
> (win98), and extended and another FAT32.
>
> I booted to DOS and did a "format c:" and then installed Win98 thinking that
> I should now have one big 4GB FAT32 partition. Wrong... After installing
> Win98 I installed PartitionMagic again and was going to use it to create my
> Linux partitions. When I opened it, it said "partition table error #113
> found". The detailed explaination says "the hard disk contains erroneous
> values". It doesn't allow me to do ANYTHING to the disk.
>
> In the 'resolving partition table errors' section of PM3.0 manual it says I
> need to delete the partitions using FDISK. When I boot to DOS and run fdisk
> however, it just seems to hang forever. It's like it's working, but never
> comes up (and I've waited for at least an hour).
>
> What can I do now? How do I delete my partition table and start fresh??
>
> Thanks,
> Craig
------------------------------
From: [EMAIL PROTECTED]
Subject: problem telneting to 'localhost'/127.0.0.1
Date: Mon, 15 Mar 1999 05:25:24 GMT
hi, i am having trouble getting the loopback network connectionworking. doing
'ifconfig' gives the following-=*lo Link encap:Local Loopback inet
addr:127.0.0.1 Bcast:127.255.255.255 Mask:255.0.0.0 UP BROADCAST LOOPBACK
RUNNING MTU:3584 Metric:1 RX packets:64 errors:0 dropped:0 overruns:0
frame:0 TX packets:64 errors:0 dropped:0 overruns:0 carrier:0 collisions:0
-=* i belive that it means that the loopback connection (lo) is up and
running, but when i do 'telnet 127.0.0.1' it gives -=*Trying 127.0.0.1...
Connected to 127.0.0.1.Escape character is '^]'. Connection closed by foreign
host.-=*and also doing 'ping localhost' gives me-=* PING localhost
(127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64
time=0.2 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.1 ms 64 bytes
from 127.0.0.1: icmp_seq=2 ttl=64 time=0.1 ms --- localhost ping statistics
--- 3 packets transmitted, 3 packets received, 0% packet loss round-trip
min/avg/max = 0.1/0.1/0.2 ms -=* the main problem is that i cant telnet to
locahost. any tips or pointers to debugging this problem ?am i overlooking
anything? which log file can i look at to figure this out ?
thanx--V0D--
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Pete <[EMAIL PROTECTED]>
Subject: Re: setting up realtek 8029
Date: Sun, 14 Mar 1999 22:34:20 -0700
Hi
I use that card on my Slackware 3.6 and for home use it works fine.
All I did is uncomment a line in /etc/rc.d/rc.modules file.
The line for my card was the following (I have the pci card)
/sbin/modprobe ne2k-pci
Good luck
Pete
On Sat, 13 Mar 1999, fspark wrote:
>Hey there, this is probably an easy one but I cant seem to get a RealTek
>8029 ethernet card to work in linux, i'm running slackware 3.6
>btw...help help..heh..one final note, the txt file on the cards it
>mentions compatibility with the NE2000 but during auto probe on boot it
>doesnt seem to find it..any ideas would be welcome..thanx
------------------------------
From: [EMAIL PROTECTED] (Tiger)
Subject: Re: New 2.2.3 kernel RPM packages available
Date: Mon, 15 Mar 1999 06:16:35 GMT
Gael Duval <[EMAIL PROTECTED]> writes:
>We have integrated some new RPM with kernel2.2.3. It is available for
>Linux-Mandrake 5.2/5.3 and RedHat 5.2. We have put all details for
>clean installation. However, this is still for tests, not for
>production use.
>The packages are available for download on many mirrors from:
>http://www.linux-mandrake.com/en/kernel2.2-upgrade.html
The web page mention steps for upgrading to kernel 2.2.3 under
Mandrake 5.2/5.3, it doesn't say same rpm packages can be
applied for RedHat 5.2. Can I use the same rpm packages in
ftp.sunet.se/pub/Linux/distributions/mandrake/updates/kernel2.2/RPMS
to apply to RedHat 5.2?
In other words, are rpm packages for mandrake linux interchangable
for RedHat Linux?
I couldn't find kernel-2.2.x.i386.rpm for Redhat yet, checked
several Redhat mirror sites, no success so far. I need a
newer kernel than 2.0.36 because RedHat 5.2 couldn't handle
the builtin LAN card in my Hitachi Visionbook Pro.
>Please report any bugs with those new packages to:
>[EMAIL PROTECTED]
>- --
>< Gael DUVAL - [EMAIL PROTECTED] - http://linuxmandrake.com >
>QPL : "With the release of this license, KDE and the Qt Free Edition
>are truly Open Source(tm)". Bruce Perens, Opensource.org.
--
("\''/").___..--''"`-._
\ `9_ 9 ) `-. ( ).`-.__.`)
\ /\ (_Y_.)' ._ ) `._ `. ``-..-'
[EMAIL PROTECTED] ( ) _..`--'_..-_/ /--'_.' .'
.( o ). (il).-'' ((i).' ((!.-'
------------------------------
From: Sasa Ostrouska <[EMAIL PROTECTED]>
Subject: connecting two linux boxes without network card?
Date: Sun, 14 Mar 1999 22:04:03 +0100
Hi to all!
I want to ask how can I connect two Linux computers without the network
card.
Thank you
Sasa
------------------------------
From: [EMAIL PROTECTED] (Alexander Viro)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: what "rc" scripts exist for linux?
Date: 15 Mar 1999 02:30:46 -0500
In article <7ci5vq$[EMAIL PROTECTED]>,
david parsons <o r c @ p e l l . p o r t l a n d . o r . u s> wrote:
> There are other schemes that try to get around this disadvantage of
> SysV rc services, though they are pretty much experimental. One
> of these -- the rc scheme that my research distribution Mastodon[1]
> uses has a bunch of rc directories containing rc files, just like
> SysV, but instead of ordering them by name, the rc files call in
> the prerequisites they need (cf: UCSD Pascal `uses' statement) at
> runtime, and remembers the order that each services was started so
> it can shut those services down in order later.
Interesting... What you are describing distinctly resembles make. Why not
use it? Yes, it means putting make into /bin. BFD. /etc/rc staring with
#!/bin/make -f
would be fun. Hmm... I'll play with it. I'm mostly finished with porting
sysvinit to FreeBSD and it would make a neat addition (aside: thumbs up, Mike!
The thing is *easy* to port. So easy that it makes a nice background hacking
during the kernel compiles on a Linux box ;-)
--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid. Get yourself a better computer" - Dilbert.
------------------------------
From: "R.A. Wilson" <[EMAIL PROTECTED]>
Subject: Re: strange characters
Date: 14 Mar 1999 23:46:06 PST
> guys, does any one knows how do I get rid of some strange characters that
> appear on my Linux SuSE after I tried to read ("more") an exacutable file?
>
=========================================================
Simple. Just type: reset
You won't be able to see the letters as they will also be in
those wierd characters, but it will work if you don't misspell
it.
------------------------------
From: [EMAIL PROTECTED] (Michael Fleming)
Subject: Re: Error seeking /dev/kmem, Redhat 5.2 kernel 2.2.3 on Hitachi Visionbook Pro
Date: 15 Mar 1999 07:43:35 GMT
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
I'm glad Tiger <[EMAIL PROTECTED]> said this and not me..
> Hello;
> Please help me on an boot errors in /var/log/message:
>
> "Error seeking in /dev/kmem"
> "Error adding kernel module table entry."
Update syslogd to 1.3-3x or thereabouts. It fixed the problem for me.
The redhat-contrib archives have a copy in RPM format. (Mine's 1.3-31-2, from
that site)
HIH,
Michael Fleming.
- --
Michael Fleming -=(UDIC)=- Despam the Planet
WWW: http://www.powerup.com.au/~mfleming/ | PGP: OEF8E582
Bill Gates isn't the Devil - Satan made sure Hell worked
before he opened it to the damned...
=====BEGIN PGP SIGNATURE=====
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQA/AwUBNuy6JH66PsYO+OWCEQLS+QCfcCJAUIR/MQQ9d619FNJpeaAIZOwAoJoZ
MVuYI0Gf04BuC3hovN86tdSx
=ieYz
=====END PGP SIGNATURE=====
------------------------------
From: Omegaman <[EMAIL PROTECTED]>
Subject: Re: Linux Safeguards for the Consumer?
Date: 14 Mar 1999 11:53:53 -0600
"Benjamin Sher" <[EMAIL PROTECTED]> writes:
> QUESTIONS:
>
> 1 -- ROOT MODE SAFEGUARDS:
>
> Are there any safeguards (either command-line or by way of the GUI) against
> accidentally hitting the wrong key combination while in "root" mode? Does
> hitting such a combination of keys really result in destruction of your
> system (as opposed to "merely" requiring a reinstallation of Linux?
Two salient points. One is that you will rarely work as root. You
will only login as root to install or remove packages and update
configurations typically. Furthermore, your family members will not
be running as root, so they can't accidentally delete an important
file. Program crashes will not take down the system.
rm -rf / is a pretty hard combination to accidently type.
Contrast this with windows where all users run as root all the time.
Programs regularly crash the system. Windows has no security model
whatsoever. Any user can delete the system at any time. There's not
even a concept of multiple users with different permissions for
accessing files.
> 2 -- SHUTDOWN SAFEGUARDS:
>
> I am planning to buy a battery to protect me from power failures, etc.
> Makes a lot of sense. But what about human error? Inadvertently hitting the
> power button to shut down the system. I understand that fsck or File System
> Checker is the LInux equivalent of Scan Disk. Is it a sufficient safeguard
> against human error?
You can disconnect the power button if it's that much of a concern.
Then configure your kernel to power off the system on shutdown. (I
know that doesn't make sense to you now) I have had a couple of power
outages; they caused no problems at all on subsequent reboot.
Ctrl-Alt-Delete functions as you expect.
> I have read that Linux, unlike Windows, runs in "unprotected" mode. What
> exactly does that mean, from a practical point of view? Does that mean that
> the safeguards above do not apply or cannot really be applied to Linux?
This does not make sense. Linux utilizes the Intel architecture's
protected mode. This is part of the reasons why applications cannot
crash the system and why users can't just do something like write to
the disk in a raw fashion (unless they're logged in as root which does
have access to the hardware)
The unix security model, while certainly not a panacea for security
issues, is venerable for good reasons. And security problems are
fixed in short order in Linux. Furthermore, the aforementioned
security fixes address problems that rarely affect home users.
--
=============(( http://home.gs.verio.net/~omegam ))==================
Omegaman<[EMAIL PROTECTED]> | "When they kick out your front door,
PGP Key fingerprint = | How are you gonna come?
6D 31 C3 00 77 8C D1 C2 | With your hands upon your head,
59 0A 01 E3 AF 81 94 63 | Or on the trigger of your gun?"
Send email with "get key" as the| -- The Clash, "Guns of Brixton"
"Subject:" to get my public key | _London_Calling_ , 1979
======================================================================
------------------------------
From: "Karl Bengtsson" <[EMAIL PROTECTED]>
Subject: Re: AARGH!!!
Date: Mon, 15 Mar 1999 06:52:55 GMT
> If what you lost was on a Windows fs partition, why don't you boot to
> Windows and use one of the DOS/Win fs recovery programs. You probably
only
> have to boot to DOS (get out that dusty DOS recovery diskette).
I would if I had one... : (
But is there such a program availible on the web to download?
I've gone through very closely what I've lost, and though some of it can't
be replaced, I haven't lost anything that I can't live without. So I guess
I've "learned a lesson the hard way", not that I particularly like it, but
I know for damned sure I won't do it again.
/Karl
------------------------------
From: "David Z. Maze" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: Need to capture the 'raw' mouse under X
Date: Mon, 15 Mar 1999 07:24:31 GMT
G Georgiev <[EMAIL PROTECTED]> writes:
G> I need to read the raw mouse data from /dev/ttyS0 while under X
G> for a signature-capture purposes. Is it possible to tell the X server to
G> give me the mouse or to pass me the raw mouse data?
What do you mean by "give me the mouse"? If you mean "don't give any
other application mouse data", the answer is "yes, it's called a
'grab' in X". If you mean "get the bytes the mouse is sending the
machine" the answer is "no, that's why X is there". There's no
guarantee that the mouse data will be in any particular format, or
even on the particular machine your application is running on.
G> I need to be able as well to send some strings to the mouse - to
G> change the speed for example.
No, you don't. That's for the user to configure, via a utility like
xset(1x).
G> If X is not running everything is O.K., but I need to display the
G> signature in an X application simultaneously.
You can probably do what you want by looking at a series of
MotionNotify events. Looking at hardware-specific data is just The
Wrong Thing To Do (TM) under X.
--
David Maze [EMAIL PROTECTED] http://donut.mit.edu/dmaze/
"Hey, Doug, do you mind if I push the Emergency Booth Self-Destruct Button?"
"Oh, sure, Dave, whatever...you _do_ know what that does, right?"
------------------------------
From: James Yu <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.networking,comp.os.linux.help,comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Increasing the number of pty or tty to 512 ?
Date: Mon, 15 Mar 1999 11:36:43 -0800
Dave,
Is that an option in the makefile or somewhere in the include file that I can
change ?
I notice that at line 34 of " /usr/src/linux-2.0.36/include/linux/tty.h"
#define NR_PTYS 256
Is this where I should change. Notice that the comment right above that line
do not recommend changing it.
Also in this file: "/usr/src/linux-2.0.36/include/linux/kdev_t.h , the number
of bits for the minor
is 8 bits which turns out to be 256 tty's and 256 pty's for a type of device.
I wonder if there is any
way to increase the number of minor numbers from 256 (8bits) to 65536 (16
bits). If you look further
down (line 87) of this file, you will find there is a possibility of having
16 bits for the minor. But this
portion is disable (#if 0 ....). I wonder what would happen if I activate
that portion and use 16 bits for the pty and tty. It seems to me that if
minor portion has 8 bits, then the major will have 8 bits too. But if the
minor has 16 bits, the major can have 16 bits too. Will this change impact
the mknod command ?
If this does not work out, I am thinking about to borrow other character
device for the tty and pty.
For example, the isdnctrl0 ~ isdnctrl255 are character devices too. But I
doubt this will work, since the type of devices are identified by the major
type, right ? For example, the pty has major type of 2 and tty has major type
of 3. So the only way is to expand the minor portion of the pty and tty
device.
Thanks
James
wizard wrote:
> James Yu wrote:
>
> > Does any one know how to increase the number of pty over 256 limitation
> > ?
> > In other words, can I have more than 256 pty's in the Linux 2.2.3, i.e.
> > as
> > many as 512 pty's and 512 tty's ?
> >
> > Thanks
> >
> > James
>
> Jim;
>
> I'm a little sketchy here since its been a long time since I recompiled my
> kernel, but I believe this is a compile time option. This would allow
> more than 256 ttys however not sure if you would have to set up the /dev
> directory afterword.
>
> Dave
------------------------------
** 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
******************************