Remove
How do I remove myself from recieving mail from this list?
Re: what is frcode?
I wrote: But why is it undocumented? Philippe Troin writes: This file is in /usr/lib, it's an internal command. It's most likely you'll never have to use it by hand. It's hence undocumented. Not a good reason. It should be documented somewhere, even if only with a line or two in the updatedb man page. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED]Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address.
HTTP Servers
I'm trying to learn a little about web servers, so I downloaded cern-httpd.deb and started it up. It seems to be working OK except that it errors when I try a POST command. Error 500 This server is not configured to handle POST I have put Enable POST Post/cgi-bin/* /usr/lib/cern-httpd/cgi-bin/* in the config file, and kill -SIGHUP 'd it, it still spits out the same error. Should I continue to play with cern-httpd or should I try another one? Boa looks promising. This is for very light duty, I'm on a dialup line and this is mostly a learning tool/toy. I avoided Appache because it's fairly large and I really don't need the features. Any comments or experience would be appreciated. Thanks Change is inevitable, except from a vending machine. Rob MacWilliams [EMAIL PROTECTED] N9NPU
Re: gcc - iostream.h
[EMAIL PROTECTED] said: I recently installed the basic development files - gcc, cpp, binutils, libs, and libs-dev. When I tried to compile a program with just a cout line it says iostream.h: no such file... Did you invoke the compiler with g++ or gcc ? For compiling C++ programs, you should use g++. Phil.
Re: what is frcode?
On 21 Mar 1997 18:31:00 CST [EMAIL PROTECTED] wrote: I wrote: But why is it undocumented? Philippe Troin writes: This file is in /usr/lib, it's an internal command. It's most likely you'll never have to use it by hand. It's hence undocumented. Not a good reason. It should be documented somewhere, even if only with a line or two in the updatedb man page. Do you also want every package to document why every file it installs is there, and its meaning ? [[[BIG SMILEY :-) ]]]. Phil.
Re: what is frcode?
On Fri, 21 Mar 1997, Philippe Troin wrote: you'll never have to use it by hand. It's hence undocumented. Perhaps it could be used for other purposes, By us non-gurus... or gurus-to-be. Do you also want every package to document why every file it installs is there, and its meaning ? [[[BIG SMILEY :-) ]]]. No, just the good ones :) -- Walter L. Preuninger II waldo @ irc.wasteland.org:#unix [EMAIL PROTECTED] http://walterp.rapidramp.com L I N U X Where You Will Want To Be!
does debian 1.2.x support umsdos
I have an ATT globalyst 362TPC comuter with a s3 trio 64 chip set. I am now using slackware 2.2 running linux 1.2.1 kernel as a umsdos file system. It is working fine except I can't get xfx86 running. I want to upgrade the linux kernel to 2.*. I am interested in using debian as my linux because I had heard good reports on debian. I am interested in a new book from http://www.ssc.com Linux Installation Getting Started, Version 3 which contains cd-rom with debian Linux 1.2.x. Does debian support umsdos? Does it have xf86? What version of the linux kernel is in debian 1.2.x? I like umsdos because you don't need lilo which can cause problems because it can mess up your MBR and it is hard to configure. I also use loadlin to boot up from my dos partition. umsdos also lets you access all your dos files as it can coexist with dos. Please answer by email. Thanks in advance, [EMAIL PROTECTED]
Re: write-protected filesystems [Was Re: dpkg and shadow]
meierrj == meierrj [EMAIL PROTECTED] writes: [When I mount] an Iomega Zip drive ... occasionally[,] I get the message: sda: Write Protect is off sda: sda4 ... Is there a command out there somewhere to write protect/unprotect disks? meierrjI am not familiar with Iomega drives but strongly meierrj suspect that the message is simply a warning that the meierrj write-protect tab is in the writable position. Who was the original poster? I have a utility that I downloaded someplace for controlling the Zip drive. It lets you set the write protect, amoung other things. There is not a tab like on 3.5 floppies. It's set by a program, which must write something to the disk telling the hardware to write protect it. Karl M. Hegbloom [EMAIL PROTECTED] http://www.inetarena.com/~karlheg Portland, OR USA Debian GNU 1.2 Linux 2.0.29t
errors installing with dselect/ftp
Hello again. After downloading a bunch of files in the dselect/ftp process for updating my system, I reach a point where I get the following DPKG error: [...] stable/binary-i386/doc/manpages_1.11-7.deb stable/binary-i386/doc/doc-debian_1.4-0.deb stable/binary-i386/comm/lrzsz_0.12b-1.deb Do you want to install the files fetched [y]: y Installing files... dpkg: `ldconfig' not found on PATH. dpkg: `start-stop-daemon' not found on PATH. dpkg: `install-info' not found on PATH. dpkg: `update-rc.d' not found on PATH. dpkg: 4 expected program(s) not found on PATH. NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. DPKG ERROR and I can't seem to get it to work after this. I checked to see that ldconfig was in root's path: bash# echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin bash# which ldconfig /sbin/ldconfig Is there another configuration file I need to fix or something? I didn't see this problem mentioned in the Jan97 or Feb97 archives. Any help will be greatly appreciated. Thanks! -- Ken Gaugler N6OSK Santa Clara, California email: [EMAIL PROTECTED] URL: http://www.wco.com/~keng The life of a Repo Man is always INTENSE...
Re: what is frcode?
[EMAIL PROTECTED] writes: I wrote: But why is it undocumented? Philippe Troin writes: This file is in /usr/lib, it's an internal command. It's most likely you'll never have to use it by hand. It's hence undocumented. Not a good reason. It should be documented somewhere, even if only with a line or two in the updatedb man page. locatedb(5) has the following: updatedb runs a program called frcode to compress the list of file names using front-compression, which reduces the database size by a factor of 4 to 5. Front-compression (also known as incremental encoding) works as follows. - Hari -- Raja R Harinath -- [EMAIL PROTECTED] When all else fails, read the instructions. -- Cahn's Axiom Our policy is, when in doubt, do the right thing. -- Roy L Ash
g++ file doesn't run
Thanks for the help - it does compile with g++ instead of gcc, but the executable produced isn't doing anything. Here's what i'm doing: //test.c #include iostream.h main(){ cout Hello there.; } The test file doesn't print out anything when I run it. Also, I was wondering if this was a descrepency in versions of gcc. The installaition I had before (using the main parts of the Slackware dist.) compiled both c and c++. Like somehow it knew which way to process it.
Re: Upgrading from slackware to debian
On Sat, 22 Mar 1997, Dima wrote: Also, it's (Slackware's) a great first Linux for those who like to learn swimming in the deep end of the pool. Back in the pioneer days, that's all there was...a deep pool. Time flies like arrows, but fruit flies like bananas Perry Piplanihttp://perrypip.netservers.com [EMAIL PROTECTED] http://www.netservers.com
Re: what is frcode?
Philippe Troin writes: Do you also want every package to document why every file it installs is there, and its meaning ? [[[BIG SMILEY :-) ]]]. Yes (no smiley). Readable files such as configuration files and shell scripts can be largely self-documenting, but yes, I think every file should be documented. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED]Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address.
Re: does debian 1.2.x support umsdos
On Fri, 21 Mar 1997, Joseph Zieniewicz wrote: Does debian support umsdos? Debian does not support umsdos although with a liitle hacking you can create a umsdos partition, umsync it, and put the debian base distribution on it. However, I do not reccomend this. The performance is cruddy, and it's not necessary. Does it have xf86? Yes. What version of the linux kernel is in debian 1.2.x? Last I checked... 2.0.27 I like umsdos because you don't need lilo which can cause problems because it can mess up your MBR and it is hard to configure. I also use loadlin to boot up from my dos partition. You do not need to use umsdos just to use loadlin in leiu of lilo. Loadlin can boot linux on an ext2 partition just as easily. umsdos also lets you access all your dos files as it can coexist with dos. Linux on an ext2 can also access your dos partions. In fact if you have win95 it can access your long filenames. Time flies like arrows, but fruit flies like bananas Perry Piplanihttp://perrypip.netservers.com [EMAIL PROTECTED] http://www.netservers.com
Re: Powermanagment
On Fri, 21 Mar 1997, Stefan Walder wrote: Hi, can I put down the power of my monitor when I'm running X? Check out the try adding the line option power_saver to your XF86Config file where your video card is described and this will switch your monitor into standby mode after about 1/2 an hour if your card supports it. Joe. === in real life: Joseph Skinner |There's no such thing as a wizard email: [EMAIL PROTECTED] |who minds his own business [EMAIL PROTECTED] | - Berengis the Black http: www.earthlight.co.nz/users/joe| Court Mage to the Earls Caeline
Re: g++ file doesn't run
On Fri, 21 Mar 1997, Jeff Shilt wrote: //test.c The test file doesn't print out anything when I run it. try typing 'which test' and find out what program your really running then type 'man test' to see what it does. Then give your program a new name. Time flies like arrows, but fruit flies like bananas Perry Piplanihttp://perrypip.netservers.com [EMAIL PROTECTED] http://www.netservers.com
Re: errors installing with dselect/ftp
On Fri, 21 Mar 1997, Ken Gaugler wrote: NB: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin. DPKG ERROR bash# echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/local/sbin:/usr/local/bin bash# which ldconfig /sbin/ldconfig I don't know if this will work but try cd'ing to / before starting dselect. I've had trouble with dselect finding files in the past and that seemed to fix it. Time flies like arrows, but fruit flies like bananas Perry Piplanihttp://perrypip.netservers.com [EMAIL PROTECTED] http://www.netservers.com
Re: Metro-X ver 3.1.5
Matthew Tebbens wrote: Metro-X 3.1.5 - For those interested; I just installed Metro-X version 3.1.5 on 2 of my debian systems and it works great. I had no problems with the install and no problems when I configured it. The installer package that debian has is for the old version. I didn't see any reason to have an installer for this version, it was very simple to install and use. Matthew the installer provides xserver and if you use the installer, you have to install at least a XFree86 X server from x11 directory, otherwise you end up with a dependency problem. Lawrence,
Re: lprm says Permission denied (fwd)
But that still doesn't solve the problem of viewing the Unix print queue from within Windows. That works with regular lpr, but not lprng. On Mar 5, Craig Sanders wrote: but that's not necessary at all. with samba, printers listed in /etc/printcap appear on the Win3/Win95/etc machines printer list (this is the default for the debian package - you can turn it off if you like) - Win users can select it and print to it just like any other printer. Here's an excerpt of relevant parts from my /etc/smb.conf file which works on my network. [global] printing = lprng load printers = yes [printers] comment = All Printers browseable = no path = /tmp printable = yes public = no writable = no create mode = 0700 Once you've set this up, you should be able to see the linux box's printer(s) in Network Neighbourhood on the Win95 machines. Can't remember what the Win3 equivalent is, but the linux printers show up on Win3 too. I have samba, lprng, and magic-filter installed. it works brilliantly. craig FFrom [EMAIL PROTECTED] Tue Mar 4 18:11:53 1997 Return-Path: jgoerzen Received: from mail.midusa.net ([EMAIL PROTECTED] [127.0.0.1]) by complete.org (8.8.5/8.8.4) with SMTP id SAA10400 for jgoerzen; Tue, 4 Mar 1997 18:11:52 -0600 Received: from master.debian.org by services.midusa.net via SMTP (950413.SGI.8.6.12/940406.SGI.AUTO) for [EMAIL PROTECTED] id RAA03490; Tue, 4 Mar 1997 17:22:41 -0600 Received: (qmail 10545 invoked by uid 888); 4 Mar 1997 23:34:44 - Delivered-To: [EMAIL PROTECTED] Received: (qmail 10542 invoked by uid 888); 4 Mar 1997 23:34:44 - Delivered-To: debian-devel@lists.debian.org Received: (qmail 10540 invoked from network); 4 Mar 1997 23:34:42 - Received: from hur-s0.fuller.edu (HELO waterf.org) ([EMAIL PROTECTED]) by master.debian.org with SMTP; 4 Mar 1997 23:34:42 - Received: from localhost [127.0.0.1] (debian) by waterf.org with smtp (Exim 1.60 #1) id 0w23ax-0001tY-00 (Debian); Tue, 4 Mar 1997 15:25:47 -0800 Date: Tue, 4 Mar 1997 15:25:46 -0800 (PST) From: Christoph [EMAIL PROTECTED] To: Nils Rennebarth [EMAIL PROTECTED] cc: Debian Development debian-devel@lists.debian.org Subject: Re: Hylafax In-Reply-To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by complete.org id SAA10400 There is a hylafax package in experimental packaged by me needing work. Look through the archive of debian-devel. Someone else wanted to take it on. On Tue, 4 Mar 1997, Nils Rennebarth wrote: There had been several people mentioning they'd make a package from it. Who finally took it now? Reason: I do need a central faxserver here, and might contribute some work do testing... Nils -- \ /| Nils Rennebarth --* WINDOWS 42 *-- | Schillerstr. 61 / \| 37083 Göttingen | ++49-551-71626 Micro$oft's final answer | http://www.nus.de/~nils --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- +++ --- Please always CC me when replying to posts on mailing lists. rom [EMAIL PROTECTED] Tue Mar 4 18:11:54 1997 Return-Path: jgoerzen Received: from mail.midusa.net ([EMAIL PROTECTED] [127.0.0.1]) by complete.org (8.8.5/8.8.4) with SMTP id SAA10403 for jgoerzen; Tue, 4 Mar 1997 18:11:54 -0600 Received: from master.debian.org by services.midusa.net via SMTP (950413.SGI.8.6.12/940406.SGI.AUTO) for jgoerzen id RAA02059; Tue, 4 Mar 1997 17:17:11 -0600 Date: Tue, 4 Mar 1997 17:17:11 -0600 From: [EMAIL PROTECTED] Message-Id: [EMAIL PROTECTED] -- John Goerzen | Running Debian GNU/Linux (www.debian.org) Custom Programming| [EMAIL PROTECTED] |
Unicode capable editors ?
Hello, Is there any editor for Debian or Linux in general capable to display UTF-8 without X ? -- v v Ricardas Cepas
XFree Specifications for Samsung SyncMaster 17GLsi Monitor?
Hi! Can anyone provide me with the Monitor specifications, which I need to insert into the XF86Config file, for the Samsung SyncMaster 17GLsi ? Alex. PS: Yes, I haven't got the monitor manual. :)
Re: g++ file doesn't run
On Mar 03, 1997 at 10:23:30PM -0500, Jeff Shilt wrote: Thanks for the help - it does compile with g++ instead of gcc, but the executable produced isn't doing anything. Here's what i'm doing: //test.c #include iostream.h main(){ cout Hello there.; } The test file doesn't print out anything when I run it. As I understand it, Unix terminal IO is buffered, so nothing will be written until a newline is sent. You never sent one, so all bets are off; the standards don't guarantee anything if you don't send at least one new line. (Similarly by default even character by character input won't see anything until the user presses return). Try #include iostream.h main() { cout Hello there. endl; } You would theoretically get no output from #include stdio.h main() { printf(Hello there.); } either. I haven't checked though. Hamish -- Hamish Moffatt, [EMAIL PROTECTED], Melbourne, Australia. Student, computer science computer systems engineering. 3rd year, RMIT. http://yallara.cs.rmit.edu.au/~moffatt CPOM: [ ] 40% PGP key available from web page above.
Printer trouble
I am trying to set up a NEC Silentwriter S60P-Printer for use under Debian 1.2. It is a Postscript-Printer, but I don't have any documentation. (Found the device in a factory's trash...) It works great with Win95, but I am not able to print anything with Linux. 'lpr' does nothing, and I cannot cat a file to /dev/lp1 (as root, of course). I do not use plip, so there can't be any clashes at the parallel port? I fiddled around with tunelp, but it keeps saying things like: # bash# tunelp /dev/lp1 # /dev/lp1 using polling # bash# tunelp /dev/lp1 -s # /dev/lp1 status is 223, on-line # bash# tunelp /dev/lp1 -i 11 # /dev/lp1 using IRQ 11 # bash# tunelp /dev/lp1 -s # /dev/lp1 status is 223, on-line with no positive effect on printing. I compiled lp-support as a module in the kernel, kerneld starts it at boot time. # bash# dmesg | grep lp # lp1 at 0x0378, (polling) Somehow the printer seems to receive data, when I try to print, because its display says 'PROCESSING` , but then it becomes `READY` again. Anyhow: No output in tray. Can someone help me? Are there any tools to debug my problem further than with tunelp? Like a kind of 'ping' for lp-devices? Thank you in advance Frank Barknecht ### mailto: [EMAIL PROTECTED] ###
Forcing X to reread config file safely?
Hi! I'm currently trying to set the best settings for my X-Display. After changing /etc/X11/XF86Config I used to do a /etc/init.d/xdm stop followed by /etc/init.d/xdm start Using this method gets me a locked machine sometimes (Can't type anything in the tty or switch ttys). So I suspect, that this ain't the right way. Is sending the XServer a SIGHUP the recommended way, or pressing CTRL-ALT-BACKSPACE or something else? Alex.
Problems working with bash.
I've read the man page on bash several times now, but I can't find out how to get the following to work: - In a tcsh I can do $var:r, which gives me 'name' if $var contaned 'name.ext'. How can I do this with bash? - In tcsh I can type anything on the command line and do a search on the history list matching this input by pressing ALT-P. How do I do that with bash? Alex.
Re: g++ file doesn't run
In message [EMAIL PROTECTED], Hamish Moffatt writes : On Mar 03, 1997 at 10:23:30PM -0500, Jeff Shilt wrote: Thanks for the help - it does compile with g++ instead of gcc, but the exec -utable produced isn't doing anything. Here's what i'm doing: //test.c #include iostream.h main(){ cout Hello there.; } The test file doesn't print out anything when I run it. As I understand it, Unix terminal IO is buffered, so nothing will be written until a newline is sent. You never sent one, so all bets are off; the standards don't guarantee anything if you don't send at least one new line. (Similarly by default even character by character input won't see anything until the user presses return). I think buffers are suposed to get flushed when a program terminates normaly, but I would try this anyway if nofing else helps :) The other sugestion on the list (another 'test' is run) is more likly. You can try runing Your own 'test' by spesifying the path (./test). /Lars Hamish -- Hamish Moffatt, [EMAIL PROTECTED], Melbourne, Australia. Student, computer science computer systems engineering. 3rd year, RMIT. http://yallara.cs.rmit.edu.au/~moffatt CPOM: [ ] 40% PGP key available from web page above.
Re: what is frcode?
Raja R Harinath writes: locatedb(5) has the following: ... ... Ok. IMHO it should be mentioned in updatedb(1L) since updatedb calls it, but that's nitpicking. At least it is documented, and updatedb itself provides a usage example. -- John HaslerThis posting is in the public domain. [EMAIL PROTECTED]Do with it what you will. Dancing Horse Hill Make money from it if you can; I don't mind. Elmwood, Wisconsin Do not send email advertisements to this address.
Re: g++ file doesn't run
At 10:23 PM 3/21/97 -0500, Jeff Shilt wrote: Thanks for the help - it does compile with g++ instead of gcc, but the executable produced isn't doing anything. Here's what i'm doing: //test.c Don't call it test. -- Matt
Re: XFree Specifications for Samsung SyncMaster 17GLsi Monitor?
The following should work; use it at your own risk, but rest assured it works for me: Section Monitor Identifier Primary VendorName Samsung ModelName SyncMaster17GLsi HorizSync 30-85 VertRefresh 50-120 # 640x400 @ 70 Hz, 31.5 kHz hsync Modeline 640x400 25.175 640 664 760 800 400 409 411 450 # 640x480 @ 60 Hz, 31.5 kHz hsync Modeline 640x480 25.175 640 664 760 800 480 491 493 525 # 800x600 @ 56 Hz, 35.15 kHz hsync ModeLine 800x600 36 800 824 896 1024 600 601 603 625 # 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync Modeline 1024x76844.9 1024 1048 1208 1264 768 776 784 817 Interlace # 640x480 @ 72 Hz, 36.5 kHz hsync Modeline 640x480 31.5 640 680 720 864 480 488 491 521 # 800x600 @ 60 Hz, 37.8 kHz hsync Modeline 800x600 40 800 840 968 1056 600 601 605 628 +hsync +vsync # 800x600 @ 72 Hz, 48.0 kHz hsync Modeline 800x600 50 800 856 976 1040 600 637 643 666 +hsync +vsync # 1024x768 @ 60 Hz, 48.4 kHz hsync Modeline 1024x768651024 1032 1176 1344 768 771 777 806 -hsync -vsync # 1024x768 @ 70 Hz, 56.5 kHz hsync Modeline 1024x768751024 1048 1184 1328 768 771 777 806 -hsync -vsync # 1280x1024 @ 87 Hz interlaced, 51 kHz hsync Modeline 1280x1024 801280 1296 1512 1568 1024 1025 1037 1165 Interlace # 1024x768 @ 76 Hz, 62.5 kHz hsync Modeline 1024x768851024 1032 1152 1360 768 784 787 823 # 1280x1024 @ 61 Hz, 64.2 kHz hsync Modeline 1280x1024 1101280 1328 1512 1712 1024 1025 1028 1054 # 1280x1024 @ 74 Hz, 78.85 kHz hsync Modeline 1280x1024 1351280 1312 1456 1712 1024 1027 1030 1064 # 1280x1024 @ 76 Hz, 81.13 kHz hsync Modeline 1280x1024 1351280 1312 1416 1664 1024 1027 1030 1064 EndSection
Re: what is frcode?
Sorry I asked! :-) -- Ken Gaugler N6OSK Santa Clara, California email: [EMAIL PROTECTED] URL: http://www.wco.com/~keng The life of a Repo Man is always INTENSE...
Only ping works with slip.
Hi, I have this C class network: The Network ~~~ gw-1 gw-2 + -- + + -- + | Serial |---| Serial | stress || || + -- + Internet| eth0 | | eth0 |-| eth0 | + -- + + -- + + -- + The problem ~~~ On gw-2 (Debian), everthing works fine (ping, ftp, lynx) for all hosts (e.g. sunsite.unc.edu, ftp.cs.helsinki.fi, linux.if.usp.br). On stress (Debian), only ping works for all that hosts. When I ftp some sites above (e.g., linux.if.usp.br), it halts at this point: [stress]:~$ ftp linux.if.usp.br Connected to fma4.if.usp.br. 220 fma4 FTP server (Version wu-2.4(12) Wed Oct 23 12:44:26 MET DST 1996 ready. Name (linux.if.usp.br:bacate): ftp 331 Guest login ok, send your complete e-mail address as password. Password: bacate@ 230- . . . Nothing happens. In some sites, ftp works. If I put a - before bacate@ (no welcome messages), I can log in to the system, but I think that a dir may [stress]:~% ftp linux.if.usp.br Connected to fma4.if.usp.br. 220 fma4 FTP server (Version wu-2.4(12) Wed Oct 23 12:44:26 MET DST 1996) ready. Name (linux.if.usp.br:bacate): ftp 331 Guest login ok, send your complete e-mail address as password. Password: -bacate@ 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp . . . On gw-2 all things above work. Please, someone help me! I'll send routes and name server configurations if necessary. Bacate..
IDE Zip drive
Thanks to the suggestions from this list I do indeed have the IDE Zip drive working. The command mount -t msdos /dev/hdb4 /mnt is successful. Apparently I didn't try all the possible combinations previously. The web pages at http://www.torque.net/zip.html are very helpful.
Re: Problems working with bash.
On Sat, 22 Mar 1997, Alexander Lazarevic wrote: - In a tcsh I can do $var:r, which gives me 'name' if $var contaned 'name.ext'. How can I do this with bash? This will strip the shortest suffix that matches .* ${var%.*} This will strip the longest suffix that matches .* ${var%.*} There are several other approaches. It's all documented in the bash man page. - In tcsh I can type anything on the command line and do a search on the history list matching this input by pressing ALT-P. How do I do that with bash? Ctrl-R -- Jean Pierre
Re: gcc - iostream.h
The normal debian installation automatically searches the correct directory so I'm not sure why you're having problems. To get around the problem, simply direct g++ to search in that directory: g++ -I /usr/include/g++ -- Jean Pierre On Fri, 21 Mar 1997, Jeff Shilt wrote: I recently installed the basic development files - gcc, cpp, binutils, libs, and libs-dev. When I tried to compile a program with just a cout line it says iostream.h: no such file... I remeber seeing a lot of this on the linux newsgroup, and there seemed to be as many theories as there were answers. In usr/lib there is a link to /usr/include/g++ which does have iostream.h in it. But how do I make gcc look there?
How to get dir colors to work?
What files does one have to edit to get ls to display colors? And as a total aside, how do you get xdm working? It says starting xdm at the end of my boot but all i get is a nice console prompt. johannes martinez
gcc stuff
How do I get a program to read data from a document not a function? [EMAIL PROTECTED] http://home.eznet.net/~seth Thanx and may God Bless you Seth R
Re: Only ping works with slip.
Only ping working is often a symptom of using slip when cslip is expected. Bob On Sat, 22 Mar 1997, Carlos Marcos Kakihara wrote: Hi, I have this C class network: The Network ~~~ gw-1 gw-2 + -- + + -- + | Serial |---| Serial | stress || || + -- + Internet| eth0 | | eth0 |-| eth0 | + -- + + -- + + -- + The problem ~~~ On gw-2 (Debian), everthing works fine (ping, ftp, lynx) for all hosts (e.g. sunsite.unc.edu, ftp.cs.helsinki.fi, linux.if.usp.br). On stress (Debian), only ping works for all that hosts. When I ftp some sites above (e.g., linux.if.usp.br), it halts at this point: [stress]:~$ ftp linux.if.usp.br Connected to fma4.if.usp.br. 220 fma4 FTP server (Version wu-2.4(12) Wed Oct 23 12:44:26 MET DST 1996 ready. Name (linux.if.usp.br:bacate): ftp 331 Guest login ok, send your complete e-mail address as password. Password: bacate@ 230- . . . Nothing happens. In some sites, ftp works. If I put a - before bacate@ (no welcome messages), I can log in to the system, but I think that a dir may [stress]:~% ftp linux.if.usp.br Connected to fma4.if.usp.br. 220 fma4 FTP server (Version wu-2.4(12) Wed Oct 23 12:44:26 MET DST 1996) ready. Name (linux.if.usp.br:bacate): ftp 331 Guest login ok, send your complete e-mail address as password. Password: -bacate@ 230 Guest login ok, access restrictions apply. Remote system type is UNIX. Using binary mode to transfer files. ftp . . . On gw-2 all things above work. Please, someone help me! I'll send routes and name server configurations if necessary. Bacate.. Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] AX.25:[EMAIL PROTECTED] http://www.primenet.com/~nielsen
Re: Upgrading from slackware to debian
On Wed, 19 Mar 1997, Paul Christenson [N3EOP] wrote: On Tue, 18 Mar 1997, Leandro Asnaghi-Nicastro wrote: What is the difference between Red-Hat, Debian and Slackware? Slackware: One of the oldest distributions, and is showing its age. Created as a bugfixed version of SLS (Softlanding Linux System). Maintained by one person (Patrick Volkerding); home site: Walnut Creek CD-ROM (www.cdrom.com). No package tool available. Very slow to get updated; no interim upgrades. Considered by many old-timers to have lost it with the latest version (3.1), as most of the new parts are added flash, with most known security problems left untouched. Red Hat: Available in two versions; shareware and commercial. Most of the software is the same; the commercial version used to have a commercial X server included. Maintained by several paid people; home site: Red Hat Software (www.redhat.com). Package tool available. Reasonably quick in bugfixes, sometimes slow in major updates (one of the last to have a version with a 2.x kernel). Versions available for DEC Alpha and SPARC. Rumored to be one of the easiest to set up (it and I simply don't get along). Was the base for the original Caldera Network Desktop (a commercial version of Linux, with many interesting additions). Debian: Maintained by over a hundred volunteers, each maintaining one (or several) package. Package tool available; able to use Red Hat packages. Hosted by CrossLink; home page (www.debian.org). Overall, one of the fastest with updates and bugfixes; in many cases, the program author is the package maintainer. Initial installation has had its share of gotchas, mainly dealing with dependencies. (Don't install everything at once; install the recommended packages on the initial installation, then install a few packages at a time afterward.) Hope this helps. I would like to add that the software it's self is Linux (whatever version) the different distributions are just different configurations of the same software, basically. There are some added scripts and special binaries that are package specific but there purpose is generally only to aid in the installation or configuration of the software. The different distributions may package different binaries of extra goodies as they see fit but it's purpose is to put it all together for the normal ppl. Anyone could D/L everything seperately and call it his own without being a particular distribution. It's like buying an office suite (package) of 3 or 4 programs at the store. You could get them seperately but they've been packaged. --Rick [EMAIL PROTECTED]
Re: gcc stuff
[how do I get a program to read data from a document] Try to glance over all of the manual pages in section 2 and 3. Do an ls of /usr/man/man2, and then use man to display the individual pages using a command like man 2 accept. Just a glance at each page will get you started, you'll know where to look when you need the functions. Section 2 is system calls, section 3 is other C library functions. There are a number of C newbie resources on the net, I don't know their names but do a web search and you'll find them. I'd also suggest you get some good books on C programming under Unix. Thanks Bruce
Re: lpr: connect: No such file or directory
On 18 Mar 1997, Gerd Bavendiek wrote: Hi, I just tried to install another network printer. After fiddling with /etc/printcap I got problems. To make a longer story short: I decided to dpkg -r lpr. This went fine. So I reinstalled lpr, using lpr_5.9-12.deb. After setting up rm and rp in /etc/printcap I tried lpr ... This is what I got (doing this as root): zaza:/mnt lpr /etc/passwd lpr: connect: No such file or directory jobs queued, but cannot start daemon. Someone any hints ? Gerd I've not experienced that one yet. Try dpkg --configure --pending It looks like lpr is there but not setup properly. If that doesn't work try using dselect to wipe out lpr (using _ underscore) then re-install it. It will set it up for you properly and tell you the dependencies etc... --Rick [EMAIL PROTECTED]
lsof problem
This is my problem: # lsof lsof: kernel symbol address mismatch: init_aout_binfmt get_kernel_syms() value is 0x3842d0c; /boot/System.map-2.0.27 value is 0x130580. There were 2 additional mismatches. /boot/System.map-2.0.27 and the booted kernel may not be a matched set. /boot/System.map-2.0.27 and the booted kernel are a matched set, they were both created by one invocation of make-kpkg. What went wrong? I have lsof 3.65-5 and kernel-package 3.19 installed, with dpkg-gencontrol patched as described by Manoj Srivastava in his message of 12 Feb 1997. -- Klaus Wacker [EMAIL PROTECTED] 51°29'9N 7°25'9E http://www.physik.uni-dortmund.de/~wacker
Re: A lot of errors while installing (dselecting) bo
On Tue, 18 Mar 1997, Andreas Tille wrote: Hi, I'm the one who frequently asks questions about installing :-(. I used the ftp-method. Is it right, if I selected [bo non-free distrib] or should I use stable (in front of this list) too? The files are dependant on order. To update properly you should put what are expected to be the most recent files at the end of the list. Otherwise you may not be shown newer files that exist in other tree's. [stable contrib non-free Debian1.2-updates unstable] When installing the selected files I got many error-messages. Some of them are: 2) The next stands as an example for an error, which occured at many packages: findutils_4.1-20.deb: unable to create `usr/bin/find': textfile busy Should have done a ps -aux to see if find was being used at the time. If not check for a lingering lock file. couldn't figure out type of at_3.0.deb Couldn't get info for: unstable/binary-i386/admin/at_3.0 Does anybody think that it is a problem of the unstable tree. But if this would be the case anybody would have reported such serious errors before. I have experienced similar errors when the package list has the wrong file name in it. Try D/Ling it yourself and using dpkg -i [file]. See if you get the same errors. If so I would think the info was corrupted. --Rick [EMAIL PROTECTED]
Re: Security Issue
On Tue, 18 Mar 1997, Matthew Tebbens wrote: I'm not sure if this is normal, but it seems that any file owned by someone else and in one of my directories can be deleted by me even if I don't have the proper permissions to do so. I also can rename the file, but I can't alter the file. This holds true even if the file is owned by root. Is this normal ? If this is true: -rw--- 1 root root 61 Mar 22 15:14 test.dat Then YES!!! a big problem. If so, what things can I do to someone elses file thats in one of my directories , just delete or rename the file ? If you own the directory. As root, what if I want to keep a file in someones directory without them deleteing it ? As I see it now, that can't be done ?!?!? It can be overridden by the dir owner from what I can see. There may be a way to prevent it though. I would think. --Rick [EMAIL PROTECTED]
cfdisk: Cannot seek on disk drive
Hi, I'm trying to install Debian Linux 1.2 and things were going well until I got to the 'partition hard drive' part. The _first_ time I picked this choice I editted my partition information to include a Linux and a Linux Swap partition. When I tried to save these changes, though, I got a message saying FATAL ERROR: Cannot seek on disk drive Every subsequent time I try to start cfdisk, I immediately get the same message about not being able to seek, so now I can't even see the partition information. I can run DOS fdisk and make changes to the partition information, and my pre-existing partitions (Win95 and WinNT) still function normally. I tried giving cfdisk the disk geometry information on the command-line, but it still gave me the error. I have only one physical drive, a 3.8 gig Quantum Fireball that Linux correctly detects. (At least I think it does; I can see its name go by in all the hardware information that Linux prints while starting.) If I switch to a different console, though, I can't see anything on the drive (there's nothing in the /target directory). It did read the partition information _once_ though, so I assume it can see the drive. What's going on here? Can anyone help me on this? Mike
Re: cfdisk: Cannot seek on disk drive
On Sat, 22 Mar 1997, Michael Iles wrote: Hi, I'm trying to install Debian Linux 1.2 and things were going well until I got to the 'partition hard drive' part. The _first_ time I picked this choice I editted my partition information to include a Linux and a Linux Swap partition. When I tried to save these changes, though, I got a message saying FATAL ERROR: Cannot seek on disk drive Every subsequent time I try to start cfdisk, I immediately get the same message about not being able to seek, so now I can't even see the partition information. I can run DOS fdisk and make changes to the partition information, and my pre-existing partitions (Win95 and WinNT) still function normally. I tried giving cfdisk the disk geometry information on the command-line, but it still gave me the error. I have only one physical drive, a 3.8 gig Quantum Fireball that Linux correctly detects. (At least I think it does; I can see its name go by in all the hardware information that Linux prints while starting.) If I switch to a different console, though, I can't see anything on the drive (there's nothing in the /target directory). It did read the partition information _once_ though, so I assume it can see the drive. Have you tried running Linux fdisk, rather than cfdisk? I had some problems with cfdisk, but fdisk worked flawlessly. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] AX.25:[EMAIL PROTECTED] http://www.primenet.com/~nielsen
Re: lpr: connect: No such file or directory
-- [ From: Lynn F Coker * EMC.Ver #3.2 ] -- Please delete me from your email distribution list. I am not the Lynn Coker who cares about stuff like this. Thanks. Lynn REPLY, Original message follows Date: Saturday, 22-Mar-97 02:10 PM From: Rick \ Internet:([EMAIL PROTECTED]) To: Gerd Bavendiek \ Internet:([EMAIL PROTECTED]) cc: debian user \ Internet:(debian-user@lists.debian.org) Attachment: mimemsg.doc Code: 18DKBK8 \ Created: Unknown [2 Kb] Subject: Re: lpr: connect: No such file or directory On 18 Mar 1997, Gerd Bavendiek wrote: Hi, I just tried to install another network printer. After fiddling with /etc/printcap I got problems. To make a longer story short: I decided to dpkg -r lpr. This went fine. So I reinstalled lpr, using lpr_5.9-12.deb. After setting up rm and rp in /etc/printcap I tried lpr ... This is what I got (doing this as root): zaza:/mnt lpr /etc/passwd lpr: connect: No such file or directory jobs queued, but cannot start daemon. Someone any hints ? Gerd I've not experienced that one yet. Try dpkg --configure --pending It looks like lpr is there but not setup properly. If that doesn't work try using dselect to wipe out lpr (using _ underscore) then re-install it. It will set it up for you properly and tell you the dependencies etc... --Rick [EMAIL PROTECTED] REPLY, End of original message
Problem with rebuilt kernel
Hi all. I've just recompiled my kernel by going through the make menuconfig make dep make clean make zlilo procedure, but the new kernel won't boot properly. It gets as far as: ... VFS: Mounted root (ext2 filesystem) readonly Unable to open an initial console This Unable to open an initial console error is driving me nutty. The computer just hangs at this point. The reason I'm able to send mail to you now is because I backed-up my old kernel. Some changes I made in the make menuconfig configuration were that I took out PCMCIA support (since I'm not on a laptop) and added triton chipset support. I also took out ISDN, ethernet, fddi, and token ring, since my machine is stand-alone. I must have made some other changes, though, to get this nasty error... Any info on this is greatly appreciated. Thanks :) -- Harmon
Re: Remove
On Fri, 21 Mar 1997, Engineering wrote: How do I remove myself from recieving mail from this list? Send an e-mail to: [EMAIL PROTECTED] with the message body (and subject line) containing only the word: unsubscribe Luck, Dwarf -- _-_-_-_-_-_- _-_-_-_-_-_-_- aka Dale Scheetz Phone: 1 (904) 656-9769 Flexible Software 11000 McCrackin Road e-mail: [EMAIL PROTECTED] Tallahassee, FL 32308 _-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-
Re: Problems working with bash.
Jean Pierre LeJacq [EMAIL PROTECTED] writes: This will strip the shortest suffix that matches .* ${var%.*} This will strip the longest suffix that matches .* ${var%.*} Oops. ${var%%.*} strips the longest. And using # instead of % will strip from the beginning. Guy