Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 31, 2013, 09:59 PM   #1
smokeybear
macrumors newbie
 
Join Date: Jan 2013
Using Terminal to write programs, not allowing me to access the university's servers?

Hey guys I have a couple questions. I took my first lab for my Computer Science class. We're getting into writing code and getting used to a Unix system.

Their computers are Windows 7 OS based: So we used the programs PuTTy, which the TA let us know that the equivalent would be Terminal in Mac.
Using PuTTy we accessed the university servers, and it prompted us to write in the server we're going to use (cse01.cse.unt.edu). PuTTy then brought up the command line, further prompted me to type in my login, followed by password.

In Terminal, I ran into a speed bump. The TA informed us on Mac, Terminal is PuTTy's equivalent. At this point, I'm unsure as to how I provide my login name to the university servers ... the screenshot should provide a better visual example.

Any ideas?

(Also an additional, slightly less complicated, question, I like to change my preferences to the Homebrew theme, but it doesn't seem to want to save my preferences and reverts back to basic black and white, default theme. Anyone know how to save my preferences in Terminal?)
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2013-01-31 at 9.46.28 PM.png
Views:	52
Size:	109.0 KB
ID:	393869  
smokeybear is offline   0 Reply With Quote
Old Jan 31, 2013, 11:22 PM   #2
lee1210
macrumors 68040
 
lee1210's Avatar
 
Join Date: Jan 2005
Location: Dallas, TX
ssh yourusername@cse01.cse.unt.edu

Unless your OS X username was the same as the username provided for use on the university's systems, you can't SSH without providing the username.

Then you'll be prompted to enter your password.

I'd look into setting up a shared key so you have less to type, but don't worry about that for now.

If you choose vi(m) for an editor, print something like this:
http://www.tuxfiles.org/linuxhelp/vimcheat.html

Good luck.

-Lee
lee1210 is offline   0 Reply With Quote
Old Feb 1, 2013, 02:18 AM   #3
ghellquist
macrumors regular
 
Join Date: Aug 2011
Location: Stockholm Sweden
ssh, not terminal

Perhaps a bit nit-picking, but some of find this to be an important difference.

The program you use to acces the university servers is ssh.
You start the program on OSX from terminal (which happens to be another program).

In windows, the ssh function is not builtin so you need to add some program.

On OSX it is not needed, but if you whish to you can get the program JellyFiSSH instead of using ssh directly.

// Gunnar
ghellquist is offline   0 Reply With Quote
Old Feb 1, 2013, 03:35 AM   #4
LPZ
macrumors 65816
 
Join Date: Jul 2006
Quote:
Originally Posted by smokeybear View Post
(Also an additional, slightly less complicated, question, I like to change my preferences to the Homebrew theme, but it doesn't seem to want to save my preferences and reverts back to basic black and white, default theme. Anyone know how to save my preferences in Terminal?)
Go to Terminal-->Preferences and click on Startup. Click on the button for "New window with settings:" and select Homebrew from the menu. Then quit Terminal and reopen it.

If that doesn't work, I'd probably delete the Terminal .plist file.
LPZ is offline   0 Reply With Quote
Old Feb 2, 2013, 12:32 AM   #5
ArtOfWarfare
macrumors 601
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by smokeybear View Post
(Also an additional, slightly less complicated, question, I like to change my preferences to the Homebrew theme, but it doesn't seem to want to save my preferences and reverts back to basic black and white, default theme. Anyone know how to save my preferences in Terminal?)
Click on Terminal -> Preferences. Choose the Settings tab, then highlight the theme you want and click the "Default" button beneath the list. If there's anything you dislike about the theme, there's plenty of things you can change to the right of it. Personally, I like "Pro"... good contrast and less... eye-burning when you're working in a dark room / bus / plane...
__________________
Battery Status - On the Mac App Store
The only app that'll estimate when your wireless devices will need their batteries changed.
Including the ones paired with other Macs on your network.
ArtOfWarfare is online now   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:22 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC