diff between $TERM & $DISPLAY


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers diff between $TERM & $DISPLAY
# 1  
Old 03-18-2005
diff between $TERM & $DISPLAY

Can anybody pls explain me the diff between $TERM & $DISPLAY ?

Thanks in advance.
# 2  
Old 03-18-2005
$DISPLAY is the console from where you login - if you are on system A (ip 10.140.20.20) and you logged onto the console, then your display is a:0.0 or just 0.0. When you go to another server (system B) and want to run a X windows command on B, you have to tell it to send the display back to system A (or it won't allow you to view the X command output since the default is to send it to system B's console on b:0.0).

$TERM is the type of terminal you are on - if logged system B from system A, your TERM may or may not be correctly set. Normally you can set it to vt100 to insure you can view everything correctly (normally you will be able to tell when editing a file that your TERM isn't set correctly).
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Display files created on particular date & time

Hi , I have BASH system & i am trying to display the files created on a particular date and time, and after displaying those files I also want to delete all those files.Can anyone of you help me out for this............. Thanx Original post contents restored... Please do not erase the question... (3 Replies)
Discussion started by: rakeshtomar82
3 Replies

2. Shell Programming and Scripting

Parse diff output into very detailed & summary report

Hello all; I'll try an explain my dilemma as best I can. But first some background: 1- I am suppose to compare a database to itself before and after changes; basically generate audit trail report. 2- This database contains "RULES" (the id field) that we use for transmitting files. 3 - The... (0 Replies)
Discussion started by: gvolpini
0 Replies

3. Shell Programming and Scripting

awk & display on one line

awk '/description/ || /instances/ {print;getline;print}' rtprod2.scp This command gives me something like below. description=OpsExec_Clinical instances=0 description=OpsExec_Pharmacy instances=1 description= instances=0 description= instances=0 description= description=OP_MVOR_ORU_OUT... (9 Replies)
Discussion started by: Daniel Gate
9 Replies

4. HP-UX

Export Display Through Telnet & Xming

HI, HP-UX B.11.00 A 9000/785 (ta) I am trying to export a display using Xming & and Telnet (not SSH) but when I try.. $ DISPLAY=192.168.1.75:0.0 $ export DISPLAY $ xclock and get.. Xlib: connection to "192.168.1.75:0.0" refused by server Xlib: No protocol specified Error:... (4 Replies)
Discussion started by: Pauly
4 Replies

5. HP-UX

whats diff. B/W /etc/checklist & /etc/fstabs

hi all, I juz want to know y tr r 2 files of same content present... is tr any sp. reason s der. b/w /etc/checklist & /etc/fstab (1 Reply)
Discussion started by: rrlog
1 Replies

6. Shell Programming and Scripting

diff between ssh_config & sshd_config

Hi, Can anybody brief me the difference between ssh_config & sshd_config. I am looking for the functionality difference. any help appreciated Shihab (4 Replies)
Discussion started by: shihabvk
4 Replies

7. Shell Programming and Scripting

Search term and output term in desired field

Hi All, I have an input_file below and i would like to use Perl to search for the term "aaa" and output the 3rd term in the same row as "aaa".For Example, i want to search for the term "ddd" and would want the code to ouput the 3rd term in the same row which is "fff". Can somebody help ? ... (28 Replies)
Discussion started by: Raynon
28 Replies

8. UNIX for Advanced & Expert Users

Diff b/w modification & updated time

Hi All, What is the difference b/w last modification time and last updated time. Thanks Sweta (1 Reply)
Discussion started by: sweta
1 Replies

9. Programming

Create a Term & Run chars on this Term

hi floks ! i'd like to know how can i transmete a character or a string from my source code to a term and make it interpret or un by the shell wich is running in my term. I'd like to create a Term from my code (and get its file descriptor) and then transmete each char typed on the keyboard to... (1 Reply)
Discussion started by: the_tical
1 Replies

10. UNIX for Dummies Questions & Answers

compilation diff between aix & solaris

what is the difference in awk stmt for awk in Aix & SOLARIS files="$@" for filename in $files do awk ' BEGIN { if ( FILENAME ~ ".*bad.trans.dsm" ) code = "bad"; else if ( FILENAME ~ ".*here.*.dsm" ) code = "here"; else ... (2 Replies)
Discussion started by: ls1429
2 Replies
Login or Register to Ask a Question