Subject: Linux-Development Digest #539 From: Digestifier To: Linux-Development@senator-bedfellow.MIT.EDU Reply-To: Linux-Development@senator-bedfellow.MIT.EDU Date: Fri, 11 Mar 94 14:13:06 EST Linux-Development Digest #539, Volume #1 Fri, 11 Mar 94 14:13:06 EST Contents: Re: Attention Linux Adaptec developers (Martin Schulze) Re: Problem with NET-2 and Winsock Gopher/HTTP clients? (Andreas Helke) DIP: tty: getc: I/O error (Sys admin) telnet uid length <=8?? (Sys admin) Modula-3 compiler (Gareth Webber) Re: Amiga FileSystem, Anyone? (Matthias Urlichs) Re: Startup code (DOS boot program) (Erik de Romph) Tools for ZyXEL U-1496E+ (Kinga Yho) Re: Loaded fonts discarded after X vt switch... (Andries Brouwer) Controllers using NCR53C700 SCSI (NexStor, Forex) (Marko Schuetz) Re: Startup code (DOS boot program) (Romano Giannetti) Can't link with -static, must use -g (Bill Reynolds) Re: Lint for Linux? (Aubrey Jaffer) Re: YP or NIS for linux? (Matthias Urlichs) driver for DPT PM20XX (Jaroslaw Lis) Re: X11R6? (Christian Moen) inb and inb_p??? (Kwun Han) Re: Tools for ZyXEL U-1496E+ (Klaus Weidner) ---------------------------------------------------------------------------- From: joey@infodrom.north.de (Martin Schulze) Subject: Re: Attention Linux Adaptec developers Date: 10 Mar 94 18:29:26 GMT mark@usenet.rpi.edu writes: }Sorry, I was just waiting for a chance to use this...:) [formular skiped] Great, really great. I haven't laughed that much for some time. I love your formular. Joey -- \ Martin Schulze * Artillerieweg 55a * 26129 Oldenburg * 77 805 84 \ \ joey@infodrom.north.de Infodrom Oldenburg * +49-441-777 884 \ \ VFS: no free i-nodes, contact Linus \ ------------------------------ From: andreas@orion.mgen.uni-heidelberg.de (Andreas Helke) Subject: Re: Problem with NET-2 and Winsock Gopher/HTTP clients? Date: Fri, 11 Mar 94 11:29:59 GMT Steven Kirby (kirby@scarlett.libs.uga.edu) wrote: : Hey, y'all. This is kinda an oddball question, but it came up late last week : on the gn-main list for users of the GN Gopher/HTTP server. A little work : leads me to believe that we're looking at a glitch in NET-2, but I thought : I'd check here before I pester the NET-2 developers. : Here's the scenario. I'm running the Yggdrasil release of Linux (kernel p14), : and another site running Slackware (kernel version unknown, I forgot to ask) : has reported the same problem. We can serve Gopher/HTTP to X clients, Mac : clients, and OS/2 clients without problems. Same goes for curses clients. : However, when we attempt to serve Gopher/HTTP to any app that uses the : Winsock DLL (e.g., BCGopher, WinMosaic, Cello), some really odd stuff happens. : On occasion, we can move graphical images to the client without problems. : Usually, though, the transfer of data is not completed. The client shows that : the file has been moved, but nothing happens. No decompression, no pretty : pictures, nothing. It appears that there is some sort of timing problem with : Winsock clients who try to connect to a GN server running under Linux. : My first reaction was to blame the Winsock client, but all of the ones I've : tested work just fine with other systems. Plus, the other guy ran a sniffer : trace that seemed to indicate to him that the communication was timing out : from the Linux box. (I dunno how to read the trace report, but if anybody : wants to see it, let me know and I'll be happy to mail a copy.) I'm pretty : sure the problem ain't with GN, since I can use WinMosaic to connect to other : GN servers without trouble. : My conclusion is that we've probably uncovered a fairly minor bug in NET-2. : Does this seem reasonable, or have I missed more than my usual quota of : something? If it helps, my box is a 386-40 (we built it ourself) with 8 megs : of RAM and a Longshine LCS-8634 (NE2000 clone) ethernet board. The other guy : is also using an NE2000 clone, I think, so there is also a remote chance : that the problem is with the NE2000 driver and clone boards. I dunno. : Any advice/information will be most appreciated, especially if it will help me : figure out who to bother first with this problem. This problem might be related to telnet hangs when telneting from a pc with crynwr packet drivers and Clarkson univerity telnet or winqvt telnet with winsock.dll to a linux computer. I in general get a hanging connection when scrolling too fast. Changing to v mode in elvis and holding the cursor down key with winqvt telnet is a very effective method to expose this problem. If I connect with a Convex Unix computer as intermediary or directly between 2 linux computers I do not get these hangs. The problem was less severe with a pl15f kernel and got worse again with pl15j and pre-1 kernel. The pl15f kernel works much better than a pl14 or pl15 kernel and is probably the best choice for providing service until this problem gets fixed for good. I in general use a 386DX33 with 8 MB and NE2000 clone as linux computer, but a 486DX66 with the Debian release 0.91 and a 486DX33 have shown the same problem. Andreas -- Andreas Helke Institut fuer molekulare Genetik, Universitaet Heidelberg Im Neuenheimer Feld 230 69122 Heidelberg ------------------------------ From: root@borg.ott.ca (Sys admin) Subject: DIP: tty: getc: I/O error Date: 8 Mar 1994 03:20:08 GMT * No gettys on the serial ports * When I first boot my machine, I can run kermit as much as I want with no problems. My first DIP script runs fine, but when I kill DIP via kill -9 pid, enter kermit, enter hang command to hang up modem, I have to re-boot! DIP now gives me the error in the subject, or sometimes it hangs when setting the port to ttyS0. Kermit starts, then hangs untill I enter CTRL-C, which brings me to the kermit prompt. When I enter 'connect' I get Kermit -> Can't send character: I/O error. Can anyone else confirm this???? Linux 99pl15j. Libc4.5.21. ------------------------------ From: root@borg.ott.ca (Sys admin) Subject: telnet uid length <=8?? Date: 8 Mar 1994 03:30:25 GMT Only people with user id's of 8 chars or less can use my telnet port. they can log onto my linux system through the serial port, but not over the internet through telnet. (or even locally for that matter.. if they have 9 char or > userids!!!!) Anyone to confirm this?? Thanks. ------------------------------ From: gpw1000@cus.cam.ac.uk (Gareth Webber) Subject: Modula-3 compiler Date: Fri, 11 Mar 1994 12:05:19 GMT Does anybody know the whereabouts of a modula-3 compiler and libraries for linux. Thanks in advance. gary... ------------------------------ From: urlichs@smurf.noris.de (Matthias Urlichs) Subject: Re: Amiga FileSystem, Anyone? Date: 11 Mar 1994 08:35:23 +0100 In comp.os.linux.development, article <1994Mar10.000319.23914@brtph560.bnr.ca>, denebeim@bnr.ca (Jay Denebeim P025) writes: > 880K/floppy instead of 760K. This means that the track starts in a > random location, rather than the 'real' track start that the drive > indicates (using a hole in 5.25" disks, and I assume position of the > disk motor in 3.5") > I don't think any 3.5" format pays any attention at all to the index hole or its motor-position simulacrum; both MFM and GCR formats encode the sector number in the block headers, so what use would the index thing be? The Mac drives don't even have a wire to return the index information on. (I think.) > Another weird disk drive was the old Apple ][ drive. It also payed no > attention to the track hole, you could use both hard and soft sectored > disks in it. Probably used the same trick the Amiga does because it > had about 20% more capacity than other drives of the same class, a > whopping 102K. No, it used GCR, which is more effective than the FM encoding used on these disks by other manufacturers. FM needs two transitions per bit, while GCR needs five transitions per four bits. Or something like that. To get back to the topic at hand: An Amiga file system would be useful even if you can't read the floppies. Amigas have hard disks too, after all, and Linux is being ported to the Amiga, so... -- We held a beauty contest in our town once but nobody won. -- Herb Shriner -- Matthias Urlichs \ XLink-POP N|rnberg | EMail: urlichs@smurf.noris.de Schleiermacherstra_e 12 \ Unix+Linux+Mac | Phone: ...please use email. 90491 N|rnberg (Germany) \ Consulting+Networking+Programming+etc'ing 42 Click here. ------------------------------ From: erik@dutcvk5.tudelft.nl (Erik de Romph) Subject: Re: Startup code (DOS boot program) Date: Fri, 11 Mar 1994 09:57:36 GMT There is a program called bootlin which does what you want. ------------------------------ From: g609296@win.or.jp (Kinga Yho) Subject: Tools for ZyXEL U-1496E+ Date: 11 Mar 94 02:53:37 GMT I am beaten by my boss to make answering system for customer inquiry. Currently I have a ZyXEL U-1496E+ and I want to do it under my Linux box - one reason to persuade my boss to change some machines into Linux :-). I did take a look at some DOS,WINDOWS,OS/2 but those application are more or less specifically for an answering machine only. What I need is a more flexible script/language to play with so that I can log customer's information through touch tone and am able to respond instructively. Any one can point me to a right direction? May be some of you have done this before. Some *free* code will be very useful to me. BTW, I can do c but have little idea in communication devices on a unix. -- \ \\/o\ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \ \\/o\ >===== / | Barry Yip Fido 6:730/16.0 | >===== / //// ~ | ^^^^^^^^^ g609296@win.or.jp | //// ~ ------------------------------ From: aeb@cwi.nl (Andries Brouwer) Subject: Re: Loaded fonts discarded after X vt switch... Date: Wed, 9 Mar 1994 20:13:56 GMT rpb@psy.ox.ac.uk (Ray Bellis) writes: >I've noticed that if I use setfont to change the console font, >then use X Windows, the loaded font is discarded and the standard >font reinstalled. Does anyone have any idea how we might modify >the kernel to restore the loaded font after switching out of a >graphics vt? I think X restores the font that was present at startup. It is easy to make the kernel remember the font, or even to have a separate font for each vt, but in my opinion this is a waste of memory. >p.s., I've made a load of fonts suitable for use with setfont >from the vga/fontpak.zip file on simtel20. Anyone have >recommendations for where I should put them? If you have freely distributable stuff, and it is not too much, you might send it to me - I would probably put it into kbd-0.86. Andries - aeb@cwi.nl ------------------------------ Crossposted-To: comp.os.linux.help From: marko@hisplace.rhein-main.de (Marko Schuetz) Subject: Controllers using NCR53C700 SCSI (NexStor, Forex) Date: Thu, 10 Mar 1994 14:11:32 GMT Hi, I tried to figure out wherther there is a driver for the NCR53C700-66 as used on the NexStor NXT-82 or Forex FR 600 AF. In the SCSI-HOWTO as of Jan 22 1994 it says there is development effort under way, but not publically available yet. Is this still true or is there some driver available now? Does anyone have any experince with the above mentioned boards (one of the developers). I'd sure like to know how they'd compare to some of the other available SCSI adapters. Marko -- --- Marko Sch"utz / Koselstr. 7 / D 60318 Frankfurt / Germany marko@hisplace.rhein-main.de / Tel: +49 69 5971621 ------------------------------ From: romano@pimac2.iet.unipi.it (Romano Giannetti) Subject: Re: Startup code (DOS boot program) Date: 11 Mar 1994 12:39:41 GMT In comp.os.linux.development, Erik de Romph (erik@dutcvk5.tudelft.nl) wrote: > There is a program called bootlin which does what you want. Not exactly, I think... I use bootlin and I remember it had to be runned from the config.sys, and not from a "Running DOS environment". It was explained why in the README (Thid could be an hint...). Or I am using a very old version? -- ******************************************************************************* Romano Giannetti * DII-EIT, University of Pisa(E stands for Electronics) romano@iet.unipi.it * Dpto Electr. y Electronica, Facultad de Fisica * Universidad Complutense de Madrid ******************************************************************************* ------------------------------ From: bill@yossarian.pianosa.gov (Bill Reynolds) Subject: Can't link with -static, must use -g Date: 9 Mar 94 13:42:07 Reply-To: bill@goshawk.lanl.gov I'm using gcc version 2.5.8 and libc.4.5.21. I can't get the -static, option to work - I've got to use -g instead. (yes, yes, I've deleted /usr/lib/libgcc.{s,}a :-) $ cat hello.c #include main() { printf("Hello world\n"); } $ gcc -v Reading specs from /usr/lib/gcc-lib/i486-unknown-linux/2.5.8/specs gcc version 2.5.8 $ gcc -static hello.c /usr/lib/libc.a(fileops.o): Undefined symbol ___write referenced from text segment $ gcc -g hello.c $ ldd a.out statically linked $ gcc hello.c $ ldd a.out libc.so.4 (DLL Jump 4.5pl21) => /lib/libc.so.4.5.21 $ -- _____________________________________________________________________________ Bill Reynolds bill@goshawk.lanl.gov ------------------------------ From: jaffer@zurich.ai.mit.edu (Aubrey Jaffer) Subject: Re: Lint for Linux? Date: 11 Mar 94 10:55:35 In article stevev@miser.uoregon.edu (Steve VanDevender) writes: In article <1994Mar1.115924.20298@uts.uni-c.dk> elmnjb@unidhp.uni-c.dk (Niels J. Bagger) writes: As the title says: Does lint(1) exist for Linux? gcc -Wall is pretty close to lint for telling you about dumb C coding practices. Not close enough! If you code with K&R style function prototypes (as opposed to ANSI) then gcc -Wall tells you nothing about argument mismatch and number of arguments mismatch between modules. I have to code for a variety of machines not all of which support ANSI prototypes. Lint is essential for finding argument mismatch. I wish I could find a lint for linux so I wouldn't have to ship my code elsewhere just to use lint. ------------------------------ From: urlichs@smurf.noris.de (Matthias Urlichs) Subject: Re: YP or NIS for linux? Date: 11 Mar 1994 15:08:08 +0100 In comp.os.linux.development, article <1994Mar10.043513.11579@rpp386>, jfh@rpp386.cactus.org (John F. Haugh II) writes: >In article <2li66b$f62@gauss.ifm.liu.se> peter@ifm.liu.se (Peter Eriksson) writes: >>If one is using NYS and ypserv or ypbind dies/hangs then one simply >>logs in as root (since the root passwd and things are in >>/etc/passwd+/etc/shadow and one keeps "files" ahead of "yp" >>in "/etc/nsswitch.conf" line for "passwd") and then restarts >>ypserv and/or ypbind if needed. > > Ah, the old assumption about just being able to login as root > and make everything OK. > True. So what? Some problems, you gotta be root if you want to fix them. It's Unix, you know. > What do you do when this happens and the only person with the > root password is in Nebraska and you're in another state? > You call them on the phone. Alternately, you wait for them to come back, and fire them. Alternately, you set up a small cron job which checks every few minutes if the YP server is still answering questions, and if not you kick it out and start a new one. Alternately, since the original question was what to do if you have a too-big passwd file, you replace the linear lookup in the passwd file with gdbm access and forget about yp. > RELIABILITY is something to be designed in. YP is a good way > to start designing it out. Complexity and reliability are > opposites. Sometimes, the simple but reliable solution doesn't scale well enough to be useable. I don't care if you're using YP or Hesiod or whatever to access an /etc/passwd equivalent. I only care that (a) it works (b) is reasonably secure (c) is reasonably reliabe. In my book, YP does satisfy (c), though it arguably falls a bit short otherwise, especially with (a). ;-) Oh yes, PS: Please quit flaming each other. You're not getting anywhere. -- I have recently been examining all the known superstitions of the world, and do not find in our particular superstition one redeeming feature. They are all founded on fables and mythology. -- Thomas Jefferson -- Matthias Urlichs \ XLink-POP N|rnberg | EMail: urlichs@smurf.noris.de Schleiermacherstra_e 12 \ Unix+Linux+Mac | Phone: ...please use email. 90491 N|rnberg (Germany) \ Consulting+Networking+Programming+etc'ing 42 Click here. ------------------------------ From: jjlis@ict.pwr.wroc.pl (Jaroslaw Lis) Subject: driver for DPT PM20XX Date: 9 Mar 1994 20:47:32 GMT Hey * Has anyone seen Linux driver for SCSI controler from DPT type PM2021 (where?), or other PM20XX (maybe I can use one of them). A.W. ------------------------------ From: christim@ifi.uio.no (Christian Moen) Subject: Re: X11R6? Date: 11 Mar 1994 14:58:13 GMT > : The X11R6 source-code has not been released to the public and is > : currently only available to X Consortium members. The source is > : scheduled to be released on April 15. > > Does anyone know where to get information about it? New features... etc..? > Thank you very much. A lot of information about X11R6 can be found on the European X User Group's (EXUG) WWW home-page. Try checking out http://www.informatik.uni-dortmund.de/EXUG/EXUG.html -- / Christian Moen - christim@ifi.uio.no - http://www.ifi.uio.no/~christim/ \ \ Fjellbirkeland 21A 114, N-0864 Oslo, Norway - Tel: +47 22 187103 - *<8O) / ------------------------------ From: kwh@cs.brown.edu (Kwun Han) Subject: inb and inb_p??? Date: Fri, 11 Mar 1994 01:38:49 GMT Hi kernel hackers, This may be a stupid question to ask, but what is the difference between inb and inb_p or outb and outb_p ?? Thanks! Kwun -- ***************************************************************** kwh@cs.brown.edu Box #2392, Brown University, ST002255@brownvm.brown.edu Providence, RI 02912 ***************************************************************** ------------------------------ From: kweidner@Physik.TU-Muenchen.DE (Klaus Weidner) Subject: Re: Tools for ZyXEL U-1496E+ Date: Fri, 11 Mar 1994 13:03:14 GMT g609296@win.or.jp (Kinga Yho) writes: >I am beaten by my boss to make answering system for customer inquiry. >Currently I have a ZyXEL U-1496E+ and I want to do it under my Linux >box - one reason to persuade my boss to change some machines into Linux >:-). I did take a look at some DOS,WINDOWS,OS/2 but those application >are more or less specifically for an answering machine only. What I need >is a more flexible script/language to play with so that I can log >customer's information through touch tone and am able to respond >instructively. Any one can point me to a right direction? May be some of >you have done this before. Some *free* code will be very useful to me. >BTW, I can do c but have little idea in communication devices on a >unix. You could take a look at Gert Doering's mgetty+sendfax package. I have added some support for ZyXEL voice operations, the changes are included in the more recent versions. Try sunsite.unc.edu: linux/system/Serial/mgetty*. Normally `vgetty' acts like a normal answering machine with fax/data capability, but you can call a shell script immediately after picking up the phone and handle the touch tone commands using shell commands, i.e.: CODE=`zplay -DS messages/TypeYourPhoneNumberNow` would play back a recorded message and store DTMF tones received in the environment variable $CODE. Klaus -- \ klaus@snarc.greenie.muc.de--kweidner@physik.tu-muenchen.de--2:246/55.4 \ .signature error -- quote dumped ------------------------------ ** 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: Linux-Development-Request@NEWS-DIGESTS.MIT.EDU You can send mail to the entire list (and comp.os.linux.development) via: Internet: Linux-Development@NEWS-DIGESTS.MIT.EDU Linux may be obtained via one of these FTP sites: nic.funet.fi pub/OS/Linux tsx-11.mit.edu pub/linux sunsite.unc.edu pub/Linux End of Linux-Development Digest ******************************