Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

programming in PUTTY

Name: Anonymous 2011-02-15 17:41

i can get into putty, but i have no knowledge of the linux commands used to create a file

can someone please step by step how i would from the log in make a simple program and run it.

Name: Anonymous 2011-02-15 17:44

Read SICP

Name: Anonymous 2011-02-15 17:46

read what now?

Name: Anonymous 2011-02-15 17:46

Oy...

Name: Anonymous 2011-02-15 17:47

OP here, will ready SICP, ty.

Name: Anonymous 2011-02-15 17:49

Was not OP above, fucking trolls.
I'm looking at SICP now though and it doesn't say shit. Why can't /prog/ ever just give a straight answer?

Name: Anonymous 2011-02-15 17:50

OP here, nevermind, I figured it out. Self-sage.

Name: Anonymous 2011-02-15 17:51

idk where to start looking, there doesn't seem to be any mention of linux, unix, or C

Name: Anonymous 2011-02-15 17:51

>>8
Linux, Unix and C are deprecated, use a Lisp Machine instead.

Name: Anonymous 2011-02-15 17:52

Name: Anonymous 2011-02-15 17:53

>>9
extremely helpful ty.

so can anyone actually help me or just go LOLOL i troll u.

Name: Anonymous 2011-02-15 17:55

>>11
Fuck off, troll

Name: Anonymous 2011-02-15 17:55

>>11
It's our way to say LEARN BY YOURSELF LIKE NORMAL PEOPLE, YOU FUCKING FAGGOT, GET OUT OF MY /prog/.

Name: Anonymous 2011-02-15 17:57

>>13
i can understand that, but i've been looking all about and can't seem to find the answer, so i was kinda hoping for just a quick explanation. it would be very helpful, as i could do the rest from there.

Name: Anonymous 2011-02-15 18:03

>>14
Give up.

Name: Anonymous 2011-02-15 18:05

>>15
can't give up, NEVER GIVE UP

Name: Anonymous 2011-02-15 18:06

>>16
So you preemptively give up on giving up? Stop being a quitter and give up already.

Name: derp 2011-02-15 18:07

>>2
>>9
>>7
>>4
>>11
>>15
>>17
samefag

just give him the fucking answer

Name: Anonymous 2011-02-15 18:13

>>18
no, faggot

Name: Anonymous 2011-02-15 18:13

>>1
What the hell does putty have to do with anything?  Why don't you go ahead and tell us what brand of RAM sticks you're using, that will be at least as helpful.  Surely worthy of being in the thread title.

Name: Anonymous 2011-02-15 18:18

>>20
the program i use probably was slightly more relevant, but if you say so.

still waiting for help since i'm too stupid to figure it out.

Name: Anonymous 2011-02-15 18:19

>>18

Learn how to quote and go back to /g/.

Name: Anonymous 2011-02-15 18:20

>>22
ty for the feedback

Name: Anonymous 2011-02-15 18:21

Here's how you do it, OP:

1. log on to a server with putty
2. write your program
3. compile it
4. run it

Thank me later.

Name: Anonymous 2011-02-15 18:23

>>24
ty but was looking for a little more detail, specifically the commands, like ls or cd, i just don't know which ones to use when

Name: Anonymous 2011-02-15 18:28

>>1
You are allowed to post here only if you have already read SICP and achieved Satori. You don't even know the basics on how everything under your shiny windows work. Install a real OS, learn how the fuck it works and then come back.

Name: Anonymous 2011-02-15 18:28

>>25
Seriously, give up. Also, back to /g/, please.

Name: Anonymous 2011-02-15 18:30

>>27
not from /g/ but i would gladly go back there if they have the answer.

Name: Anonymous 2011-02-15 18:40

>>28
This place will be way more helpful to you than /prog/: https://7chan.org/halp/ . Just go forth to /halp/, please.

Name: Anonymous 2011-02-15 18:42

>>29
omfg what is this, a post that actually seems to be constructive.

Name: Anonymous 2011-02-15 18:43

>>29
DON'T HELP HIM!!

Name: Anonymous 2011-02-15 18:44

