[Scottish] ftape
I cannot seem to compile ftape the readout is as follows : [EMAIL PROTECTED]:~/ftape-4.04 make for i in ftape ; do make -C $i all ; done make[1]: Entering directory `/home/bob/ftape-4.04/ftape' ../include/linux/modftversions.h for i in lowlevel internal parport zftape compressor; \ do \ make -C $i NODEP=true versions; \ done make[2]: Entering directory `/home/bob/ftape-4.04/ftape/lowlevel' make[2]: Nothing to be done for `versions'. make[2]: Leaving directory `/home/bob/ftape-4.04/ftape/lowlevel' make[2]: Entering directory `/home/bob/ftape-4.04/ftape/internal' make[2]: Nothing to be done for `versions'. make[2]: Leaving directory `/home/bob/ftape-4.04/ftape/internal' make[2]: Entering directory `/home/bob/ftape-4.04/ftape/parport' make[2]: Nothing to be done for `versions'. make[2]: Leaving directory `/home/bob/ftape-4.04/ftape/parport' make[2]: Entering directory `/home/bob/ftape-4.04/ftape/zftape' make[2]: Nothing to be done for `versions'. make[2]: Leaving directory `/home/bob/ftape-4.04/ftape/zftape' make[2]: Entering directory `/home/bob/ftape-4.04/ftape/compressor' make[2]: Nothing to be done for `versions'. make[2]: Leaving directory `/home/bob/ftape-4.04/ftape/compressor' set -e; for i in lowlevel internal parport zftape compressor; do make -C $i modules; done make[2]: Entering directory `/home/bob/ftape-4.04/ftape/lowlevel' make[2]: Leaving directory `/home/bob/ftape-4.04/ftape/lowlevel' make[2]: Entering directory `/home/bob/ftape-4.04/ftape/lowlevel' gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strength-reduce -D__KERNEL__ -I. -I../../include -I/usr/src/linux/include -DMODULE -DEXPORT_SYMTAB -c ftape_syms.c In file included from /usr/src/linux/include/linux/fs.h:12, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from ../../include/linux/ftape.h:35, from ftape_syms.c:32: /usr/src/linux/include/linux/wait.h: In function ` __add_wait_queue_tail': /usr/src/linux/include/linux/wait.h:220: warning: implicit declaration of function `list_add_tail' In file included from ftape-tracing.h:35, from ftape_syms.c:33: ../lowlevel/ftape-init.h: In function `ft_sigtest': ../lowlevel/ftape-init.h:70: structure has no member named `signal' ../lowlevel/ftape-init.h:71: warning: control reaches end of non-void function make[2]: *** [ftape_syms.o] Error 1 make[2]: Leaving directory `/home/bob/ftape-4.04/ftape/lowlevel' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/bob/ftape-4.04/ftape' make: *** [all] Error 2 [EMAIL PROTECTED]:~/ftape-4.04 Can anyone help my tape machine is a ditto max pro and the operating system suse 7.3 kernel 2-4-10 bob ___ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish
[Scottish] editors
I have to alter the php.ini file sitting on a server, the problem is that there doesnt seem to be any editors installed, and I dont have the option of installing one. I think I am pretty much knackered but I am open to suggestions George ___ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish
Re: [Scottish] editors
I have to alter the php.ini file sitting on a server, the problem is that there doesnt seem to be any editors installed, and I dont have the option of installing one. I think I am pretty much knackered but I am open to suggestions Crikey - none at all? Not even ed or ex? If you've got sed or awk or perl you can do your edits...what is it you need to change? Or (assuming you can log on to the server through an xterm or somesuch) create the php.ini you want in a different xterm on another machine then, in your server term do: $ cat newphp.ini [*paste the new php.ini to the xterm here*] ^D then check that newphp.ini is right and just $ mv php.ini php.ini-original $ mv newphp.ini php.ini There are always options! M -- Martin McCarthy // http://www.non-prophet.org [EMAIL PROTECTED]\\ http://www.ancient-scotland.co.uk //http://www.ehabitat.demon.co.uk ___ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish
Re: [Scottish] editors
Assuming your a glutten for punishment :) cat - newfile will allow you to create files, ctrl-z when your done now you can create files and assuming you have perl. you can now paste into your terminal the following: #!/usr/bin/perl # my @lines; my $line=0; while (my $oldfile=STDIN){ @lines[$line++]=$oldfile; } my @newfile; foreach $line(@lines){ print $line; my $newline=STDIN; if ($newline=~m/^\n/){ push @newfile,$line; }else{ push @newfile,$newline; } } foreach $line(@newfile){ print $line; } which will give you a very crude text editor in perl so $ perl foo.pl oldfile it goes through each line and asks for the replacement line (I todl you it was crude) press enter if its correct, amend it if its not and when it gets through each line it spits it all out. Of course you could add file handlers to save the file to a new name, but that was just to illustrate the point. You could also use awk or sed to amend the file. Remember when using sed/awk not to redirect to the input file, since that has a tendancy to hose it compeltely. HTH David On Sat, 2003-03-08 at 22:06, Allan Bruce wrote: Why dont you ftp the file to another machine and edit it there? Allan - Original Message - From: george [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, March 08, 2003 9:19 PM Subject: [Scottish] editors I have to alter the php.ini file sitting on a server, the problem is that there doesnt seem to be any editors installed, and I dont have the option of installing one. I think I am pretty much knackered but I am open to suggestions George ___ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish ___ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish ___ Scottish mailing list [EMAIL PROTECTED] http://mailman.lug.org.uk/mailman/listinfo/scottish