Page 1 of 1
How to input code when you see this...
Posted: Sat Jan 03, 2015 7:46 pm
by mancity
When you see code on I this site which has several lines and says "Code Select"...how do you use it in a Pi Terminal because it only lets you input a line at a time?
Re: How to input code when you see this...
Posted: Sat Jan 03, 2015 8:58 pm
by B.Goode
Use a file editor.
Re: How to input code when you see this...
Posted: Tue Jan 06, 2015 9:53 am
by mancity
Here's the example.
Im trying to get this kweb browser, but how do I put this into the terminal to download and install?
Hopefully somebody can help.
Re: How to input code when you see this...
Posted: Tue Jan 06, 2015 9:59 am
by ghans
You are expected
1) to either type off line for line , presssing enter after each
2) copy-paste line for line , pressing enter after each
ghans
Re: How to input code when you see this...
Posted: Tue Jan 06, 2015 10:00 am
by jamesh
If you are running the desktop, you should be able to simply cut and paste. Each line shoudl be inserted to the terminal in order.
If not, then just C&P each line at a time.
Re: How to input code when you see this...
Posted: Tue Jan 06, 2015 10:03 am
by mancity
Aaarrrhhh...
So its enter line 1, press enter, enter line 2, press enter etc?
Re: How to input code when you see this...
Posted: Tue Jan 06, 2015 10:03 am
by ghans
Yes.
ghans
Re: How to input code when you see this...
Posted: Tue Jan 06, 2015 10:04 am
by mancity
Thank you I will try tonight

.
Re: How to input code when you see this...
Posted: Tue Jan 06, 2015 10:47 am
by DougieLawson
mancity wrote:Aaarrrhhh...
So its enter line 1, press enter, enter line 2, press enter etc?
You could write the whole lot as a script file.
Code: Select all
#!/bin/bash
wget http://steinerdatenbank.de/software/kweb-1.6.2.tar.gz
tar -xzf kweb-1.6.2.tar.gz
cd kweb-1.6.2
./debinstall
save that as getkweb.sh
chmod 755 getkweb.sh
./getkweb.sh
Get a beer and celebrate a job well done.