Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6925205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:45:35+00:00 2026-05-27T10:45:35+00:00

I was writing a simple console application in Objective C. I have tried system(clear)

  • 0

I was writing a simple console application in Objective C.

I have tried system(“clear”) but I am getting this message on console

“TERM environment variable not set.”

Can anyone explain me what this is all about ?

I am very new to both OSX and Objective C.
and I am sorry if this question is too dumb as I have not programmed much on *nix.
(I have been doing a lot of Java and PHP development in my college days).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:45:35+00:00Added an answer on May 27, 2026 at 10:45 am

    The TERM environment variable tells your program what type of terminal its running on. Each type of terminal displays data and responds to commands in its own way. For example, a VT100 terminal works quite differently from a IBM 3270 terminal.

    The error message you’re seeing says that the TERM environment variable isn’t set, probably because you’re trying to launch your program from within Xcode. You can add environment variables to be set in Xcode 4’s scheme settings. As rob mayoff points out below, though, Xcode’s console isn’t a proper terminal emulator, so trying to run your program within Xcode isn’t going to give you the results you’re looking for.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am writing a simple console application in Objective-C but I have heard that
I'm writing a musical transposition application (in simple VB Console) and I want the
I'm writing a simple console application (80x24) in Java. Is there a gotoxy(x,y) equivalent
I have a simple console application that runs calculations in several threads (10-20 of
I am writing a simple console application in LInux/C++ that accepts user input from
I am writing a .NET console application to upload files. However, I might have
Okay, simple situation: I'm writing a simple console application which connects to a SOAP
I'm writing a simple ObjC2.0/Cocoa application, and I'm getting a crash.. Not being familiar
I am writing a simple console application to read 3 words and keep them
I have just finished writing my c# console application, and I am contemplating embedding

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.