LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-29-2004, 04:48 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.
 
  


Reply


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 10:51 AM
gnome-terminal problem while trying to use ncurses library dreamhunter Linux - Newbie 2 09-29-2004 04:22 PM
Problem compiling programs using ncurses library (gcc 3.2.2 and RH9 default inst.) jclark7777 Linux - Newbie 1 07-20-2004 01:59 PM
can't find library - Termcap or Ncurses Mynar Linux - Newbie 2 03-04-2004 08:56 AM
Trailing whitespaces ( space char) and Ncurses terminal refreshes bretzeltux Programming 0 03-02-2004 02:47 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:47 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
Open Source Consulting | Domain Registration