HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.os.linux
Date: Wed, 15 Apr 1992 19:48:14 -0400 
From: "Demian A. Johnston" <dj1l+@andrew.cmu.edu>
Subject: Re: better graphics for Nethack

Excerpts from linux: 13-Apr-92 better graphics for Nethack by Douglas E.
Quale@saavik. 
> 
>Use ``export NETHACKOPTIONS=DECgraphics'' and make the following
>addition to your termcap entry to add the alternate character set start
>and end strings.  I also added the km (has meta key) flag so we can end
>all the ``Why doesn't the Alt key work in emacs?'' questions.  These
>additions probably belong in the root disk distribution of /etc/termcap.
> 
>        km:as=^N\E(0:ae=\E(B:


I am probably being stupid but I put this in /etc/termcap  and in
NETHACK  all I get are EEEEEE and g and q and stuff instead of
graphics..  I think I am running 0.95c+....  Any suggestions?


                                                  Demian 
                                              --->  daj+@cmu.edu
                                              --->  dj1l@andrew.cmu.edu
                                              --->  demianjn@ids.jvnc.net
From: tsillanp@niksula.hut.fi (Timo Jaakko Sillanp{{)
Newsgroups: comp.os.linux
Subject: HELP! Problems with rootimage. (UPDATE)
Date: 8 Apr 92 23:31:38 GMT
Distribution: comp
Organization: Helsinki University of Technology, Finland

A couple of days ago I complained that rootimage does not work
on my computer. It still doesn't. But I have got a lot of 
suggestions (many of which are quite similar to each other).
Thanks to all who tried to help me.
Here is a detailed list of my hardware and what I have already
tried.

WB 486/33, cache 64Kb, AMI BIOS 06/06/91, OPTI chipset
8Mb 80ns RAM (yeah I know they are slow), cache is 25ns
ISA bus
some cheap 16-bit Seagate IDE hard disk & two floppy disk 
controller
drive 0: Quantum 40A, 40Mb
drive 1: Seagate ST-1144A, 130Mb
two floppy drives: A=1.44Mb, B=1.2Mb
Paradise compatible 16-bit CVGA 1024 card with 512Kb RAM
Genius 6000 serial mouse at COM1
Ventel 1200bps modem card at COM2
Morse VGAplus 800x600 SVGA color monitor 
Sound Blaster 1.5, IRQ 7, port 220h
I don't know about the I/O card, but it has centronics, joystick
and two RS ports (joystick is switched off since Sound Blaster 
has one)

I have two problems.

Problem one: rootimage diskette does not load. 
After I put it in drive A and press enter, diskette drive
motor turns on for a couple of seconds but it sound like
nothing is loaded. Same problem on two other 486 machines
with AMI BIOS (but not with OPTI chipset).

Problem two: Linux complains about HD time out errors.
Solution: tell BIOS that there are no hard disks.
The other two machines does not have this problem.

What I have tried to solve problem one:
I have tried to make my system as slow as possible by switching
turbo off, setting memory wait states to max, turning internal
and external CPU caches off, disabling shadow RAM and dropping
bus speed to CLKI/6 (33Mhz/6 instead of normal CLKI/2.5).
Does not help.

I have tried to get many copies of the rootimage file, even from
two places: nic.funet.fi (rootimage) and sc.tamu.edu (miniroot
and boot_fd_ide). I have written those files to floppies using
rawrite.exe which I got from nic.funet.fi.

I have tried formatting my floppies with MS-DOS 5.0's format.com
and PC Tools 6.0's format (PCShell's format, not PCFormat) and 
FDFormat.

Does my computer hang totally after the rootimage fails? No, 
I can get task info by pressing Scroll Lock or Ctrl-Break. I can
write on the screen, but it has no effect. Task info:

0: pid=0, state=1, father=0, child=1, 2596/2932 chars free in 
   kstack, PC=0000B0DB
1: pid=1, state=2, father=0, child=-1, 2376/2932 chars free in
   kstack, PC=0000B1AA

If I tell my BIOS that there are no hard disk, 2376/2932 changes
to 2600/2932.

I think that is all. To do:
I will try to verify with Norton's NU that rootimage file is
identical to the rootimage diskette.

Does anyone have more suggestions? Plug off all cards one by one
to see which causes the problem?
If it was only my machine, but I have problems with three different
machines.......????

TS.

tsillanp@niksula.hut.fi
From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc)
Newsgroups: comp.os.linux
Subject: Re: ksh in linux?
Date: 9 Apr 92 17:19:49 GMT
Followup-To: LeBlanc@mcc.ac.uk
Organization: Computing Centre, University of Manchester

In article <1992Apr6.193031.10473@b11.ingr.com> bbrown@b11.ingr.com (Bailey Brown) writes:
>Does linux have ksh (Korn Shell)?  And if so, does it's ksh implementation
>have the command line editing (vi mode)?

I don't know about a ksh yet, since the public domain one is said
to be less than ideal.  But you CAN use vi to edit command lines in
bash.  Simply create a file .inputrc in your home directory containing

     set editing-mode vi

and it should work like vi: ESC enters edit mode, and most of the
usual vi commands work in the usual manner, including / and ?.

     -- Owen
     LeBlanc@mcc.ac.uk
From: aliu@aludra.usc.edu (Alex Liu)
Newsgroups: comp.os.linux
Subject: Re: Patch to preset the SVGA mode
Date: 13 Apr 1992 22:06:45 -0700
Organization: None to Speak of
NNTP-Posting-Host: aludra.usc.edu

dennisf@Miles.COM (Dennis Flaherty) writes:

>> >
>> >If you are tired of hitting RETURN and selecting the
>> >same SVGA mode every time you boot Linux, apply this
>> >patch and rebuild the kernel.  It allows you to preset
>> >the mode in the Makefile, so that the setup program
>> >proceeds as if you had hit RETURN and your favorite number.

How about asking the user to press RETURN, but if he/she doesnt press
anything in 5 secs (or 10 or whatever) just choose a compiled default?

This might be trivial, but I am not an assembly programmer and I wouldnt
know where to start.

BTW, it would be even nicer to be able to switch modes any time, is this
possible?

-- 
_____________________________________________________________________________
Alejandro Liu           |EMail: aliu@usc.edu |All mispellings are intentional
3131 Mc Clintock #373F  |Voice: 213-745-2431 |Anything mentioned here is not
Los Angeles, CA 90007   |                    |necessarily true.
Newsgroups: comp.os.linux
From: hlu@yoda.eecs.wsu.edu (Hongjiu Lu -- Graduate Student)
Subject: a bug in strtod.c
Originator: hlu@yoda.eecs.wsu.edu
Organization: Washington State University
Date: Sat, 11 Apr 92 16:34:03 GMT

Hi,

There is a bug in strtod.c, which is taken from glibc.a 1.02. The
problem is the precision of strtod is very low. We need find a good one.
Any idea?


H.J.
From: poe@daimi.aau.dk (Peter Orbaek)
Newsgroups: comp.os.linux
Subject: Re: Scheme, Lisp for Linux?
Keywords: scheme lisp linux-ports
Date: 11 Apr 92 14:50:52 GMT
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark

beaker@bass.bu.edu (Dennis Petrocelli) writes:

>	Is anyone working on porting any version of scheme or lisp to
>linux?  I would be VERY appreciative of anyone's attempts to do so.  I
>have successfully compiled a C implementation of Scheme, siod-2.7 
>(Scheme in One Defun, from world.std.com), with gcc-1.4 on linux .95a.
>I am hoping that someone might have tried to port a more substantial
>version, such as scheme 7.1, from altdorf.ai.mit.edu. 

I use SCM at home on my linux box. It is pretty painless to get it to
compile.

I would rather use that instead of a big hog as scheme-7.1. SCM also 
adheres to the R4RS and the IEEE standard.

You can ftp SCM sources from "the Scheme repository" at nexus.yorku.ca.


	- Peter.
--
Peter Orbaek ----------------- poe@daimi.aau.dk  |      ///
Hasle Ringvej 122, DK-8200 Aarhus N, DENMARK     |     ///
                                                 | \\\///
"Strong typing is for people with weak memories" |  \XX/
Newsgroups: comp.os.linux,alt.os.linux
From: cummings@hammer.Prime.COM (Kevin Cummings)
Subject: Re: How to set the path ?
Organization: Prime Computer R&D
Date: Thu, 16 Apr 1992 18:21:15 GMT

In article <22742@dog.ee.lbl.gov>, rob@cad4.lbl.gov (Robert J. McNamara) writes:
> In article <1992Apr15.104226.1795@csdvax.csd.unsw.edu.au> s9100786@csdvax.csd.unsw.edu.au (Matthew Jackson) writes:
> 
> >Now I have a few questions (of course). When I was running the install scripts,
> >I checked they were flagged as executable, and tried to run them. No go. I then
> >tried /INSTALL/install and it worked ! OK, I thought Linux doesn't look in the
> >current directory for a file before searching the path (ala DOS) (is this
> >meant to work this way ? I am used to DOS and VMS, only just got started with
> >Unix). OK (he thinks again), why don't I put the current directory in the path ?
> >I typed set and got a list of the environment variables and there was one called
> >PATH, so I tried set PATH=....:. and still no go. 
> >
> >So can someone tell me how to change the path under Linux ?
> >
> >Thanks in advance,
> 
> Yeah, that kinda screwed me up to for a bit since I was used to csh and 
> dos...
> Use that last method that you mentioned, but exclude the "set" command.
> Just type "PATH=.:/bin:/usr/bin:<other paths>"

I found out that you get a "PATH" by default when you login.

put the line :

echo PATH=$PATH

at the top of your .profile file to see what your path is currently set to.
You can then append or prepend to it using the $PATH varibale, or you
can completely rewrite it using the method that Robert suggests.

Don't forget to EXPORT PATH before the end of your .profile file!

=================================================================
Kevin J. Cummings                       Prime Computer Inc.
20 Briarwood Road                       500 Old Connecticut Path
Framingham, Mass.                       Framingham, Mass.

Work:  cummings@primerd.Prime.COM
Home:  cummings@kjc386.framingham.ma.us

Std. Disclaimer: "Mr. McKittrick, after careful consideration,
		  I've come to the conclusion that your new
		  defense system SUCKS..."   --  War Games
=================================================================
Newsgroups: comp.os.linux,alt.os.linux
From: drew@caesar.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Keyboard dies when I hit Caps-Lock (+SCSI)
Organization: University of Colorado at Boulder
Date: Sun, 12 Apr 1992 07:41:48 GMT

In article <1992Apr11.232703.23632@odin.diku.dk> dingbat@diku.dk (Niels Skov Olsen) writes:
>I just got my Adaptec 1542B the other day and installed the stuff
>from sc.tamu.edu with Tommy Thorn's SCSI driver in it. It works
>fine except that my keybord locks up completely when I hit
>Caps-Lock. That's very annoying because Tab is right above it
>and I use that one extensively for filename completion. I compiled
>the kernel with the Danish keyboard - it didn't help. I 'heard' that
>Drew Eckhardt was almost ready with incorporating low level Adaptec 
>support, so I thought I would poke around at headrest to see if 
>something had come up. There was a brand new vmunix which I installed
>and booted. It detected my adapter and disk just fine, but tried to
>load the root from device 0301. I changed that (vmunix[508]=02) and
>rebooted. That didn't help so I cleared the bytes at 508 and 509
>so that the rootimage would load from floppy. That worked (phew).
>But still no talking to /dev/hda2. And the keyboard still locks 
>up...
>
>Any clues? No problems in DOS. The keyboard is a cheap Taiwanese
>one called DANREX KB-6252EA.
>
>Niels

Recognizing the hard disk : 

Yes : my SCSI drivers coexist with the stock WD1003 driver.
SCSI disks are MAJOR 8, MINOR 16 * [disk number], where disk
numbers are assigned dynamically, with the SCSI disk at the 
lowest ID on the bus becoming 0, the next higher one 1, etc.

Where minor % 16 == 0 , the whole disk is used
minor & 0xf == 1, the first partition
	    == 2, the second partition
	    == 3, the third
	    == 4, the fourth.

5-15 are unused, and will become extended partitions after that 
code is worked in.

The keyboard : 

Does the keyboard lock up, period, do numlock, CAD still work,
or not?
Newsgroups: comp.os.linux
From: aclark@netcom.com (Al Clark)
Subject: Re: adduser (again!)
Date: Sun, 05 Apr 92 21:27:41 GMT
Organization: Self
Keywords: login, passwd, salt

In article <1992Apr5.063448.3554@mnemosyne.cs.du.edu> zmbenhal@isis.cs.du.edu (Zeyd M. Ben-Halim) writes:
>
>Sorry to be such a nag, but has anybody managed to use adduser correctly.
>From looking at the sources and those for login.c (poeigl .12) they do not
>agree on the salt to use in encryption and as a result never generate thae
>same result for a given password. From login.c salt is the first 2 char. from
>the users name. adduser uses a random salt each time it's envoked.
>I changed adduser to use uname[0] and uname[1] but no joy.
>So what gives?
>
>Zeyd
>

I believe that the adduser should use a random salt, so that you do not
normally get the same encrypted password for the same input password.

However, for login to work, you need to get the same encryped password for
the same input password, so you need to use the salt in the password file
for the user you are checking against.  Adduser should be adding a completely
new account, so there is no existing password entry to check.  The password
changing program should also choose a new salt for the new password.


-- 
Al - aclark@netcom.com - My opinions are my own.
      *** Practice random kindness and senseless acts of beauty! ***
From: gt0449a@prism.gatech.EDU (Rob Coleman)
Newsgroups: comp.os.linux
Subject: Losing Characters
Date: 13 Apr 92 22:51:05 GMT
Organization: Georgia Institute of Technology

Last night I was transferring a file using xcomm and the rz that is
distributed with it, and all was working well until the program went
to disk to write the data that it had just received.  Using a USRobotics
Dual Standard communicating at 19.2kbps, a CRC error would be generated
each time Linux went to write something out to disk.  This problem was
not at all due to processor load (I could run 4 infinite loops in other
tty's and not have it affect the transfer at all), but due seemingly to
interrupt latency.  I have the modem running off of a 16550 UART, but
my tests show that at powerup, the 16 byte buffer is turned off.  Should
I need to use the buffer for Linux to keep up with 19.2kbps transfers?
I've got some pascal code that turns the buffer on and off, and I'm
working on getting that translated into Linux useable code.  When I get
that done, I'll stick it up (if there's interest).

I've got a 486/33 with two fairly quick Seagate hard drives, so I wouldn't
think that there would be much problem keeping up.  Is there something I
may be doing wrong?  I've also got a 5 meg swap partition set up..

Thanks in advance..

-- 
        Rob Coleman              ][   Science, like nature, must also be tamed. 
  gt0449a@prism.gatech.edu       ][     With a view towards its presevation..
Georgia Tech, P.O. Box 30449     ][
     Atlanta, GA  30332          ][                  -Rush/Natural Science
From: knapka@athena.cs.uga.edu (Joseph Knapka)
Newsgroups: comp.os.linux
Subject: Re: virtual consoles/pty's
Date: 17 Apr 92 16:07:08 GMT
Organization: University of Georgia, Athens

In article <1992Apr17.094324.10265@colorado.edu> drew@romeo.cs.colorado.edu (Drew Eckhardt) writes:
>In article <1992Apr17.064610.25268@athena.cs.uga.edu> knapka@athena.cs.uga.edu (Joseph Knapka) writes:
>>Here's a silly question: When I boot linux, it says "8 virtual
>>consoles, 4 ptys". I know what ptys are, I think -- the guys I get to
>>by alt-f[1-4]. So my question is, "What, exactly, is the difference
>
>Nope. ALT-Fn selects virtual console n, which is /dev/tty[n].  
> 

So that means I have eight virtual consoles available, but I can only
use four of them with Alt-Fkey sequences... how can I use vc's 5 thru 8?

Thanks^2,

Joseph
From: zlsiial@uts.mcc.ac.uk (A. V. Le Blanc)
Newsgroups: comp.os.linux
Subject: Re: Needed: a guide to setting up swap space.
Date: 14 Apr 92 13:16:40 GMT
Followup-To: LeBlanc@mcc.ac.uk
Organization: Computing Centre, University of Manchester

In article <1992Apr13.145215@hammer.Prime.COM> cummings@hammer.Prime.COM (Kevin Cummings) writes:
>In article <4rvjxcp@lynx.unm.edu>, caadams@leo.unm.edu (Clifford A Adams) writes:
>> 	* Is there any way to tell how much swap space you are using or
>> have left?
>
>Under SUNOS I do a "pstst -T".  I haven't seen a LINUX command yet to tell me
>how much is actually in use.

The 'free' command from the 2.1ps distribution does this.  If swapping
is not enabled, it displays only memory; otherwise it displays two lines,
one for memory and one for swap, each giving total, used, and free, and
memory also mentioning how much is shared.

Of course, you could always notice what swapon reports:

     Adding Swap: 1061 pages (4345856 bytes) swap-space

or something of the sort.

     -- Owen
     LeBlanc@mcc.ac.uk
From: aliu@usc.edu (Alex C. Liu)
Newsgroups: comp.os.linux
Subject: Graphics and IPC questions...
Date: 16 Apr 1992 21:06:42 -0700
Organization: None to Speak of
Distribution: world
NNTP-Posting-Host: girtab.usc.edu
Keywords: Graphic standard and how to IPC?

Hi,
   I would like to know if somebody is working on a "standard" way to
access the VGA (or EGA) graphics of the PC trough Linux?  I have a few
ideas on a couple of programs that would required some access to the
screen, but there is no Linux support for video.  And before going in
and adding stuff to the kernel, I would like to know if somebody is
already doing something like that.  I would *assume* that whoever is
working on porting X should be doing something like that. (Is anybody
ACTUALLY working on X for Linus?)  I wouldnt mind doing it myself, but
if somebody is working on it, I would hate to have repeated redundant
efforts.   If you are working on the graphic interface or X would you
please e-mail me?

Also, is there any form of IPC built into Linux?  One of the most
powerful capabilities of a multitasking system is IPC.  But how do you
do it on LInux?  Do they use SysV style IPC (shared mem, msg queues
and semaphores) or do they use berkeley style socket IPC?  (Or
neither) Is somebody working on this?  I saw somebody had an IPC Pipe
library working for v0.12, but no such thing for v0.95c?  Again,
whoever is working on the IPC would you please email me?

And one last question.  Is it possible to add new C system call to the
kernel?  If so how do you do it?  And how do you tell the linker that
this call exits???

Please e-mail, and I will summarize.

-- 
_____________________________________________________________________________
Alejandro Liu           |EMail: aliu@usc.edu |All mispellings are intentional
3131 Mc Clintock #373F  |Voice: 213-745-2431 |Anything mentioned here is not
Los Angeles, CA 90007   |                    |necessarily true.
Newsgroups: comp.os.linux
From: drew@romeo.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Seagate SCSI *almost* working...
Organization: University of Colorado at Boulder
Date: Thu, 9 Apr 1992 07:16:00 GMT

In article <1992Apr09.042703.21331@CS.ORST.EDU> mcbeeb@nyssa.CS.ORST.EDU (Brian Mcbee) writes:
>I've been using linux now for a couple of months, and I decided to
>try and get an old seagate st-277n I had laying around working
>with it.  I got an ST-01 controller, and ftp'd the linux95a
>scsi patches from headreset.colorado.edu.  Hacked them into
>my Linux .95c system.  Had to make one small change to
>seagate.c, as my signature "SEAGATE SCSI BIOS REVISION"
>is at offset 17 rather than the 16 indicated in the file.
>Upon bootup, the system does find the host adapter, and 1
>scsi disk (yay!).  Where do I go from here?  I get several
>messages here, but I don't know if they are normal or not.
>and how do I partition the drive?  Here is what I see:
>
>...
>1 host adapters detected
>Detected scsi disk at host 0, ID 0, lun 0
>Detected 1 disks, 0 tapes total
>Warning: SCSI device at host 0, id 0, lun 0 failed READ CAPACITY
>status=5345c
>Sense not available
>Block size assumed to be 512 bytes, disk size 1 GB
>Cannot read partition table for sd 0
>
>Is any of the above normal for the seagate?  Or is it totally

It detected your host adapter, disk drive, etc.  Not being able to
read capacity is normal for SOME drives, most namely older Seagates
with brain dead firmware.

>hosed?  Or is it just a matter of getting the partition info

And, it's also hosed.  If compiled with gcc2.x, the seagate SCSI 
driver will become unhappy.  It has to do with how gcc decided 
to push bx and si onto the stack, changing where the len and 
data variables really were and where the assembler code thought
they were.

>on there?  Any help appreciated.

A new release of the SCSI drivers will be made "RSN" - hopefully 
tonight.  This should correct the stack frame problem caused by 
gcc2, add adaptec support, and a few other things.

It will be put up on 

headrest.woz.colorado.edu

You might want to join the SCSI mailing list - 
mail to

linux-scsi-request@headrest.woz.colorado.edu
From: back@ds9.scri.fsu.edu (Philippe Backouche)
Newsgroups: comp.os.linux
Subject: System Architecture
Date: 13 Apr 92 20:13:46 GMT
Reply-To: back@ds9.scri.fsu.edu (Philippe Backouche)
Organization: SCRI, Florida State University


   Could anyone explain me the difference of architecture between Linux, Mach and
   Minix ? What makes Linux be so fast ? 

   Thanks for your answers....
		     
			       Philippe.
From: bjones@cambria.UUCP (Bill Jones)
Newsgroups: comp.os.linux
Subject: Software index for linux
Distribution: world
Date: Fri, 17 Apr 92 19:44:21 GMT
Organization: 'op

One thread that seems to be remaining at a constant level in both
alt.os.linux and here in comp.os.linux is what software is in what
package.  I know that I have had that trouble often (what, for instance
is in tubes.tar.Z??)

There has been some mention of keeping track of these packages in a
"master index" somewhere and I beleive that Marc Corsini has mentioned
trying to do that along with the FAQ.

Now that I have reliable and stable access to news and e-mail, I would
be willing to undertake such a project if enough people felt that it
would be useful.  What I am envisioning is

        1.  An index of what is available, what package it is in,
            and what it does (so far, it seems as though most
            everything is available at banjo.concert.net but the
            descriptions might still help people determine what they
            need).

        2.  A list of software that is currently being ported to linux
            and the status of such a port (if this can be obtained).

        3.  A list of all of the patches that have been made available
            along with the expected source code that each patch expects
            to find.
            
        4.  Any other software-related items of interest.


If something like this were available, I would hope that others, especially
newcomers to linux, would be able to use it.  In addition, it would help
cut down on the duplication of porting efforts and let people who are
working on the same project team up if they desire.

This would require the assistance of the authors of various programs and
ports so that it would remain up to date and, of course, would not be
mandatory that anyone participate.  But, it strikes me that this is the
time to try and get something like this set up -- before the volume of
linux software, familiar and unfamilar, becomes so great that no one
would desire to keep track of it.

As I said, if enough people express an interest in this, I would be more
than willing to undertake it.  Since I am not a software wizard (not even
close) this would be my contribution to the linux community.  So, how
about it?  Let me know.


Bill


------------------------------------------------------------------------
Bill Jones                                      1-614-785-0358

bjones@cambria.UUCP                             Oh, to be in Montana now
bjones@magnus.acs.ohio-state.edu                  that spring is here!
bjones@geo1s.mps.ohio-state.edu
------------------------------------------------------------------------