Re[2]: pasting text into bash without use of mouse
Hello csj, Wednesday, April 04, 2001, 6:47:53 PM, you wrote: c On Wednesday 04 April 2001 09:41, Karsten M. Self wrote: csj ([EMAIL PROTECTED]) wrote: Is there a way to copy or paste text into bash without the use of a mouse? I'm thinking of a text file file.txt which contains command sequences which I would like to touch up before running. I don't want to use an editor for this. Just the line editing functions of bash. Offhand the only (untested) solution I can think of is something like cat file.txt .bash_history, subsequently invoking another bash session. Is this stupid (dangerous)? Does someone have a better solution? Just posted here this week. If you have wmaker installed, wxpaste and wxcopy do what you'd expect them to. c It looks interesting. But I forgot to add: --without-X. For those c dire moments when X crashes. c On Wednesday 04 April 2001 09:49, Karsten M. Self wrote: ...another option. If you're just trying to execute a set of commands through bash: $ . file# source commands in file, current shell $ bash -f file # run commands in file (subshell) $ bash file # run commands in file (subshell) c My version is something like cat file.txt | bash. Is this a bad c idea. If you want to compose multi-line commands to run in bash without creating an explicit file: $ set -o vi # set 'vi' mode $ esc-v # invoke 'vi' editor # edit file, 'ZZ' or ':wq' when done. Commands execute. c Hmm, does this really mean I have to really vi? Actually I was c thinking of something like cat file.txt /dev/ttyX which however c pastes the thing not just on the screen but on the command line c itself. Is there such a linuxian function? you can use shift+insert to paste into bash -- Best regards, Chrismailto:[EMAIL PROTECTED]
Re: Network problem
This seems to be an issue with ifconfig in the latest nettools package of Sid(unstable), this can be fixed if you have a debian cd, like potato, i had this happen today, and just untared the base package into my tmp dir, and replaced the ifconfig binary. This should be fixed eventually. -c - Original Message - From: Jason Davies [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Monday, February 12, 2001 1:08 PM Subject: Network problem Hi, Has anyone seen this problem before? When I try and enable the network (on bootup) I get error messages. Here is what I get when typing these commands: ifconfig lo 127.0.0.1 SIOCSIFADDR: Bad file descriptor lo: unknown interface: Bad file descriptor ifconfig eth0 up eth0: unknown interface: Bad file descriptor This is really annoying because the local loopback doesn't work, and obviously I can't get onto the network. Pinging anything (including 127.0.0.1) simply says the network is unreachable. The modules for the network card seem to load fine. The problem must have stemmed from upgrading some packages to the latest versions (in the unstable distribution) because everything was working fine until I rebooted. I am using kernel 2.4.1 and I've tried using an older kernel but the same things happen, so any suggestions on how to fix this or where to look for problems? I would be very grateful for any help you could provide, Jason Davies. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: console-data or debconf bug?
This is a perl package issue, you can clear it up by hand installing perl5.6 and perl-5.6-base. -c - Original Message - From: Francois Gouget [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Saturday, February 10, 2001 2:57 PM Subject: Re: console-data or debconf bug? On Sat, 10 Feb 2001, Francois Gouget wrote: I got the following message when upgrading to today's testing: Setting up console-data (1999.08.29-14) ... Can't locate Debconf/Client/ConfModule.pm in @INC (@INC contains: /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5 .) at /usr/share/console/getkmapchoice.pl line 3. BEGIN failed--compilation aborted at /usr/share/console/getkmapchoice.pl line 3. Is this a bug in console-data or debconf or neither? console-data: 1999.08.29-14 debconf: 0.2.80.17 Hmm, just noticed, add console-tools to the list: Setting up console-tools (0.2.3-16) ... Can't locate Debconf/Client/ConfModule.pm in @INC (@INC contains: /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5 .) at /usr/share/console/getkmapchoice.pl line 3. BEGIN failed--compilation aborted at /usr/share/console/getkmapchoice.pl line 3. -- Francois Gouget [EMAIL PROTECTED]http://fgouget.free.fr/ Any sufficiently advanced bug is indistinguishable from a feature. -- from some indian guy -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Serial Port, photo PC, and 2.2r1
Make sure you have permissions to that device, Debian sets the group ownership of those devices such that you can adduser loginname goupname for yourself without having to change the actuall permissions, this will take effect after you next log in. -c - Original Message - From: Jason Majors [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Friday, February 09, 2001 1:01 AM Subject: Serial Port, photo PC, and 2.2r1 I just put Debian 2.2r1 on my fiddlin' box and cannot get photopc to work with it. I get EIO errors with any application that tries to read or write to /dev/ttyS? as any user. The serial ports were accessible under the RedHat install I replaced with this one, so I know it's not a problem with the BIOS or hardware. I did an lsmod and have the serial module running. Any ideas? Thanks, Jason Majors -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cat-ting binary files to the console
And by invoking it, he therefore proved the last part about being unsuccessful ;) -c - Original Message - From: John Galt [EMAIL PROTECTED] To: Frederik Vanrenterghem [EMAIL PROTECTED] Cc: debian-user@lists.debian.org Sent: Friday, February 09, 2001 2:43 AM Subject: Re: Cat-ting binary files to the console On Fri, 9 Feb 2001, Frederik Vanrenterghem wrote: On Thu, 8 Feb 2001, Brian Frederick Kimball wrote: Grrr. 6 people replying with the same answers is 5 people too many. Hitler! Hitler! Hitler! I have to agree. At the time I wrote my answer, I did not see any other answers yet, but of course they could have been delayed or something. I don't see what Hitler has to do with it however. Somehow I have a feeling the answer is: nothing! He was trying to invoke Godwin's law -- There is no problem so great that it cannot be solved with suitable application of High Explosives. Who is John Galt? [EMAIL PROTECTED], that's who! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Allowing cgi in user's home directories w/ apache
(This is on Sid BTW) I want to allow users to be able to execute cgi scripts from thier cgi-bin dir inside the public_html dir in thier $HOME i added this to access.conf: Directory /home/*/public_html/cgi-bin AllowOverride all Options ExecCGI Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all /Directory which hasn't worked, i just get the following error in the log: [error] [client 10.0.0.4] Options ExecCGI is off in this directory: I tried it another way, checked the permissions on the scripts, and yes im restarting the webserver after every change. I know that apache is phasing out the srm.conf and access.conf in favor of just the httpd.conf, but i havent seen it in sid, it like that in woody tho... anyway, does anyone have any tips? -c
Re: Apache Virtual Host
make sure you have this in httpd.conf: NameVirtualHost 0.0.0.0 (make sure you have your ip in here!!) VirtualHost 0.0.0.0 (same here!) ServerAdmin [EMAIL PROTECTED] DocumentRoot /var/www/yourdomain.com ServerName www.yourdomain.com ServerAlias yourdomain.com ErrorLog /var/log/apache/yourdomain.com-error.log TransferLog /var/log/apache/yourdomain.log /VirtualHost -c - Original Message - From: Leonard Leblanc [EMAIL PROTECTED] To: Debian User Request Mailing LIst debian-user@lists.debian.org Sent: Thursday, February 08, 2001 9:57 PM Subject: Apache Virtual Host Hey all, I've been working on this for a couple of days and can't figure out why it's giving me sooo much trouble, but I just can't seem to get a virtual host working with apache. I would like to have a development site of 'test.domain.com' and just can't seem to figure it out. It's the same computer so I believe (if I got anything out of the many many docs i've read) it's called 'named-virtual hosting'. I am using Apache 1.3.9 with Debian 2.2.16. Any thoughts, sample configs (httpd.conf, etc.) or anything else would be helpful Thanks Leonard Leblanc -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Allowing cgi in user's home directories w/ apache
I would, but I would rather do it within Apache, i've done this before many times, this is just weird thats its not working, its probably something I'm doing... -c - Original Message - From: [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, February 08, 2001 10:48 PM Subject: Re: Allowing cgi in user's home directories w/ apache I use cgi-wrap which seems much easier to implement. apt-get install cgiwrap Then look at http://cgiwrap.unixtools.org/ to set it up. It took me all of 20 minutes once I read the documentation. Good luck At 10:07 PM 2/8/2001 -0500, you wrote: (This is on Sid BTW) I want to allow users to be able to execute cgi scripts from thier cgi-bin dir inside the public_html dir in thier $HOME i added this to access.conf: Directory /home/*/public_html/cgi-bin AllowOverride all Options ExecCGI Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all /Directory which hasn't worked, i just get the following error in the log: [error] [client 10.0.0.4] Options ExecCGI is off in this directory: I tried it another way, checked the permissions on the scripts, and yes im restarting the webserver after every change. I know that apache is phasing out the srm.conf and access.conf in favor of just the httpd.conf, but i havent seen it in sid, it like that in woody tho... anyway, does anyone have any tips? -c Eileen Orbell Software Internet Applications Capitol College mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] This is Linux Country. On a quiet night you can hear Windows 98 reboot! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: linuxconf/changing IP setup ...
Edit /etc/network/interfaces it should have all the old info, just replace it with the new stuff! -c - Original Message - From: Glenn Becker [EMAIL PROTECTED] To: Debian Users List debian-user@lists.debian.org Sent: Thursday, February 08, 2001 10:39 PM Subject: linuxconf/changing IP setup ... All, OK, I feel very silly. I believe there was a post to the list on the subject of changing one's IP post-installation, but I didn't think I'd need it, so I deleted it. Anyhoo, we wound up having to change DSL providers, so I got a brand new IP, subnet mask, default gateway and DNS #s tonight. Unf. I could find files (/etc/hosts) that cited the IP#, but nothing that referenced the others. Someone in the #Debian channel on openprojects.net mentioned the linuxconf package, which I unf did not have installed. I finally got it installed (from CD) but it so far has not allowed me to connect out (I'm on the wife's Mac typing this, how embarassing ...heh). linuxconf keeps reporting errors after I commit to the changes I make. I noticed that even after I'd *made* these changes, the IP # in /etc/hosts was still the *old* one, so something appears not to be happening. Has anyone else had trouble with this program? Is there an easier way to re-work my networking setup? Are there a limited # of files I have to edit and if so, what are they? I'll edit by hand and dump linuxconf. Please some one send me a copy of that recent post on this subject (I looked but can't find it in the archives) if it/its followups answer this question. I DON'T WANT TO REINSTALL my system if I don't have to! Thanks, apologies for the stressed tone. Glenn _ | // G l e n n B e c k e r| | // I don't wanna kill my china pig. | // -- Captain Beefheart | | // [EMAIL PROTECTED] | _| -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: linuxconf/changing IP setup ...
[greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL PROTECTED]@@@.net -- I gotta say, thats one of the most creative anti-spam email manglings -c - Original Message - From: MaD dUCK [EMAIL PROTECTED] To: Glenn Becker [EMAIL PROTECTED] Cc: Debian Users List debian-user@lists.debian.org Sent: Thursday, February 08, 2001 10:46 PM Subject: Re: linuxconf/changing IP setup ... also sprach Glenn Becker (on Thu, 08 Feb 2001 10:39:10PM -0500): Someone in the #Debian channel on openprojects.net mentioned the linuxconf package, which I unf did not have installed. I finally got it installed (from CD) but it so far has not allowed me to connect out (I'm on the wife's Mac typing this, how embarassing ...heh). don't use linuxconf, it's among the worst things ever produced for linux. instead, do a man interfaces and configure /etc/network/interfaces accordingly... martin [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL PROTECTED]@@@.net -- it's not easy, being green. -- kermit the frog -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: linuxconf/changing IP setup ...
any clues from your part? $ perl -e 'print [EMAIL PROTECTED];' madduck of course you need to have perl installed for that ;) -c - Original Message - From: MaD dUCK [EMAIL PROTECTED] To: Chris Matta [EMAIL PROTECTED] Cc: Debian Users List debian-user@lists.debian.org Sent: Thursday, February 08, 2001 10:55 PM Subject: Re: linuxconf/changing IP setup ... also sprach Chris Matta (on Thu, 08 Feb 2001 10:52:24PM -0500): [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL PROTECTED]@@@.net I gotta say, thats one of the most creative anti-spam email manglings well, blush thank you unblush. however, it only works in bash unfortunately. and i myself am now an enthusiastic zsh person and haven't really found a nice way to make it compatible. ideally i would want to encompass csh/ksh/bash/zsh all in one, but i can't think of anything. any clues from your part? martin (200% geek) [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL PROTECTED]@@@.net -- no, 'eureka' is greek for 'this bath is too hot.' -- dr. who -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: linuxconf/changing IP setup ...
You'll forgive me if i forgot the first $ on the first $ARGV[0] - Original Message - From: Chris Matta [EMAIL PROTECTED] To: MaD dUCK [EMAIL PROTECTED] Cc: Debian Users List debian-user@lists.debian.org Sent: Thursday, February 08, 2001 11:10 PM Subject: Re: linuxconf/changing IP setup ... any clues from your part? $ perl -e 'print [EMAIL PROTECTED];' madduck of course you need to have perl installed for that ;) -c - Original Message - From: MaD dUCK [EMAIL PROTECTED] To: Chris Matta [EMAIL PROTECTED] Cc: Debian Users List debian-user@lists.debian.org Sent: Thursday, February 08, 2001 10:55 PM Subject: Re: linuxconf/changing IP setup ... also sprach Chris Matta (on Thu, 08 Feb 2001 10:52:24PM -0500): [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL PROTECTED]@@@.net I gotta say, thats one of the most creative anti-spam email manglings well, blush thank you unblush. however, it only works in bash unfortunately. and i myself am now an enthusiastic zsh person and haven't really found a nice way to make it compatible. ideally i would want to encompass csh/ksh/bash/zsh all in one, but i can't think of anything. any clues from your part? martin (200% geek) [greetings from the heart of the sun]# echo [EMAIL PROTECTED]:1:[EMAIL PROTECTED]@@@.net -- no, 'eureka' is greek for 'this bath is too hot.' -- dr. who -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to keep apt from updatine the kernel
are you sure? i've never seen apt do this, besides, running a pre-compiled kernel could be quite the security hole. -c - Original Message - From: ray p [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Thursday, February 08, 2001 11:41 PM Subject: How to keep apt from updatine the kernel I just installed the international patches and installed my kernel. It all went well except now apt wants to reinstall the stock kernel. How do I keep it from doing this? Thanks very much. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to keep apt from updatine the kernel
Now that's a weird statement. Why would recompiling your own kernel be any less of a security risk than running precompiled kernel? Do you read every line in the every new kernel before compiling? I was merely saying that I know what my kernel has in it and what it doesnt, i certainly dont trust a precompiled kernel, even if it is from debian. Im aware that the source may be compromised, but thats what a signed kernel source is for. -c - Original Message - From: John L . Fjellstad [EMAIL PROTECTED] To: debian-user@lists.debian.org Cc: ray p [EMAIL PROTECTED]; debian-user@lists.debian.org Sent: Friday, February 09, 2001 12:10 AM Subject: Re: How to keep apt from updatine the kernel
lilo problems
I upgraded to sid a month or so ago, and i remember it asked me something about lilo, and replacing it with the debian boot loader, i said yes, but now after i compiled a new kernel, and ran lilo i get : LI i know that means a geometry missmatch etc... but what i wanna know is which program overwrote my mbr, and can i remove it and go back to using lilo? thanks, -c
Re: perl:warning: on apt-get dist-upgrade
Im having the same issues, and i have perl-5.6 and perl-5.6-base installed, any other ideas? -c - Original Message - From: Charlie Yao [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Sunday, February 04, 2001 11:35 PM Subject: Re: perl:warning: on apt-get dist-upgrade I got this same problem a while back. After forcing an install of perl-5.6 everything worked fine. Might want to try that out ;) * Glen Snyder ([EMAIL PROTECTED]) wrote: Hi. A couple of days ago I ran an apt-get dist-upgrade on woody (testing) and got the following message. It repeats now, whenever I do an apt-get dist-upgrade. Any hints on how to take care of this (is it just me, or should I file a bug report?)? Should I reinstall perl5? Thank you in advance, Glen Snyder Can't locate Debconf/Client/ConfModule.pm in @INC (@INC contains: /usr/lib/perl5 /5.005/i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/ local/lib/site_perl /usr/lib/perl5 .) at /usr/share/console/getkmapchoice.pl lin e 3. BEGIN failed--compilation aborted at /usr/share/console/getkmapchoice.pl line 3. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = c are supported and installed on your system. perl: warning: Falling back to the standard locale (C). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = c are supported and installed on your system. perl: warning: Falling back to the standard locale (C). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Charlie Yao [EMAIL PROTECTED] The greener grass on the other side is probably artificial turf. - Unknown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: perl:warning: on apt-get dist-upgrade
Nevermind, i just made sure i didnt have any perl installed and then forced the install of perl-5.6-base, and perl-5.6 thanks! -c - Original Message - From: Chris Matta [EMAIL PROTECTED] To: Charlie Yao [EMAIL PROTECTED]; debian-user@lists.debian.org Sent: Monday, February 05, 2001 12:03 AM Subject: Re: perl:warning: on apt-get dist-upgrade Im having the same issues, and i have perl-5.6 and perl-5.6-base installed, any other ideas? -c - Original Message - From: Charlie Yao [EMAIL PROTECTED] To: debian-user@lists.debian.org Sent: Sunday, February 04, 2001 11:35 PM Subject: Re: perl:warning: on apt-get dist-upgrade I got this same problem a while back. After forcing an install of perl-5.6 everything worked fine. Might want to try that out ;) * Glen Snyder ([EMAIL PROTECTED]) wrote: Hi. A couple of days ago I ran an apt-get dist-upgrade on woody (testing) and got the following message. It repeats now, whenever I do an apt-get dist-upgrade. Any hints on how to take care of this (is it just me, or should I file a bug report?)? Should I reinstall perl5? Thank you in advance, Glen Snyder Can't locate Debconf/Client/ConfModule.pm in @INC (@INC contains: /usr/lib/perl5 /5.005/i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/ local/lib/site_perl /usr/lib/perl5 .) at /usr/share/console/getkmapchoice.pl lin e 3. BEGIN failed--compilation aborted at /usr/share/console/getkmapchoice.pl line 3. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = c are supported and installed on your system. perl: warning: Falling back to the standard locale (C). perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = c are supported and installed on your system. perl: warning: Falling back to the standard locale (C). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Charlie Yao [EMAIL PROTECTED] The greener grass on the other side is probably artificial turf. - Unknown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]