What is the difference between console-based and xwindow-based application?


 
Thread Tools Search this Thread
Top Forums Programming What is the difference between console-based and xwindow-based application?
# 1  
Old 04-28-2009
What is the difference between console-based and xwindow-based application?

Hi everyone,

What is the difference between console-based and Xwindow-based application?

Can I say the application working well in Xwindows can work in console?
Can I say the application working well in console cann't work in Xwindow perhaps.
Eg, ncurses is console-based and Imlib2 is Xwindow-based.

Is my understanding above correct or not?

Thank you in advance!
# 2  
Old 04-29-2009
What's the difference between a book and a graphic novel?

Console applications don't have any fancy stuff and are (for the most part) completely keyboard-driven.
X11 applications need an X server and additional libraries, and can/should be able to handle both keyboard and pointer (mouse/tablet/...) events.
A console application can run in X11 though a "terminal emulation" (xterm/konsole/gnome-terminal/...) that will translate ASCII characters to images. An X11 application won't run without an X11 server.
# 3  
Old 04-29-2009
Hi pludi,

Thank you very much for your kind explanation!
# 4  
Old 04-29-2009
Fundamentally there's no difference between X11 applications and console applications. They're both just processes. The X11 application uses a library that opens an extra socket, then talks to it in a very particular way.
# 5  
Old 04-30-2009
Dear Corona688,

Thank you for your kind explanation!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Find time difference based on logfile

Hi All, Firstly thank you for the forum members I need to find time difference b'w two rows of timestamp using awk/shell. Here is the logfile: cat business_file start:skdjh:22:06:2010:10:30:22 sdfnskjoeirg wregn'wergnoeirnfqoeitgherg end:siifneworigo:22:06:2010:10:45:34... (3 Replies)
Discussion started by: Srinivas Gadi
3 Replies

2. UNIX for Dummies Questions & Answers

Condition based on Timestamp (Date/Time based) from logfile (Epoch seconds)

Below is the sample logfile: Userids Date Time acb Checkout time: 2013-11-20 17:00 axy Checkout time: 2013-11-22 12:00 der Checkout time: 2013-11-17 17:00 xyz Checkout time: 2013-11-19 16:00 ddd Checkout time: 2013-11-21 16:00 aaa Checkout... (9 Replies)
Discussion started by: asjaiswal
9 Replies

3. Shell Programming and Scripting

Computing difference based on line contents

I have the following awk script set up to copy the contents of a line that contains 0008 in each line that contains values of 1895 through 2012. awk -v OFS=" " '{val=0+substr($1,length($1)-3,4);if(val==0008){print;$1=x;y=$0}else{if(val>=1895&&val<=2012){print $1 y}else{print}}}' Output... (7 Replies)
Discussion started by: ncwxpanther
7 Replies

4. Shell Programming and Scripting

Calculate difference in timestamps based on unique column value

Hi Friends, Require a quick help to write the difference between 2 timestamps based on a unique column value: Input file: 08/23/2012 12:36:09,JOB_5340,08/23/2012 12:36:14,JOB_5340 08/23/2012 12:36:22,JOB_5350,08/23/2012 12:36:26,JOB_5350 08/23/2012 13:08:51,JOB_5360,08/23/2012... (4 Replies)
Discussion started by: asnandhakumar
4 Replies

5. Shell Programming and Scripting

Transpose timestamp based on column values and calculate time difference

Hello Expert, I need to transpose Date-Timestamp based on same column values and calculate time difference. The input file would be as below and required output is mentioned in the bottom INPUT File ======== 08/23/2012 12:36:09 JOB_5340 08/23/2012 12:36:14 JOB_5340 08/23/2012... (2 Replies)
Discussion started by: asnandhakumar
2 Replies

6. UNIX for Advanced & Expert Users

Transition from Windows-based network to Linux-based

I am looking to make the switch from a Windows based network to a Linux (preferably Ubuntu, because I used it the most) based one. Currently the network includes a Windows 2003 server which acts as a domain controller and file server, a network shared printer (Canon 2300N) and 7 clients running... (2 Replies)
Discussion started by: larynx
2 Replies

7. Shell Programming and Scripting

How to fetch rows based on line numbers or based on the beginning of a word?

I have a file which will have rows like shown below, ST*820*316054716 RMR*IV*11333331009*PO*40.31 REF*IV*22234441009*xsss471-2762 DTM*003*091016 ENT*000006 RMR*IV*2222234444*PO*239.91 REF*IV*1234445451009*LJhjlkhkj471-2762 </SPAN> DTM*003* 091016 RMR*IV*2223344441009*PO*40.31... (18 Replies)
Discussion started by: Muthuraj K
18 Replies

8. UNIX for Advanced & Expert Users

Linux Based Application OID

Hi I am searching for system OID on an application which is linux based. Can any one please let me know, where can I find from Command line? Thanks in advance. (1 Reply)
Discussion started by: sureshcisco
1 Replies

9. Programming

Problem with UDP based application

I am developing a client-server application. All communication is UDP based. I am sending 1000 packets per second. Every packet having size 15 bytes. At receiving end many packets lost. Please tell me if there any solution for this problem or it is actually problem with UDP. (1 Reply)
Discussion started by: mansoorulhaq
1 Replies

10. Programming

Development curses based console applications without C or C++

Does somebody know if is there some development tool for make console-curses based application with more abstraction than programming directly with curses API ? Thanks in advance! (3 Replies)
Discussion started by: infierno
3 Replies
Login or Register to Ask a Question