LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 09-29-2004, 05:52 AM   #1
dreamhunter
LQ Newbie
 
Registered: Sep 2004
Distribution: Debian GNU/Linux unstable
Posts: 7

Rep: Reputation: 0
gnome-terminal problem while trying to use ncurses library


Hi.

I am using Mandrake 10 community edition and KDE as the desktop. I installed the anjuta and
tried to use the ncurses library. I try initscr(), refresh() and getch() commands but when
the program executes it gave me errors. I think it is becuse of i tried to use it as a user.
Because when i tried the "gnome-terminal" command from the konsole it gave me error but when
i changed to su then it works. So how can i make anjuta run the gnome-terminal in the root
priviledges. I checked the command options and tried to add some comments to the "Terminal"
section like: su -c "its orginal thing written before" root but it didnt work.

I hope someone will help me.

With my best wishes.
 
Old 09-29-2004, 04:17 PM   #2
crabboy
Senior Member
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,823

Rep: Reputation: 120Reputation: 120
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php

Duplicate to:

http://www.linuxquestions.org/questi...hreadid=236565
 
Old 09-29-2004, 05:22 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
closed per the above
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use ncurses library skie_knite007 Programming 1 03-01-2005 11:51 AM
gnome-terminal problem while trying to use ncurses library dreamhunter Programming 0 09-29-2004 05:48 AM
Problem compiling programs using ncurses library (gcc 3.2.2 and RH9 default inst.) jclark7777 Linux - Newbie 1 07-20-2004 02:59 PM
can't find library - Termcap or Ncurses Mynar Linux - Newbie 2 03-04-2004 09:56 AM
Trailing whitespaces ( space char) and Ncurses terminal refreshes bretzeltux Programming 0 03-02-2004 03:47 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration