

|
|
|
|
Our sponsors make financial contributions toward the costs of publishing Linux Gazette. If you would like to become a sponsor of LG, e-mail us at sponsor@ssc.com.
Linux Gazette is a non-commercial, freely available publication and will remain that way. Show your support by using the products of our sponsors and publisher.
TWDT 1 (text)
TWDT 2 (HTML)
are files containing the entire issue: one in text format, one in HTML.
They are provided
strictly as a way to save the contents as one file for later printing in
the format of your choice;
there is no guarantee of working links in the HTML version.
Got any great ideas for improvements? Send your comments, criticisms, suggestions and ideas.
This page written and maintained by the Editor of Linux Gazette, gazette@ssc.com
Write the Gazette at gazette@ssc.com
|
Contents: |
Date: Sat, 1 Aug 1998 09:50:38 -0500
From: The Wonus House,
wonus@w-link.net
Subject: Accessing Microsoft SqlServer vi DB-lib or CT-lib
Do you have additional information sources on connecting to MS SqlServer via the Sybase CT/DB libraries? I am most interseted in how this could be done from a Solaris client machine.
Any info is greatly appreciated (thanks), Kevin Wonus
Date: Sun, 2 Aug 1998 21:55:03 -0400 (EDT)
From: Paul 'Tok' Kiela,
tok@gemini.physics.mcmaster.ca
Subject: R2000 Mips 2030
I just recently came into a used R2000 "Mips 2030" desktop slab. Aside from opening the box and finding that it is indeed running an R2000 CPU, I know nothing else about the computer -- literally. I have found absolutely zero information about any computer bearing the markings 'MIPS 2030'. To make matters worse, I don't have a proper BNC monitor to actually use the box yet, but I'm searching. My question, where can I find information about the R2000 port of Linux? I have visited the Linux/MIPS page, but the only mention of the R2000/3000 CPU port is an URL which points at SGI's statistics on the R3000 CPU. I was hoping I could pop Linux on on the box, and happily run it alongside the little army of Linux boxen I have now. Any help would be very appreciated.
Thanks.
Paul.
Date: Thu, 06 Aug 1998 12:57:21 +0000
From: Gulf Resources Co,
grc2000@kuwait.net
Subject: Some Ideas
Anyone there who is dreaming of running Delphi in Linux?
Date: Wed, 12 Aug 1998 09:21:12 +0200
From: Jesus A. Muqoz,
jesus.munozh@mad.sener.es
Subject: LILO Problems
I installed Linux in a secondary IDE hard disk booting from a floppy disk. Then I tried to install LILO in the MBR of the primary IDE hard disk and I did it. My idea was to maintain Windows 95 in the primary disk. I configured LILO to be able to start Windows 95, but after installing LILO the primary disk cannot be seen either by DOS nor by Linux. If I run msdos-fdisk it says that the disk is active but in the row where it should appear FAT16 puts unknown or something like that. Can I recover the information of the hard disk ?
Date: Tue, 11 Aug 1998 09:17:54 +0300
From: Mehmet Mersinligil,
memo@tr-net.net.tr
Subject: Matrox Productiva G100 8M AGP !!???
Is there a way to configure my Matrox Productiva G100 8MB AGP under X? Except buying a a new accelerated X server for 125$ from http://www.xig.com ? What should I do?
Date: Sat, 08 Aug 1998 18:21:54 +0000
From: Alexander I. Butenko,
alexb@megastyle.com
Subject: Some questions to be published
1. I wonder can I use the EPSON Stylus Color 400 printer with Linux... The interesting thing is that my buggy GIMP beta says to be supporting it but can't really print anything....
2. Has anybody encountered such a bug? JavaICQ doesn't run properly under KDE (when I open the send or reply or even preferences window this window closes immediately). This problem is only under KDE... 3. I can't use this Real Player 5.0, because it reports the compression errors even with files obtained from www.real.com or that file that was installed with it on my hard drive...
Date: Thu, 06 Aug 1998 15:33:37 -0400
From: Bob Brinkmann,
Bob.Brinkmann@mindspring.com
Subject: Being new to the Linux community
I'm in the process of developing a secure, encrypted tunnel for access to my company's enterprise network. The clients on the outside dialing into the system will be of a Windows 95, 98, NT 4.0 and probably 5.0 when it decides to rear its ugly head. My question is this, are there solutions on the terminating server side written in Linux to handle clients' tunnel access and also provide for IPSEC level encryption?
A while back I played with Red Hat's 2.0 release of the software and I just purchased Red Hat's 5.1 (Manhattan) version utilizing 2.0.34 kernel and find it to run quite nicely on both a desktop and several Toshiba portables.
Thanks for any advice or information you can provide.
Bob Brinkmann
Date: Wed, 12 Aug 1998 13:07:22 -0500
From: Dennis Lambert,
opk@worldnet.att.net
Subject: Help Wanted : newbie
I recently purchased Red Hat 5.1 and got it running. Evidently I was lucky in that I have a fairly full FAT 32 Win 98 drive and kind of stumbled through the defrag / fips / boot to CD / repartition / full install with LILO process. Everything worked, but I'm a little nonplussed. A few topics I'd absolutely love to get feedback on...
I don't really expect anyone to answer all of these concerns, but any little help would be greatly appreciated.
Dennis Lambert
Date: Mon, 17 Aug 1998 16:54:20 +0100
From:
Fabrice_NORKA_-_SAPHIR@PECHINEY.COM
Subject: Deb to RPM translator
I changed from a Debian distribution to a Red Hat 5.0 lately and was wandering if there were a tool like 'alien' to convert Debian packages to Red Hat packages. My personal e-mail is NORKAF@AOL.com
Thank you and God save Linux community :-)
Date: Mon, 17 Aug 1998 13:18:31 -0400
From: Chris Bruner,
cbruner@compulife.com
Subject: Idea's for improvments and articals
An idea for an article. (You may have already done this but I couldn't find a search engine to look up past articles). I have yet to get my Red Hat 5.1 to connect to the Internet. (Their support is GREATLY overstated.) I'm consquently using Win95 to do my Internet work. The reason for this is that my modem, network adapter and sound card are all Plug and Play (PnP). I would like to see an article detailing step by step, for a Linux beginner, how to install Tom Lee's PnP Package. This would involve recompiling the kernel which I'm not afraid of, but have no idea how to go about it. The more step by step the better. I'm from the DOS world and any assumed knowledge that I have might be wrong.
Thanks for a great magazine.
Chris Bruner
Date: Tue, 18 Aug 1998 21:23:27 +1200
From: Andrew Gates,
andrewga@fcf.co.nz
Subject: Help wanted for a (Cheap) COBOL combiler for Linux
I have a friend who is doing a refresher course in Cobol in a Unix environment. I have suggested that she run Linux, and pick up a cheap / shareware copy of a Cobol compiler for Linux from somewhere. Knowing absolutely nothing about either Linux or Cobol, am I dreaming, or is there a realistic alternative to the compilers I have seen retailing for ~$1,500 US? I'd really appreciate any help/advice anyone can offer.
Andrew Gates
Date: Wed, 19 Aug 1998 18:37:34 +0200
From: ppali@friko6.onet.pl
Subject: RadioAktiv radio tuner
I am one of those Linux users, who are not experts, even after a year or more of working with the OS. I like very much discovering by myself various aspects of Linux, trying out the many programs and help tips. What is important is that it works well and that I can use it for most of the common computer tasks (after a bit of tinkering). Now I have decided for the first time to post a following question:
After trying many radio tuners available on the net and failing to make my RadioAktiv radio card work under Linux I am stuck. Maybe someone would give me a few tips (or one TIP)?
Date: Tue, 25 Aug 1998 15:59:21 -0500
From: Hilton, Bradley D. (Brad),
HiltonBD@bv.com
Subject: Trident 985 AGP
Is it possible to get X running on a Trident 985 AGP video card? What server would I use? Thanks,
Brad Hilton
Date: Mon, 24 Aug 1998 17:19:21 -0700
From: dk smith, dks@MediaWeb.com
Subject: IDE disks
If I could only find a definitive reference on setting up IDE disks, SCSI disks, and partitioning issue for running with Linux, NT, and LILO. I am new to this stuff. The docs at Red Hat, although extensive, were not enough for me.
-dk
Date: Thu, 27 Aug 1998 16:05:15 +1200
From: Mark Inder,
mark@tts.co.nz
Subject: Help Wanted: Looking for an Xwin Server software that runs
under win95/nt
We use a Red Hat 4.2 machine in our office as a communications server. This is running well with the facility of telnet connections for maintenance, diald for PPP dial up - internet and email, and uucp for incoming mail.
I would like to run an X server on my windows PC to be able to use X client software on the Linux PC over the local Ethernet. Does anyone know of a shareware for freeware version which is available.
TIA Mark
Date: Thu, 27 Aug 1998 00:02:28 -0500
From: Todd Thalken,
tdthalk@megavision.com
Subject: Looking Into Linux For PPP Server
I am interested in implementing Linux in our office network.
Specifically, we would like to set up a Linux box as a dial-up PPP server so that remote users can access the office intranet.
Could you explain what hardware (multiport controllers) works best with Linux, and explain the steps necessary to set the Linux box up as a PPP server. Most of our client computers will be using Windows 95/98 dial-up networking. We would like to have the server assign IP addresses dynamically.
This seems like it would be a relatively common question, so if there is already good information available please let me know where I can find it.
I have read a lot about Linux, but still consider myself a green "newbie".
Date: Sun, 02 Aug 1998 18:25:16 +0000
From: Gulf Resources Co,
grc2000@kuwait.net
Subject: Delphi for Linux
I am a Delphi Developer. I am also a big fan of Linux and GNU Softwares.
Anybody there who wants to join me in knocking the doors of Inprise Corp (Borland ) to convince them to port C++ Builder and Delphi to X Window.
If these things happen, Microsoft will be very upset.
What Linux needs is an innovative company like Borland or Symantec.
Date: Mon, 03 Aug 1998 02:16:54 +0100 (BST)
From: Hugo Rabson,
hugo@rabson.force9.co.uk
Subject: response to Ruth Milne
I tell you, .....
Are you familiar with Nietzsche's description of the ordinary man's journey from man to superman? ...how he "goes down" into the abyss and comes up the other side? Moving from Windows to Linux is a bit like that. ;)
My adventure started in late April. I was sick and tired of Windows NT bluescreening. I read an article saying how stable Linux was in comparison. I looked into GUIs & found KDE to be to my liking.
In the end, I vaped NT because I needed the hard disk space. ;-P
It is now August. I have had ro reinstall almost a dozen times because I am still getting used to "The Linux Way". I have been using computers since i was 6; PCs since I was 16; Windows since I was 18. Linux is very stable indeed but it is eccentric & definitely not user-friendly, unless your definition of user differs wildly from mine.
I have written a "HOWTO" so that I can recover quickly if I have to reinstall the entire OS and GUI. It is currently 3500 words long, and tells me how to install RedHat, compile a new kernel, compile&install KDE 1.0, install the BackUPS software, configure dial-up networking & autodial, install AutoRPM, and .. umm... that's it, so far.
Don't get me wrong: Linux _is_ a wonderful thing. It's just ... It's _such_ a leap from Windows! I am convinced my primary client (with a dozen Windows machines) could function very well with Linux & Applixware instead of Windows & Office, just so long as they have someone competent to maintain their systems. Of course, they'll need much less maintenance under Linux than under Windows ;)
Linux requires a lot of competence & intelligence (and downloads!) if you're going to set it up. Windows doesn't. On the other hand, it seems much less prone to these embarrassing GPFs. :)
Hugo Rabson
Date: Thu, 6 Aug 1998 13:01:42 +0200 (CEST)
From: Hugo van der Kooij,
hvdkooij@caiw.nl
Subject: Linux Gazette should not use abusive language!
This is my final note to you about this subject. I have not heard nor seen a single response in the past regarding this issue.
I will however request mirror sites to stop mirroring unless you remove your abusive language from the Linux Gazette.
The following text should be removed from ALL issue's:
The Whole Damn Thing 1 (text) The Whole Damn Thing 2 (HTML)
I presume I am not the only person that find this text not at all suited for a Linux publication. It is in effect offensive and could easily be removed
Hugo van der Kooij
Actually, I have answered you at least twice about this issue. I don't find the word Damn either abusive or offensive and have had no objections from anyone else. So, why don't we put it to a vote? Okay, you guys out there, let me know your feelings about this. Should I remove the "Damn" from "The Whole Damn Thing" or not? I will abide by the majority. --Editor)
Date: Sun, 09 Aug 1998 15:48:34 -0600
From: Mark Bolzern,
Mark@LinuxMall.com
Subject: Some History and Other Things LG #31
http://www.linuxgazette.com/issue31/richardson.html
Marjorie,
Neat issue of the Gazette, thanks for all the hard work. I'm proud to be a sponsor, Just sent another $1K.
One little teensie issue of fact though:
First the quote: The first two issues of Linux Journal were published by Robert Young. After the second issue, Robert decided to start up Red Hat Software, and Specialized Systems Consultants took over as publisher. Also with the third issue, Michael Johnson took on the role of Editor and continued in that role through the September 1996 issue. I became Editor on February 1, 1997 and began work on the May issue.
And the correction: Actually Bob (Robert) started a Linux catalog within the ACC Bookstores. It wasn't until quite a bit later when he met Marc Ewing that he folded ACC into Marc's Red Hat Software.
I wuz there ;->
Thanks
Mark
Date: Sat, 8 Aug 1998 15:06:37 -0700 (PDT)
From: Heather Stern,
star@starshine.org
Subject: Re: those crazy links
On http://www.linuxgazette.com/issue31/tag_95slow.html, the link pointing back to the table of contents points to lg_toc30.html instead of lg_toc31.html. No, wait... all of the issue 31 answer guy pages seem to be mislinked (except the main one.) Also, the "previous section" button on the pages mentioned above seem to be mislinked as well... This isn't really important since most normal people like me use the back button like a religion, but it always helps to be consistent and have links pointing where they should, doesn't it? :)Yes, actually, it *is* important to me, and the base files are mostly generated by a script (making it hard to get wrong). But, I broke some stuff in the footer logic, so I did a proper footer by hand and propoagted it into the tag_ files myself. So, as I go look at the template I used...
Dad-blammit, you're right!! All of the 30's in there should be 31's. (Although the copyright notice is correct.) Mea culpa!
Thanks for your time... --Charles Ulrich. p.s. May be worth the effort to try one of those link checker bots that seem ever so popular on the web these days...Maybe, but it's being worked on in a private Linux network. Most of those "web bots" only access external sites properly.
I should have run the command 'lynx -traversal' at the top of it, so I'd have a badlink report, but I was in a last-minute rush. I've done so now, and found another error that you missed.
One of the beautiful things about the web, is that a minor misprint can actually be undone, unlike the world of print. I've submitted a corrected packet to our editor. Thanks for mentioning it.
-*- Heather Stern -*-
Date: Fri, 7 Aug 1998 11:13:47 +0000
From: kengu@credo.ie
Subject: news from Irish LUG
Hello, I'm involved with the Irish Linux Users Group website and was wondering if you would please mention that we are currently compiling a list of people in Ireland that would be interested in getting the 'Linux Journal' - details are available at our website http://www.linux.ie/.
thanks
Ken Guest
Date: Thu, 06 Aug 1998 17:30:55 +0100
From: James Mitchell,
james-t.mitchell@sbil.co.uk
Subject: Re: The other side of the story (or, on the other, other
hand)
Just before I launch into the meat of this email, I'd like to say that the Linux Gazette is excellent. good articles, and good tips and comments.
I'm writing about the mail in the August issue "The Other Side of the Story", in which Antony Chesser compares the Windows GUI to the shell prompt, especially the line
"When Linux finishes installing, you're left with a # prompt. When WIN95 finishes installing, you've a fairly intuitive GUI that allows you to quickly and easily install and run programs, connect to the net, and **apply updates without re-compiling the kernel**"
My quibble is with the underlying assumption that a GUI (and here I assume that includes Mac, and X, as well as Windows) is more intuitive then a command line. I argue that for a complete novice one is as bad as the other, neither a command line nor a screen full of little coloured icons and a START button are instantly comprehensible to a complete computer novice.
(Before you write me off as insane - remember that a GUI is supposed to shorten the time it takes to learn how to operate the computer, they don't eliminate the time altogether.)
Do you remember the scene in the Star Trek movie (the one with the whales...) where Scotty tries to use a Mac? He talks to it, and nothing happens... the operator says "You need to use this [the mouse]", so Scotty picks up the mouse and uses it like a microphone - "Good morning computer."
Can you see where I'm going? Until someone teaches the "complete novice" the relationship between the pointer and the mouse, and what happens when you click, double-click, or drag with the mouse, they will be just as lost as a novice sitting in front of a command line. Actually, they may be worse off... we have had typewriters for a lot longer then mice, and people will grasp the concept of typing faster then clicking on pictures.
So, in summary, I think that a complete novice will have a learning curve to cope with whether they use a GUI, or a command line; and the rest of us should remember that there is a difference between "ease of use", and "what I'm used to".
Cheers,
James
Date: Thu, 06 Aug 1998 09:22:46 EDT
From: Roger Dingledine, arma@seul.org
Subject: Linux News Standardization/Distribution Project
We've been making progress on our proposal to standardize the format and distribution of Linux news. Our design uses the NNTP protocol to create a network of servers that will quickly and robustly share news that is interesting to the Linux community. This will allow websites like Freshmeat and Slashdot, as well as lists like Threepoint's and linux-announce, to reduce duplication of effort while still customizing their presentation. In addition, this will provide a single easy method of submitting an item of news, whether it's an announcement about a new software release, or a description of the latest article in Forbes magazine.
The end goal of organizing the Linux announcements and news articles is to encourage smaller ISVs to port to Linux, since they will see advertising their software to a wide audience as less of an obstacle. Other important benefits include greater robustness (from multiple news servers), less work for the moderators (messages will be presorted and people can specialize in their favorite type of news, resulting in faster throughput), and a uniform comprehensive archiving system allowing people to search old articles more effectively.
We are currently at the point where we are designing the standard format for a news item. We want to make it rich enough that it provides all the information that each site wants, but simple enough that we can require submissions to include all fields. At the same time we're sorting out how the NNTP-based connections between the servers should work. We've got Freshmeat and Threepoint in on it, and other groups like Debian and LinuxMall are interested. We need more news sites to provide input and feedback, to make sure everybody will want to use the system once it's ready.
If you're interested, please check out our webpage at http://linuxunited.org/projects/news/ and subscribe to the mailing list (send mail to majordomo@linuxunited.org with body 'subscribe lu-news').
Thanks for your time (this is the last mail I will send directly about this),
Roger (SEUL sysarch)
Date: Fri, 14 Aug 1998 23:49:36 +0200
From: Martin Møller,
martin_moeller@technologist.com
Subject: Linux Gazette to be featured on Alt Om Data's CD-ROM
monthly.
This is just to inform you that some of our readers have pointed out that we ought to distribute your magazine on our Cover CD, and after having read through the lisence, I believe this will be no problem. I have, just to be safe, saved a copy of the copy lisence together with the archives and plan on distributing the new issues as the show up.
Keep up the good work!
Martin Moeller.
Date: Fri, 21 Aug 1998 20:52:14 -0400 (EDT)
From: Timothy D. Gray,
timgray@lambdanet.com
Subject: Linux reality letter
In LG#31 Michael Rasmusson wrote: "the majority of Linux users are IT professionals in some way" and alluded to the fact that Linux will be slow to be accepted due to this fact. This is very untrue. Most Linux users are in fact College and high school students. These forward thinking young minds aren't tied down by archaic IT department policy (many of which were penned in the 70's when IT was called the Processing/programming/systems/data-processing department) Linux will explode, it will do so violently. In fact it will explode so fast and vast that Microsoft will say "What happened?" The local Linux Users groups are all populated by 90% college and high school students. What do you think will happen when these students hit the computer departments at large corporations? They will install Linux, they will use Linux, and they will recommend Linux. The "explosion" has already started. Many large companies have already abandoned NOVELL and Microsoft for their servers. (The makers of the CG effects in the movie Titanic are far from small)
Date: Wed, 26 Aug 1998 03:37:22 -0400 (EDT)
From: Paul Anderson,
paul@geeky1.ebtech.net
Subject: Linux and new users
I've been reading the LG mailbag... A lot of people think Linux should be made easier to use. I don't think that's quite right - the idea, IMHO, should be to make it so that Linux can be used by someone who's new to computers, BUT they should have to learn to use it's full power. With power, knowledge must come or disaster will follow instead. The goal, in the end, is that the person becomes a self-sufficient user, capable of sorting out most difficulties without needing help. TTYL!
Paul Anderson
More 2¢ Tips!
2 Cent Tip from the 'Muse
You know, I don't think anyones mentioned it before in the Gazette, but there is this little program that is handy as all get out: units. You give it the units you have and specify what you want it converted to and Viola! It converts it for you! It won't do Celsius/Farenheit conversions, but handles Grams/Pounds conversions just fine. And for all those Linux cooks out there, it converts cups to quarts, teaspoons to tablespoons and cups to tablespoons.
Its the units freaks Swiss Army Knife. No hacker forced to make his own Thai curries should be without it.
Michael J. Hammel
Tips and Tricks: Keeping track of your config files
This is my trick for keeping track of the many config files you find on a Linux/Unix system.
Most config files are in the /etc directory. However, particularly on a home machine you won't change them all and sometimes you want to save (e.g. on a floppy) only the files you have changed. Besides, you don't want to have to remember the exact location for every one.
So here's what I do:
Then every time I want to change something I go directly to /root/config. If I want to backup my system configuration, I just copy the files by dereferencing the symlinks, etc. ...
Cheers,
Ryurick M. Hristev
2 cent tip: Cross platform text conversion.
To convert to a DOS text file, mount a DOS floppy and copy the text file.
$ su (you are prompted for a password) # mount /dev/fd0 -t msdos /mnt/floppy (the # says that you are root BE CAREFUL!) # cp myfile.tex /mnt/floppy # exit $For instance, after these, I can use SAMBA to get myfile.tex to an NT network printer (Z:> copy \\mymachinename\mnt\floppy\myfile.tex lpt2). It makes sense if you do this often to have a DOS disk always mounted, but if you mount as above, remember to umount before you try, say, mounting a different floppy.
I find this easier than a solution with the tr command, because I always forget how to do such solutions, but I can remember how to copy.
Jim Hefferon
XFree86 and the S3ViRGE GX2 chipset
At work, we just got in a whole slew of computers that use the S3ViRGE GX2 chipset. Upon trying to install X on these things, I found that the default Red Hat 5.0 XFree doesn't cut it. This is how I've been able to fix the XFree86 problems with the S3V GX/2 chipset. First, do not use the S3V server despite what Xconfigurator says. The GX/2 chipset is not supported for that server. You must use the SVGA server (besides, it's accelerated and supports DPMS). Currently, these are the modes supported as of XFree86-3.3.2pl3:
8bpp:
640x480 works
800x600 works
1024x768 works
1280x1024 works
15/16bpp:
640x480 works
800x600 works
1024x768 works
1280x1024 works
24 bpp:
640x480 works
800x600 works
1024x768 works
1280x1024 works (very picky about monitor modelines though)
32 bpp:
640x480 works
800x600 works
1024x768 does not work
1280x1024 does not work
The card I'm using to test this is a #9 9FX Reality 334 w/8MB RAM. Also
I cannot verify that this works on any version less than
XFree86-3.3.2pl2. pl2 actually has less modes/depth combinations that
work - such as, no 16 bit depths work and 1280x1024 doesn't work in
almost all depths. I suggest upgrading to XFre86-3.3.2pl3. Now onto the
fix.
Step 1. Make sure you're using the SVGA server (ls -l /etc/X11/X for RH users, maybe the same on other distros). It should point to /usr/X11R6/bin/XF86_SVGA. If it's not, link it to it (ln -sf /usr/X11R6/bin/XF86_SVGA /etc/X11/X).
Step 2. Open your /etc/X11/XF86Config file for editing.
Step 3. Find the Graphics Device Section.
Step 4. Find the device that is the Standard VGA Device (usually has the line -
Identifier "Generic VGA"Step 5. Remove the line that says:
Chipset "generic"Step 6. Uncomment the line that says:
VideoRam "256"and change it to recognize the amount of RAM your card has in kilo
VideoRam "8192" # 8MB RAMStep 7. Add the following line (*CRUCIAL*):
Option "xaa_no_color_exp"This turns off one of the accelerated option that gives trouble.
Step 8. Add whatever other options you want (for a list see the man pages on XF86Config, XF86_SVGA, and XF86_S3V)
Step 9. Change the bit depth and resolution to whatever you want.
Step 10. Save and close the file and (re)start X.
Note: I do not claim this will work for all cards using the GX2 chipset. I can only verify for the video card I'm using. I'm interested to hear how other video cards handle it. Hope that helps everyone involved. I've heard from people on Usenet that it works perfectly, and from others it doesn't.
Ti Leggett
Clearing the Screen
A few days ago a classmate "accidentally" cat'ed a file to the screen. He asked asked me what he could do to reset his confused vt100, as "clear" wasn't sufficient.
At first I figured he would need to close and re-open the connection, but then I realized that there are codes to reset a vt100.
Here is some C code that resets, and clears the screen. Save it as vt.C, then run "make vt". Place the executable in your path, and when the screen looks like heiroglyphics, type (blindly at this point) "vt". That should clear it up.
/*
** Small program to reset a confused vt100 after
** `cat'ing a binary file.
*/
#include <stdio.h>
int main(void)
{
printf("\033c"); // reset terminal
printf("\033[2J"); // clear screeen
return(0);
}
/*
For more info, see the following URLs:
www.mhri.edu.au/~pdb/dataformats/vt100.html
www.sdsu.edu/doc/texi/screen_10.html
www.cs.utk.edu/~shuford/terminal/ansi_x3.64.html
They have more vt100 escape codes.
**
*/
Re: Shell Scripting Resources <-- TIP
In issue 31 it was mentioned that someone had been looking for some shell scripting help.
Take a look at http://www.oase-shareware.org/shell/ as I have heard many people mention this site in response to shell scripting queries.
Sean.
Re: Recognising the AMD K5-PR166
I'm wondering whether any other readers have used the AMD K5-PR166 with Linux. It's just that my system seems to think it's a K5-PR133 and states that it's running at 100MHz. Also, the BogoMips value indicates that the processor is running at 100MHz. Anyone any advice?I'm running a K5 P133+ on one of my systems - it actually is running at 100 MHz, that's why it's a "P133+". It's like the Cyrix processors, the name is basically a lie for marketing.
I wouldn't put too much stock in the BogoMips value - it is bogus after all! My system clocks in at an equivalent to a 112 MHz system when I run the distributed.net client - the reason AMD claims a higher clock value is probably because some instructions run faster, and those may just not happen to be the instructions used in to BogoMips loop.
As for your system thinking your K5-PR166 is a K5-PR133, it's probably because you have the motherboard jumpered wrong and/or the BIOS configured wrong. Are you sure that your motherboard & BIOS support the chip?
Shani
Your atapi CDROM
Your /dev directory is the culprit. Current installs use:
/dev/hda /dev/hdb /dev/hdc /dev/hdd (/dev/hde) (/dev/hdf)for the first, second, (and third) ide interfaces, m,s,m,s(,m,s). Older installs had the /dev directory written a little differently. You would have the old standard, which was
/dev/hdnxwhere n was interface, and x was a/b for master/slave.
The only difference is in the names of the files. If you rename them, you will be in compliance. Alternatively, you could run makedev from a recent kernel, though I do not pretend to know all the details of that.
Tips: simulataneous kernel versions
From: Renato Weiner, reweiner@yahoo.comThis may come a bit late, but I am in the process of writing a (mini)HOWTO on this subject. It is not quite trivial, especially with modules lying around, or if you want several kernels with the same version number.
Recently I was looking at the Gazette and I think I have a good suggestion of an article that will be very useful for the Linux community. I have had some technical difficulties of having two simultaneous versions of Kernels in my system. I mean a stable one and a developing one. I searched the net looking for information of how to co-exist both but it's completely fragmented. If somebody more experienced could put all this information together, it will certainly help a lot of people from kernels developers to end-users.
Check out http://huizen.dds.nl/~frodol/howto.html for now. I am still in the process of getting it approved as an official mini-HOWTO.
Frodo
Creating man pages made easy!!!
Below is something I wrote to help lay people create their own man pages easily
---------------------------------------------------------------------------- ----
If you ever wrote a program using gcc in linux, you may have come across this problem. You have just finished your wonderful little program which is of great use to you and you need a man page for it.
Of course, you have absolutely no idea how to write a man page. Don't you need to know how to use troff? Or is it nroff to write a man page? Luckily there is a much easier way to write a man page.
Here I shall describe an easy and quick (and dirty) way of writing a man page without learning troff or nroff. In order to do so, you must have the Perl version 5.004 (or higher) installed on your Linux box.
There is a man page in the various Perl man pages on the creation of a man page using the Perl util "pod2man". It is called "perlpod.1". Below is a step by step guide to finding the man page and the util.
ksiew> su password: #|/root>locate perlpod.1 /usr/man/man1/perlpod.1 #|/root>locate pod2man /usr/bin/pod2manNow, to write your own man pages, you must first read the perlpod.1 man page. You can do this by "man perlpod". However, to read the pod2man man page, you must first create it by using pod2man itself.
#|/root>pod2man /usr/bin/pod2man > pod2man.1 #|/root>ls -al pod2man.1 -rw-r--r-- 1 root root 13444 Aug 16 12:12 pod2man.1 #|/root>mv pod2man.1 /usr/man/man1/pod2man.1Okay, now you can read the pod2man man page you have just created by using the command "man pod2man". After reading it, you can now create your own man pages. As an example, I shall describe a simple man page for one of my own C programs called "addline". I first create a textfile called "addline.pod" and then turn it into a manpage using 'pod2man --center="Addline program manpage" addline.pod > addline.1'.
Finally, I move the addline man page into its proper place using "mv addline.1 /usr/man/man1/addline.1". There; creating your own man page is simple, isn't it?
Below is a sample addline.pod file
-------------------Cut here and do not include this line---------------------
=head1 NAME
addline - addline numbers to textfiles
=head1 SYNOPSIS
B<addline>
[ B<-c> ]
[ B<-v> ]
[ B<-3> ]
[ B<--colon> ]
I<inputfile>
=head1 DESCRIPTION
B<addline> inserts line numbers into textfiles. It was written to automate
the insertion of numbers into a data file of results from a neural network
program.
=head1 OPTIONS
=over 8
=item -c
Ignores comments lines. A comment line is any line that starts with a '#'.
This makes it easier to insert comments in the textfile without messing up
the line numbers.
=item -v
Displays the version number of the addline.
=item -3
Uses 3 digits for the line numbers even if the number requires less than 3
digits. For example, 013 instead of 13. The default is to use as few
digits for the line number as possible.
=item --colon
Separates the line number from the rest of the line with a ':' character.
=back
=head1 EXAMPLES
addline textfile
addline -c textfile
addline -c --colon textfile
=head1 NOTES
Addline is written in C and compiled using gcc version 2.7.8. It uses the
standard C library and is designed to be fast and efficient.
=head1 RESTRICTIONS
Never ever use addline on a binary file.
=head1 BUGS
There are no bugs in addline, there are just some undocumented features.
=head1 AUTHORS
Original prototype by Steven Siew, but so massively hacked over by
his sister such that Steven Siew probably doesn't recognize it anymore.
-------------------Cut here and do not include this line---------------------
2c Tip Re: Cross-platform Text Conversions
In LG31 you published a 2c tip for a unix2dos replacement written in Tcl. The author asserts that "It turned out to be really easy to do this in Tcl." Even easier in Perl, I say. Symlink the following code to the same names (d2u, u2d, m2d, m2u, u2m, d2m) Matt used. Make sure this file has execute permission, of course.
Also, if you just want Perl to edit the input files in place, change the "perl -wp" to something like "perl -wpi.orig"....
Peter Samuelson
#!/usr/bin/perl -wp
#
# Simpler unix2dos2mac utility for 2-cent tip, mainly because Tcl is ugly.
# No comments that Perl is ugly too, please.
#
# Usage: a standard Unix filter:
# input: filename(s) or stdin
# output: stdout
# Buglet: u2m leaves lone CR at the end of file if it didn't end in LF
# (Fixing it would use more memory.)
BEGIN {
$_=$0 =~ s|.*/||;
$pcmd='s/$/\r/' if ($0 eq 'u2d');
$pcmd='s/\r$//' if ($0 eq 'd2u');
$pcmd='s/$/\r/;chop' if ($0 eq 'u2m');
$pcmd='s/\r/\n/g' if ($0 eq 'm2u');
$pcmd='chomp' if ($0 eq 'd2m');
$pcmd='s/\r/\r\n/g' if ($0 eq 'm2d');
unless($pcmd) {
print STDERR "This script must be invoked under one of the names:\n",
" u2d, d2u, u2m, m2u, d2m, m2d\n";
exit 1;
}
}
eval $pcmd;
Un-tar as you download
It's time for fun with pipes. Recently, when downloading the latest kernel over a ridiculously slow connection, I wanted to see where the download was by checking which file in the tarball was being received. After pondering the pipes and GNU utils, this thought came to mind.
You can decompress and un-tar your files as they download, sort of a "streaming decompressor", if you will. Form the command line:
tail -f --bytes=1m file-being-downloaded.tar.gz | tar -zxvTail will display downloaded portion of the file, then remain open displaying bytes as they come. Make sure the 1m (1 megabyte in this case) is LARGER than what you have already downloaded. The piped output of tail goes to tar and the rest is history. Similarly for bz2 files:
tail -f --bytes=1m file.tar.bz2 | bunzip2 - | tar -xvEnjoy!
megaraid drivers
Hi, It's been a long fight to get AMI to produce this patch and the install documentation.
Mike Burns
Re: Suggestion for Article, simultaneous versions of Kernels
I think Hans-Georg is talking about having a stable linux kernel version X and a dev version X (ie not 2.0.34 and 2.1.101 but 2.0.34 and 2.0.34). I assume when you issue: # make modules_install it tromples your old stable modules and gives you errors when you use your stable version X. This is not as trivial a problem as it first seems. However there is a solution. Have a look at the make-kpkg docs (debian distro); specifically the "flavour" option. This will solv your problem. It won't be easy, though.
Have a look at:
/etc/conf.modules
to see what I mean.
R Garth Wood
The Answer Guy
Greetings From Jim DennisWe're all getting used to the idea that Linux can attract corporate users, for deployment as web, ftp, file (SMB and NFS), print and even database servers; and we're getting used to seeing it used for routers, mail, and DNS.
We're even getting used to the idea that corporate user put Linux on their desktops (in places where they might have spent a small fortune on a workstation).
But, what about the home/personal user? Most of us consider this to be an impossible dream. Even those few enthusiasts in the Linux community who dare to hope for it --- have been saying that it will take years to gain any percentage of that market.
However, I'm starting to wonder about that. I've seen a number of trade rag articles naysaying Linux on the desktop. Ironically, when a reporter or columnist explains why Linux isn't suitable for the desktop --- it actually raises the possibility that it is suitable for that role.
A denial or refutation tells us that the question has come up!
What prevents the average IT manager from deploying Linux on their desktop today? In most cases it's fear. The users are used to MS Word, MS Excel, and MS PowerPoint. Any user who uses any of these is forcing all of the rest to do so as well (since these applications all use proprietary, non-portable, file formats).
Everyone who uses Office has to use a PC or a Mac (and many of them switched away from Macs due to lags in upgrades and subtle file compatibility problems between the Mac and PC versions of these applications).
Why do Mac users run VirtualPC --- to deal with the occasional .DOC, .XLS, or .PPT file that they get --- or some other proprietary file format (like some of those irritating CD-ROM encyclopedia) which is only accessible through one application.
However, these proprietary formats are not secret codes. Linux and other Open Source (tm) hackers will turn their attention to them and crack their formats wide open. This will allow us to have filters and converters.
'catdoc', LAOLA, and MSWordView are already showing some progress on this area (for one of these formats).
Microsoft will undoubtedly counter by releasing a new version of their suite which will carefully break the latest third-party viewers and utilities (free or otherwise). They may even apply the most even perversion of intellectual property law yet devised: the software patent.
However. I think that the public, after a decade of following along with this game, is finally starting to wise up. The next release that egregiously breaks file format compatibility may be the end of that ploy (for awhile at least).
But what about the home user. How do home users choose their software? What is important to them?
Most of them don't choose their software --- they use what came on the system and only add things later.
When they go out to buy additional software, home users are the most price conscious of all buyers. Commercial, government, and other institutional buyers can make a business case to justify their purchases. Home users just look in their wallet.
The other common influences on the novice home user include the retail store clerks and their kids. That's one reason why the school and University markets were always so crucial to Apple's success.
I noticed that the Win '98 upgrade was going for $89. I couldn't find a "non-upgrade" box anywhere in that store (CompUSA).
People are starting to hear that for half that price they can get this other OS that includes enough games and applications to fill a 2Gb hard drive.
I think MS is actually starting to price itself out of the market. (It seems that my MS-DOS 5.0 upgrade was only about $35 or $40). If MS Office weren't bundled with so many new systems, there probably would be about a tenth the legal copies in home use.
With a little more work on LyX and KLyX and a few of its bretheren --- and a bit more polishing on the installation/configuration scripts for the various distributions I think we'll see a much more rapid growth in the home market than anyone currently believes. I think we may be at 15 to 20 per cent of the home market by sometime in the year 2000.
So, what home applications do we really need to make that happen.
... because it gives all of us a place to vote on what we would buy.
One class of packages that remember used to be very popular was the "greeting card" and "banner/sign" packages: PrintShop, PrintMaster, and Bannermania. Those used to have the cheesiest clipart/graphics and a fairly limited range of layouts. Limited enough to make any TeXnician scream with frustration.
However, they were incredibly popular precisely because of those constraints. Having a few dozen to a couple hundred choices to pick from is far less intimidating to home users than all the power and flexibility you get with TeX, LaTeX, and the GIMP.
I would dearly love to see a set of pre-designed greeting cards, certificates ("John Doe has Successfully Completed the Yoyodyne Tiddly Winks Seminar" --- with the lacy border --- you know the kind!), etc. all done in TeX or PS or whatever. This and a front end chooser and forms dialog to fill in the text would be a really killer home app.
(Bannermania was geared to creating large banners, either on fanfold paper or as multiple sheets to be cut and pasted together on to a backing board (piece of cardboard).
I think that a new Linux implementation of this sort of app built over the existing software (TeX, GhostScript, etc) would end up being vastly better than anything that was possible under the old PrintShop --- and still be as simple.
I'm sure most of us have that one old DOS, Windows, Mac, or other application or game that we'd like to see re-done for Linux. So, dig out the publisher's address or phone number (assuming they still exist) and let them know what you want. Then post your request to the wishlist.
Even these trivial bits of action can make Linux the choice of home users. I say this because I think it's about time that they had a choice.
From an00997 on 30 Jul 1998
Hi,I'm Dodo.I'm just finishing a course of computer operations and I would like to know about phreak,hacking... Can you tell me about it ??? Tips or news ???
Thanks...
My first thought is that this is some sort of troll (message intended to generate flames --- often forged to appear from an unsuspecting party so as to harass the apparent sender).
That doesn't make sense in this case since getting one flame from "The Answer Guy" is hardly worth the trouble.
There for I have to assume that you have chosen an unusually apt handle for yourself.
So, you're finishing a course in computer operations. That's nice and productive. You should also considering taking a course in basic composition and grammar.
(Hints: commas and periods are normally followed by spaces; question marks normally are used in sequences of one (the "triple question mark" is for emphasis); and you finish courses that are "in" or "on" topics, not "of" them).
Normally I don't flame people on their spelling grammar, or punctuation. However, there doesn't seem to be much else to say to you.
You want to know about phreaking and "hacking." The first think to know about phreaking (the study of practical phone fraud techniques) is that use of most of the techniques used by phreaks is illegal in just about any jurisdiction. In many places you can a) go to jail and b) insure that you can never work in the computer industry again by getting convicted of crimes involving telephone and computer fraud.
The term "hacking" as applied to techniques for bypassing system security and gaining unauthorized access (or privileges on) them is highly controversial. It is accepted practice among computer enthusiasts to use the term "cracking" to discuss those activities and "hacking" to discuss the lawful and legitimate pursuit of their hobby.
In this latter sense we call Linus, Alan Cox, and others "Kernel hackers."
The media prefers to use the term "hacker" in the former sense. This is one of many reasons that "hackers" and "crackers" alike tend to be disgusted by the media. (As a regular contributor to LG I'm considered by some to be in "the media" and thus worthy of suspicion and disgust. Others have other opinions --- some of those are even less complimentary).
I personally find the whole "phreak mystique" to be disgusting. There is a tendency to romanticize phreaks and crackers ---- to create a mythology of the "uberhacker" (a Nietsche-an reference that very few of them understand). That whole subculture is permeated with a smug "superiority" that tries to say: "we know something you don't."
Of course, to them I'm a nobody. I've never cracked into anyone's system. I've never written any "warez" or "sploits" and I don't even know all the buzz words and jargon to participate in their conversations. I'm a "lam3r" that's not even good enough to be a "wannabe." In other words, I'm not an "3l33t d000d."
It also tends to be quite juvenile. They seem to have an inordinate fondness for bad grammar and intentionally crazy spelling. I suppose it's part of the general affectation of 'tude --- the rebellious aversion to authority and convention, even the conventions of language itself. Trite!
Now this is not to say that you have no business learning about phreaking and cracking. There's nothing wrong with learning about these things, nor even anything inherently wrong with experimentation and research. However, there is a major problem if you conduct your "research" on "subjects" without their informed consent.
As a sysadmin's (and sometimes security) consultant I study these things as much as my time allows. Most of my information comes from mailing lists like bugtraq, and from web sites like rootshell and the l0pht. I'll let you find those on your own. You can also subscribe to 2600 and Phrack magazines (printed) to learn more. Phrack is also available online.
All of the real "cracker" socializing seems to be done via IRC (Internet Relay Chat). This has tended to give the whole IRC system a bit of a bad rap. The popularity of IRC for this stems from at least two factors: it is immediate and interactive (instant gratification is very important in these circles), and it allows for direct client-to-client communications (DCC) which makes it easy for participants to exchange "warez" and other files. From what I gather the old-fashioned BBS is also still pretty popular in that crowd. These seem to be "by invitation only" --- so you'll have to curry favor and do some horse trading to get any phone numbers on any of them.
Naturally it is important for these crackers and phreakers to maintain their elite status by locking out the lamers and wannabes. So anything published about them is wrong, or will be right after they read it.
I suspect that this message by itself will probably get me flamed and possibly attract some cracks on my systems (d00dz, don't bother; it's not sporting --- I don't do anything special to protect my servers, honest! My web and ftp servers are just virtual hosts on some poor ISP, no challenge at all).
Meanwhile my best advice to you, Dodo, is to cut your moniker in half and just "do" something constructive. If you want to make a serious study of "cracking" and "phreaking" than the Linux Gazette Answer Guy is a pretty lame place to start. In short: get a life!
From Tsyplakov Maxim V. on 28 Jul 1998
Regard! Help to solve a problem: Beside my ISP installed by Windows NT. Can will Not be connected with him through dial-up from Linux. Scenario waits login: and password:, but from there does not come no lines. Links Linux-Linux, Linux-Free BSD, worked without any problems. Who known what is wrong? CCL: Invalid command (c).
It sounds like you should try talking to your ISP. If they won't co-operate or help, switch to another one.
If there aren't any others in your area, find some friends and form your own -- either a co-op or a commercial. Welcome to the free market!
They are probably using some proprietary MS RAS (remote access service) or they've done something weird with their terminal servers or PPP software --- though the fact that it connect and prompts for a login and password doesn't sound like a MS NT RAS or PPTP sort of symptom --- those are text and MS prefers to use proprietary binary in their protocols and document formats.
In any event I don't have nearly enough information to help.
From Spencer T. Kittelson on 28 Jul 1998
They're out there but not all there.
We have some old code that runs on terminals that we would like to drive with a Java based server. We are looking for the reverse equivalent of a terminal emulator, i.e. a Java toolkit that multiplexes serial/network character streams and provides support for character based devices. In particular we are looking for the Java equiv. of the C curses library.
Any ideas if and where such a thing exists?
Spencer
The canonical resource for finding Java applets and applications on the web is at "developer.com" (formerly known as Gamelan).
Here's URL that will provide you with a list of some telnet and terminal emulators writting in Java
http://www-c.developer.com/directories/find.cgi?search=Java+Telnet&num=50&sp=sp
(Be sure to cut and paste that without the linebreak, and the extraneous backslash that I use to indicate the line continuation).
There are a number of these listed there and I haven't tried any of them (well, I tried WebTerm awhile back and I did look at the online demo of JXterm, and Crosstie).
I've played with SCO's Tarantella --- which seems to be more of an X Windows in a Java frame --- and also provides support to access NT desktops through a Java frame. Alas, that seems to be a proprietary technology and it seems to require a SCO OpenServer to host part of it. (I suspect that means that it doesn't qualify as a "Pure Java" solution -- though the client side of it might be "pure Java").
WebTerm seems to be available for non-commercial use --- but doesn't define the term (do they mean you can't use it in your business environment or just that you can't sell copies of it). JXTerm and Crosstie seem to be commercial products.
One limitation of most of the Java implementations in existing web browsers is that the Java applets can normally only open connections to the same address from which they were fetched. This means that your host would have to run a web server with some HTML pages that contained the required applet markup. You could also distribute these to your systems along with an installation of the JRE (Java Runtime Environment) and a copy of 'appletviewer' --- that would allow you to run these without the common browser restrictions.
Another problem with these is that they are not trivial to install and run via the 'appletviewer' WebTerm 2.0 gave me grief about "missing resources" while the same copy of appletviewer was perfectly content to run the various other demos that I had laying around. I'm sure that it's some fussing with the CLASSPATH variable or some other thing that I don't have configured to it's liking. Frankly I haven't worried about it much.
I presume that your clients are PC's or NC's rather than Linux boxes. Otherwise I presume you'd just configure your browswers with 'telnet' configured as a helper app and just embed URL's of the form:
<a href="telnet://appserver.mydomain.org"> Telnet to our Application Server</a>
... and be done with it.
Naturally you can do that on your Windows boxes as well --- just install some sort of telnet utility and configure the browsers to use it. I personally like C-Kermit for telnet -- so you might consider using K'95 (the Win32 Kermit from Columbia University).
That would give you a consistent scripting, telnet and file transfer environment across your systems.
That approach (using helper apps) is likely to be much faster, more robust and probably and cheaper than trying to do this with Java applets. The usual telnet utilities have had years to mature and are written to the clients native API's --- so there's no fussing about that.
From Li-cheng Hsu in the comp.os.linux.development.apps newsgroup on 29 Jul 1998
Greetings,
I used to be a sysop of FidoNet using Maximus as my BBS system in DESQview environment. Now I have switched from DOS/Windows to Linux as my major working platform.
The question is, is there any BBS system that is recommended to run
in Unix ? It should be able to handle both dial-up & TCP/IP, of
course.
There's a tree of directories at the master Linux archive:
http://sunsite.unc.edu/pub/Linux/system/bbs
There are several packages there --- including a number of utilities for ifmail (the Internet to FIDO gateway).
Most of these are free or shareware.
There are also Linux ports of MajorBBS and MMB Teammate (a couple of major commercial BBS packages --- which are pretty expensive).
I haven't used any of them so I can't offer specific suggestions. However, I've crossposted the two newsgroups that are most likely to have interested and informed participants (alt.bbs.unixbbs and comp.bbs.misc).
There are about 50 newsgroups devoted to BBS' (including various specific BBS packages like TBBS, MajorBBS, Citadel, etc).
(I've been a sysop on two large corporate systems, for Symantec and for McAfee --- so, I used to subscribe to some of these. However I've never run a small hobbyist system so I just haven't kept up in the field).
Thanks in advance.
Linux can handle dial-up as well as console login and give a remote user normal shell. But you probably want to restrict access for BBS users.
You can set them up with simple shell script (or perl, or tcl) which would emulate maximus as close as you wish, but I think that better approach is to use text-based web-browser lynx for their shell.
These are likely to be severe security problems unless you are a phenomenally good (and careful) programmer.
I'd did play with a configuration that ran lynx in a chroot jail. That was to prototype a "dial in kiosk"
One sticking point for my application was that I wanted a replacement 'getty' that could auto-detect ANSI PC emulation (which many BBS' can do with some sort of magic escape code) and bypass the Unix login command --- I think I replaced /bin/login in the jail with an SUID "nobody" copy of lynx, and put a <chroot>/etc/issue that just said: "Hit any key to ...."
Thus you set up normal Web site instead of BBS, solving problem with TCP/IP instantly, and let dial-in users to view it in lynx. Lynx includes provisions to download/upload files using Z-Modem and Xmodem (by calling external programs sz and rz) and allows to restrict users almost as much as you wish.
However, those various restrictions may not be foolproof. There have been exploits that bypassed lynx restrictions before.
So, if security is an issue, you definetely want to lock this in a jail with no shell and take some other precautions.
You are right that this is an interesting way to provide "kiosk" style dial-up using stock HTML/web pages and off the 'net freeware. That was the whole point of my prototype (which took all of about three hours one afternoon).
From Ashley G. on 29 Jul 1998
JIM, HI I WAS WONDERING IF YOU CAN SEND ME SOME INFO.ALL I NEED IS THE NAMES OF THE 5 FLAWS IN THE UNIX SYSTEM,JUST THE NAMES.
IF YOU CAN SEND THEM TO ME I WOULD GREATLY APPRECIATE IT>
I think some flames are in order here:
Now to answer your question:
There is no list of generally held "flaws" in Unix or Linux that I know of. There are a number of problems with even postulating such a list.
First there isn't any one Unix system. C-Kermit claims to support about 700 versions and implementations of Unix (and Unix-like operating systems).
There is considerable ongoing academic debate about what precisely is Unix. I won't bother trying to provide my own definition --- it would just get me flame mail and perpetuate the debate. There are many people who will even deny that there's any doubt. They will say: Unix is any system that has been "branded" by The Open Group as conformant to the X/Open portability guidelines (XPG4 or XPG3). Others will pipe in and say that any thing that meets Spec1170 is Unix, while others will claim that POSIX is the one true standard.
At that point we'll go through the whole debate as to whether Unix is limited to just those systems which are dubbed to be "Unix" by this or that standards body, or whether it applies to Unix like systems --- such as Linux.
Indeed we could argue for days about what precisely is Linux. In the strict sense it is considered to be a set of kernel sources and the ancillary device drivers, and makefiles. In common usage Linux refers to any of a number of collections of software that run under a compilation of those (kernel) sources. Others, notably Richard Stallman, argue that the term Linux should be applied only to the kernel sources and that a different term should be applied to larger aggregations of software built around it.
His argument is valid -- since most Linux distibutions are about 5% to 10% Linux kernel sources, and drivers and about 25% GNU software. Since RMS is the principle of the Free Software Foundation (the organization that owns the copyright over the GNU sources) he has a reasonable interest in seeing that people know where some of the major components of their Linux based GNU systems come from.
Eventually the FSF will have a full operating system of it's own: the HURD. The GNU project was started to build such a system and the fact that they released a large number of vital components for public use is what made Linux possible.
At the same time there are other bodies that have produced major software subsystems that are conventionally included in a Linux distribution.
The computer science research group (CSRG) at University of California, Berkeley released a large number of packages and a large body of source code for public use (BSD). Many of the common utilities under Linux (most of the NetKit, I think) are from these sources.
The X Window system comes from MIT's Athena project and the free implementation of that which we use under Linux is principally from the XFree86 Project. XFree86 is the X Window system that's used by a number of Unix implementations including FreeBSD, NetBSD, and OpenBSD.
So, if we were to try to fairly represent these parties in our nomenclature we'd have to refer to our systems as:
Linux/GNU/BSD/XFree86/"MIT X Window System" Systems
... which is why a respectfully decline to comply with rms' desire for me to use the phrase Linux/GNU when I mean "Linux" (in the common broader sense).
The other reason I choose not do to this most of the time is that I find it more difficult to read in that form. This is undoubtedly a horrible character flaw on my part but I find that I sometimes subvocalize (mentally "sound out") passages of technical text in my efforts to understand and proofread it. So, if rms likes he can simply say that my refusal to refer to this is symptom of my stupidity. I'll cop to that.
So, I suppose we could say that the "first flaw" of Unix is that no one seems to know what Unix is.
While it is tempting to try to follow this line of logic and devise four more for you --- I think it will be much quicker and more amusing for you to read The Unix-Haters Handbook by Simson Garfinkel, et al (IDG Books, (c) 1996).
Conveniently this book is in four "Parts":
Part 1: User Friendly?
Part 2: Programmer's System?
Part 3: Sysadmin's Nightmare
Part 4: Et Cetera
... and I think that every serious student of Unix and Linux should read this book. For one thing it requires an advanced understanding of Unix to understand the complaints --- and a really advanced knowledge to see how many of these complaints don't apply to many "modern" Unix variants (Linux in particular).
For the rest of it I found it amusing, frustrating and significant that the many contributors to Unix_Haters did not list modern available alternatives that exhibited the features they preferred in an OS and environment (or at least that lack the features that they hate). There were references to the ancient "Lisp Machines" but there was no clear endorsement nor were there any suggestions about how things "should be."
So, as the title suggests this is a curmudgeonly book without constructive merit. However, the Unix and Linux enthusiast should be thoroughly familiar with the material for the same reason that a self-respecting agnostic should be thoroughly familiar with the major religious works of whatever society surrounds him or her.
From STEVEN SCHILLY on 20 Aug 1998
Hey sorry about 'council' sometimes my mind is wondering about in many green fields at once! Anyway I figured that out before I got your mail it was in the init and inittab (although I have no idea what was wrong!) I copied an init file from a working version of micro linux to mine and a new kernel of DOSLinux x.xx? (will have to look). I'd like to run X86Free; where is the best place or way to download this entire package. What will make installing it as easy as possible? I like to hack at the system level but don't have the time right now .. so I'd like the easy way out....Any sug.?
From Rick, Aug 1998
I have doslinux on my PC b/c i wanted to keep Win95. I want to load Xwindows but i cannot figure out how to do it on DOSlinux... Could you please point me in the right direction like what files i need and how to install and run. thanks ...
I think the easiest way would be to install the RPM utilities using the unRPM-Install package that's Available on the DOSLinux "Home Page."
Then I'd fetch the XFree86 packages from a Red Hat mirror and just use the 'rpm -i' command.
You could also consider one of the other "tiny" Linux distibutions like "Xdenu" or "Dragon"
Here's a copy of another message that covers almost the same question:[copy omitted]
The easy way out of manually installing XFree86 is to pick a distribution that includes it. I gather that you're running DOSLinux --- which is similar to "MiniLinux" in that you can install a functional Linux subsystem into an MS-DOS subdirectory in about 20Mb of disk space (maybe 30 or 40 these days).
Oddly enough I just got another question on the same topic. I'll paste copies of my suggestions:
There were a couple of predecessors to DOSLinux, including Mini-Linux and Xdenu. Xdenu is still available at sunsite:
http://sunsite.anu.edu.au/archives/linux/distributions/xdenu/umsdos
... and it included the X windows subsystem. That apparently hasn't been updated in about 3 years.
Just a couple of directories over from that you'll find tinyX at:
http://sunsite.anu.edu.au/archives/linux/distributions/tinyX
... which is a set of implementations that each fit on a single floppy. (You pick the file that matches your video card type. Most of these are from '93 or '95).
MiniLinux itself is still there: it fits on about four diskettes and includes X. It also dates back to '95. However, it's programs should probably still run on any more recent system (you might need a kernel with support for the old COFF/a.out format --- since I don't think MiniLinux was updated to ELF).
Also on sunsite we find a page that links us to "Monkey-Linux" which does include X and was updated at least as recently as May of '97. The author notes: "English documentations is still not fine..." So you might feel more comfortable with this if Czechloslovakian is your native language. The web page is at:
http://www.spsselib.hiedu.cz/monkey
He does note that Monkey is compiled for ELF format.
From Rick on 20 Aug 1998
thanks for the help... i think i have learned from doslinux so i can go ahead and install redhat... i will still use this information to try to get dos linux working on my laptop. thank you.
From Prblnd on 24 Aug 1998
AnswerGuy /p>
I'm just a LittleGuy, out-of-work..Looking for AS/400 platform and somebody said I should tell you! /p>
Who?
Your assertion that "somebody said" you should tell me sounds very suspicious. If it is true that "somebody" said you should tell me about your plight --- that person is either stupid or cruel. I'm not a hiring manager. I'm not a recruiter. I have nothing whatsoever to do with AS/400's (no slight intended, they sound like nice enough systems).
Question: Can you assist me to find a new start?
Answer:
I probably could. However, the fact that you blindly sent this to me without any evident research into who I am and what I do suggests that time spent on assisting you would be wasted.
However, here's the assistance I will offer:
- Research:
- Don't waste your time or anyone else's by blindly spamming addresses out of the blue. Do your homework. Send messages to those who are looking for them and expecting them. Make it clear in your message how you selected them and why you hold an expectation that they have requested your message.
- Writing:
- You message's semantics are horrible. The spelling and punctuation are reasonable. However, the phrase "looking for AS/400 platform" doesn't make sense. I presume you are looking for work that is "related to the AS/400" or that "requires expertise with AS/400's." I understand the difficulties faced by people for whom English is not native; however, you want to find someone who is literate and fluent in English to help you edit your messages to potential employers.
- Tone:
- Desperation is repugnant to most well-balanced people. Are you really looking for a "new start?" I would suggest that you focus on just getting a new job. You don't want to throw suggestions about "other" problems into the faces of potential employers.
The phrase "a new start" is idiomatic to Americans and suggests such unsavory failures as incarceration/ institutionalization, divorce, and/or drug treatment. These are the sorts of total failures that require someone to look for a "new start." Merely getting laid off or even fired is merely enough to look for a "new job."
Also it is generally useless to appeal to a potential employer's sympathies. If I were a hiring manager I don't care if you are a "LittleGuy" or a major political, philosophical or intellectual figure.
Hiring managers care if you can do the job they need for the price they are willing to pay. Given multiple applicants that meet their pre-requisites they are generally swayed by much more subjective criteria (such as whether you are related to them, whether you are previously aquainted, and whether they "like" you, etc).
So, you want to maintain a "positively neutral" (and "upbeat") tone in your dealings with potential employers.
With that in mind let's re-write your message to me:
------------------------ Begin Rewrite ---------------------------
Dear Mr. Dennis,
Sam Ockman told me that you have lots of contacts throughout the industry. When I mentioned to him that I'm looking for a new position (systems administration, preferably on AS/400) he suggested that I drop you a note.
I've attached my resume. Please feel free to share it with any of your associates that might be interested. I'm in Sri Lanka, North Dakota --- but I'm happy to relocate.
Also, any suggestions you have would be deeply appreciated. I've looked through some of the sites that are listed in Yahoo!'s "Employment" sections. There are so many of those that I'm not sure where to start.
Thanks.
------------------------ End Rewrite ---------------------------
Note: we use a real name here. We don't use an alias. You could have searched for "answerguy" on Yahoo! gives 242 references and apparently 222 of them point to me. (I'm not the one on CAGTV --- http://www.answerguy.com, and I'm not the one from Square One Tech (http://www.squareonetech.com) Nor am I listed on Global Online Electronic Services (http://www.goes.com)). My full name is published in every article.
We start of by saying precisely who sent you to me, and why. If you were referred through some traffic on a newsgroup or mailing list --- say so!
Next we state our purpose. Nothing fancy --- just ask as directly and simply as possible. If you expected that I would be hiring --- tell me why you thought so. In that case you'd also want to say way you think that you're a suitable candidate for the specific positions you think I might have open. For example:
... some participants on the comp.unix.security newsgroup suggested that you might have an opening for a new webmaster. I've been working in HTML for three years, and I'm experienced with the installation and configuration of a number of popular CGI packages (including several from Matt's script archive).I'm particularly interested in working for your consulting firm because I want to learn more about Unix and Internet security and I've heard that you're widely respected in this field. ...
(note: this is all hypothetical --- Starshine Technical Services does do some security consulting --- but is not "widely" regarded in the field, yet).
Lastly, when we ask for more general help we also give some idea of what we're already doing. We do this for two reasons --- first is allows are respondent to avoid redundant suggestions. More importantly, it shows that we are motivated and that we've done some homework.
The point is that everything you say is relevant to the matter at hand. You cannot do that unless you do some research.
Incidentally, people posing technical questions should take note of this advice. It applies as much for an "application for technical support" as it does for any other.
At this point I get enough mail for the "Answer Guy" that I don't wonder where people heard of me (when they're talking about Linux). However, it would be nice if I knew a bit more about where some of these questions came from. If someone at a users group meeting says: "You should send mail to that guy from the Linux Gazette" --- I'd like to hear about which UG it was.
Question: WILL you assist me in finding the
new career job?
Answer...
No.
okay, two questions, only one right answer...
thanks for your time....
resume attached............................
... (apparently in .DOC format) and deleted without a glance.
From Prblnd on 24 Aug 1998
you made me laugh thru your entire response ..
thank you -
Paul
Glad I could help!
From The Answer Guy to Insignia Solutions on 25 Aug 1998
Dear Sir or Madam,
You recently sent me a business reply card offering me SoftWindows '95 for any of three relatively popular RISC-based Unix platforms. This offer is useless to me since I use Linux on my PC's.
As a long time user of Linux. I, my employees, and my customers occasionally need access to files in some proprietary document format (usually generated by Windows Office) and we are willing to pay a reasonable sum (I could probably buy 20 copies tomorrow).
I am a member of a local users group (Silicon Valley LUG) with about 400 regular members. I can take a poll at our next meeting and give you the results if you'd like.
Most of us are not choosing Linux because it's "free" (in the financial sense). The time and energy most of us have spent is far more valuable than a couple hundred bucks here or there. Also most of us have purchased new computers and recieved "free" copies of Win '95 or Win '98 with them. We've then gone out and purchased Red Hat (http://www.redhat.com) Linux ($50) to replace those.
The need (among Linux users) to run 32-bit Windows applications without rebooting is perhaps a bit difficult for most Windows users to understand. We could, after all, simply reboot.
MS Windows users are used to rebooting a couple times a day.
However, for most Unix and Linux users this is the problem. We depend upon a much higher degree of stability. Most of my systems stay up for months at a time. These workstations are not "busy" --- they are mostly just "maintaining state" -- my editors, email programs, web browsers and newsreaders are all in different states.
When I get blocked on one task (perhaps because I need to look something up) or interrupted (perhaps to go to lunch, as I did while writing this message) --- my cursors all stay where I put them.
I don't have to remember each of these tasks that are "in process" and I don't have to resort to reams of "Post-It" notes (though I put the occasional XPost-It on my display). I can simply move to another window, another virtual desktop, another virtual console, even another user account concurrently running a whole different session of X. I can leave such processes running throughout my network running with confidence that nothing sort of a power outage or a major sysadmin error will disrupt my work.
To us the notion of rebooting to get into MS Windows (usually just to read some .XLS, or PowerPoint e-mail attachment) is analogous to sweeping all of the paper work off of your desk, emptying all of the drawers, and turning the desk upside down.
For me to just go though an find all my running processes and write down which files were open in which applications would probably take at least a fifteen. Later, to restart all of them and get back to "my place" (reposition my windows, cursors, etc) would take at least a half hour. That's 10% of a workday lost to just rebooting a system!
Since I bill $100 per hour --- it doesn't take much of that to convince me to get a package like WABI, VirtualPC (if Connectix responds to my inquiries), or (if you make it available) SoftWindows for Linux.
There were an estimated 5 to 10 million Linux users by the beginning of this year. IDC estimates that 2.2 million revenue generating workstation installations of Linux were installed during 1997. That beats their estimates of all non-PC based Unix' combined and outstrips the reported NT workstation installations almost two to one.
The number one problem faced by most business Linux users is lack of access to 32-bit Windows applications (most of it for document sharing). StarOffice and Applixware are not yet mature enough and certainly don't have sufficiently robust document filters to be a solution for most of us. Corel's WordPerfect for Linux is "on its way" but it probably won't have quite the quality of document filters and translators that we require for reasonable interoperation with some companies.
WABI will probably never run Win '95 or Win '98 apps. WINE is still not ready for broad use (only the most technically adroit Linux enthusiasts can use it --- and it has virtually no Win32S suppport). So, there is clearly a niche for your market. That niche is almost certainly bigger than the combined niches for HP-UX, Solaris/SPARC, and AIX.
PS: I keep hearing this persistent rumor that Insignia can't release a version of SoftWindows for any PC based OS, allegedly due to some clandestine cross-licensing arrangement with Microsoft. That would certainly explain why you've been ignoring the larger PC/Unix markets. If this rumor ever makes its way to the DoJ it should make for some interesting reading.
I also notice that MS has recently been "legitimizing" the non-Intel Unix platforms and has been making announcements to the affect that they are releasing native ports of MS Office, and Internet Explorer for a select few of these platforms (all non-Intel, naturally). I wonder what affect that will have on your market.
From Insignia Solutions Unix Customer Service on 25 Aug 1998
Jim-
Thanks for your interest in SoftWindows for Linux and in Insignia
Solutions.
Right now, we do not have a product for Linux or any Intel-based Unix.
Unfortunately this is not a simple port of an existing SoftWindows for Unix on RISC product - a completely different design is required as the Intel cpu does not help as much as you might expect. Consequently, a large investment on our part would be required to produce this product. We are prepared to do this, but only given enough customer demand.
To assess this demand we will be producing a web based survey, to determine what would constitute acceptable pricing, product functionality (in particular whether DOS/Windows would have to be included) and performance.
Please check www.insignia.com periodically for further information.
Thank You,
Christopher Wood
Insignia Customer Service
800-848-7677 option 5
____________________Reply Separator____________________
[attached copy of original message omitted]
[As of press time, they are not plugging a "market expansion survey" or anything similar directly on their home page. However, they are offering a "free UNIX Solutions kit" if you fill out the form at:
http://www.insignia.com/banner/unixkit.html
...where they don't mention Linux, but will let you fill in an Other space for your platform. It doesn't mention price. If you have a serious interest in buying Softwindows should it come to pass, let them know, so they can't claim "there's no demand". But it should be legitimate demand... if you wouldn't be willing to talk to a sales rep about it, I'd say don't bother hitting the above link.
-- Heather]
Chris Gushue's question about nullmodems was posted in July (Issue 30).
From Chris Gushue on 29 Jul 1998
About a week after asking for help about connecting Linux and
Windows 95 via null modem, I totally switched over to Linux (well,
with a small Windows partition for the occasional game). I got fed
up after numerous crashes while just installing it, plus my brand
new Gravis GamePad Pro didn't work in 98 at the time. I can make my
Linux system do pretty much anything I want, either in text mode or
in X. Plus, I don't have to reboot at least once a day. To
summarize, it's much better to run Linux than Windows (well,
everyone knows that, of course!). Instead I think I'll work on
setting up a LAN with my Linux system (on a cable modem) with two
Windows 95 systems (my roommates-to-be systems). Shouldn't be too
hard - except for maybe the Windows configuration (I expect no less
than 3 reboots)
Great column - keep up the great work!
Glad I could help.
From Terry Singleton on 18 Aug 1998
Hi there,
Being a newbie LINUX user I searched YAHOO and found your site. It is a relief to actually find a site which has some newbie material..thanks.
I am hoping you can shed some light on this subject.
I recently put up a LINUX server, I am hoping to use it for email and http purposes. However our users are not knowledgeable enough to be able to ftp html files into their directories and therefore we would like to use Front Page. I have downloaded and installed APACHE 1.3.1 and noticed that MS does have FP extensions that are supposed to run on LINUX and APACHE.
I think you are underestimating your users. You might want to find the WS_FTP and/or the "CuteFTP" package. These shareware Windows packages are pretty easy for Windows users --- and work pretty much like the old file manager.
(As for e-mail, I suppose some/many of them will be use Netscape Communicator's POP client. You can also offer them Eudora and Pegasus Mail. These will work with any POP server --- including whichever one was almost certainly already installed with your distribution).
The easiest way to allow your Windows users access to their files on your web server is to install and use Samba. Samba implements the SMB protocol --- which is the native file sharing system that's implemented in Windows for Workgroups, Windows '95, Windows '98, Windows NT, and OS/2 (LAN Manager and LAN Server). files.
With Samba you'd give each user access to their home directory (possibly creating symlinks from their home directories to any shared directories). You users would simply drag and drop files using the same file manager and "Explorer" interfaces that they'd use with any other WfW or NT fileserver.
You can also create group shares (on your Linux or other Unix system) which will automatically show up to the appropriate users in their browse lists.
The last time one of my associates looked into using Microsoft's FrontPage server extensions the idea was abandoned without even attempting the installation. There were showstopper limitations and design features that obviated any need to look further at it.
Her conclusion was also supported by a number of messages that I've read on the Bugtraq and NTSecurity mailing lists.
So I recommend that you reconsider your options and avoid FrontPage if you have any choice in the matter.
If you insist on using FP despite these limitations then you'll probably want to look at:
- The Unofficial FP Server Extensions Home Page
- http://compy.ww.tu-berlin.de/FP-Server_Extensions/default.htm
- http://www.bewley.net/httpd/frontpage.html
Although I've never used it, I've read about another way to upload files to a web server using HTTP POST commands. It's described in the O'Reilly book on _CGI_Programming_ (one with a mouse on the cover) on page 414 (Appendix D).
Basically you create a form that looks like so:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><HTML><HEAD><TITLE> File Upload Form </TITLE></HEAD><BODY><H1> File Upload Form </H1><HR> <FORM ACTION="/cgi-bin/upload.pl" ENCTYPE="multipart/form-data" METHOD="POST"> Your Name: <INPUT TYPE="text" NAME="username"> File to Upload: <INPUT TYPE="file" NAME="filename"> <INPUT TYPE="submit" VALUE="Send the Multi-part (MIME) file..."> <INPUT TYPE="reset" VALUE="Clear/Restart"> </FORM></BODY></HTML>
At the time it was only supported in Netscape. This will show up as a form with a filename field, and a "Browse" button next to that. I don't know if any other browsers ever added support for it. (I just check with Lynx 2.7.2 --- it recognized the INPUT TYPE="file" and rendered it as "Not Implemented")
Also you'll have to create/find a cgi script/program that implemented the file/MIME decoding portion of this (I just used "upload.pl" as a placeholder for this example).
That same book listed some Perl 5 modules that might be useful for this sort of thing --- I think one of them was "BasePlus.pm" --- you'd want to search CPAN (the Comprehensive Perl Archive Network: http://www.cpan.org, http://www.perl.com/CPAN-local among many) for related work.
I don't know for sure but you might start at:
- CPAN: By Category: WWW, HTML, HTTP and CGI
- http://www.perl.com/CPAN-local//modules/by-category/15_World_Wide_Web_HTML_HTTP_CGI/
Being new to LINUX I have no idea how to get started.
Some of the questions I have:
I don't know the answers to any of these questions. However, I think you'll find some instructions at the two sites listed above.
4. Virtual hosting would be nice but I think simply subdir
will suffice for each user (using the ~username notation).