>>30
And I strongly suggest you take that constructive advice, because you probably won't get any more here.

Name: Anonymous 2011-02-15 18:56

>>25

Ok:

1. Go find a computer (if you are unfamiliar with what a computer is then go to the library and ask somebody)
2. Sit down on a chair, crate, or anything you can find and face the screen (the screen is the part where the pictures and words show up and it will probably be illuminated, if not, see step 3)
3. If the computer is off, turn it on by pressing the power button which looks like a semi-circle with a vertical line segment going from the middle and extending out of the top
4. Now, you may be prompted to log-in. If so, abandon all hope and go live in the mountains.
5. On the first screen there may be a picture of two computers with a lightning bolt between them and a caption that say 'PuTTY'.
6. Using a device known as a "mouse" (not the rodent kind) use the button on the top left to click twice on the icon. You can see where the mouse is clicking by looking for the little arrow on the screen. If the arrow is not on the putty picture then you will have to move the mouse around on the table or whatever flat surface you happen to be working on until the arrow is over the icon. The two clicks need to be in rapid succession or the putty program will not run. If you clicked too slow try clicking faster until something on your screen changes.
7. Now, using the techniques you learned in steps 1-6 follow the directions in >>24.

You may also be wondering what this device with all the letter and number buttons is. It will most likely be on the table in front of the computer screen. It is called a 'keyboard' (not the musical instrument) and can be used to tell the computer what you want to write in your program or what server you want to connect to. For instance, if you push down on the button marked with an 'A' an 'a' should appear if your cursor is in a text field or a text editor. A good rule of thumb to know whether or not you can input text into a certain spot is by looking for a little blinking bar (kinda looks like '|') which tells the user that it is waiting for letters and numbers (and symbols!) to be inputted.

For more information on the keyboard I suggest making another thread on this forum.

Name: Anonymous 2011-02-15 19:02

>>33
For more information on the keyboard I suggest making another thread on this forum.
Hmmm, I wonder what will happen next...

Name: Anonymous 2011-02-15 19:21


# install compiler/interpreter/libraries
$ sudo apt-get install haskell-platform

# create a source file
$ echo 'main = putStrLn "herpy derp"' > derp.hs

# run it
$ runhaskell derp.hs


now go read some documentation and write me a mmorpg

Name: Anonymous 2011-02-15 23:57

>>33
I enjoyed that immensely, would laugh again!!

Name: Anonymous 2011-02-16 0:00

>>35
I enjoyed that immensely, would apt-getpurge haskell-platform again!!

Name: Anonymous 2011-02-16 0:00

sudo apt-get install haskell-platform

aniihax0r is not in the sudoers file. This incident will be reported.

Name: Anonymous 2011-02-16 1:40

$ sudo apt-get install haskell-platform
$ sudo: This isn't Ubanto, faggot.

Name: Anonymous 2011-02-16 1:41

>>39
s/$ sudo:/sudo:/

Name: VIPPER 2011-02-16 3:46

Lol unix

Name: Anonymous 2011-02-16 5:28

Lol Plan9

Name: Anonymous 2011-02-16 6:10

Lol Win32

Name: Anonymous 2011-02-16 7:50

Lol 01010100010010010101010001010100010110010010000001000110010101010100001101001011

Name: Anonymous 2011-02-16 8:05

Lol hax my anus

Name: Anonymous 2011-02-16 16:57

1. log in to server
2. touch filename
3. pico filename
4. write some code
5. save some code
6. chmod +x filename (alternatively, on debian/ubuntu, sudo chmod +x filename)
7. ./filename

Name: Anonymous 2011-02-16 17:40

by occams razor, this is the correct answer:

1. close putty
2. open visual studio 2010
3. write code
4. compile

Name: Anonymous 2011-02-16 17:46

>>46
YOU HELPED HIM!

Name: Anonymous 2011-02-16 18:03

>>47
YOU HELPED HIM!

Name: Anonymous 2011-02-16 18:05

>>46,47
DON'T HELP HIM!!

Don't change these.
Name: Email:
Entire Thread Thread List