Sponsored Content
Full Discussion: xterm problem?
Operating Systems Linux Slackware xterm problem? Post 302534417 by slak0 on Tuesday 28th of June 2011 12:59:01 AM
Old 06-28-2011
xterm problem?

The terminfo is at: /usr/share/terminfo/ and xterm at: /usr/share/terminfo/x/xterm.
Ran file at the latter and get: /usr/share/terminfo/x/xterm: Compiled terminfo entry
So the system should know where it is at. Since man tic and tset are totally or partially unable to find or utilize that info then like infocmp says maybe they can't open it either.
BTW the xwindow I use is defined using xterm but has no problem visible when it is started up.
Yes, xterm is what $TERM should echo. I had thought that there should be a TERMINFO in the environment to point to /usr/share/terminfo/ but there is none. Can't find that it should be either.
I am going to google TERMINFO momentarily to see if that helps but tried that b4 to no avail maybe my search terms will change.
I found a /etc/initrc but all it did for xterm was to define the beginning/end of line code.
Further prowling took me to /etc/X11/xdm where Xsession and Xresources are defined.
That lead to the discovery that regular users have .xsession files. Tho this is a difference it coes not explain the identical actions for both user types.
Just discovered that "clear" receives an 'xterm ': unknown terminal type. for both root and regular users.
All of these messages together suggest that the xterm is not defined in the system. Infocmp .cannot open terminfo and find cannot locate termcaps so how does the system know anything about xterm? Yet /etc/X11/xdm/Xsession invokes /usr/bin/xterm where I would presume the system would learn of it or belch. I do not understand so need help.

Last edited by slak0; 06-29-2011 at 04:46 AM.. Reason: added info
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

xterm trivia

Thanks Livin Free... Here's another one... Why is it that I always get the error message "Error: Can't open display:" in my mail whenever I execute or try to call an xterm command using cron to activate the command. What did I miss? Thanks in advance UNIX gurus... (3 Replies)
Discussion started by: jfsuminist
3 Replies

2. UNIX for Dummies Questions & Answers

Xterm

Guys: Anyone have ideas on where can I get information or references if I want to learn on how to program with UNIX GUIs? If you do have ideas please let me know. Its a big help. (2 Replies)
Discussion started by: jfsuminist
2 Replies

3. UNIX Desktop Questions & Answers

xterm colors

I'm a new user to unix and I want to be able to pick and choose different xterm colors via 3rd botton menu. I'm currently pico'd into my .fvwm2rc file and this is what I have under my bottons: Please advise ############ # Button 1 #... (2 Replies)
Discussion started by: blica777
2 Replies

4. UNIX for Dummies Questions & Answers

xterm

Would someone tell me how to save changes in xterm once I've made them using the program options? For example, I type: xterm -bg red and my console window changes color. But how can I now make this attribute save, so that it becomes the default when I relaunch xterm? Any help you can offer... (1 Reply)
Discussion started by: af6
1 Replies

5. UNIX for Dummies Questions & Answers

xterm?

Hello all, This is a lame question because I have been working with unix for some years now, but anyway here it is; What is an xterm? ivo (1 Reply)
Discussion started by: Ivo
1 Replies

6. Shell Programming and Scripting

xterm help?

I want to add a title to this xterm window but cannot figure out how. Can anybody assist with this? xterm +sb -geom 80x25 -ls -tn xterms -tm "intr ^q" -name unikix -e $UNIKIX/bin/unikixl (1 Reply)
Discussion started by: douknownam
1 Replies

7. UNIX for Dummies Questions & Answers

xterm

hi I'm trying to launch admintool via an export DISPLAY. that is i am doing a rlogin to serverB from serverA. i did the command export DISPLAY=serverA:0 but it prompted me the error DISPLAY=serverA:0: is not an identifier i have searched the forum but there is not much things on this error... (3 Replies)
Discussion started by: legato
3 Replies

8. Solaris

Xterm problem on Solaris 10

I apologize but didn't find an answer in the Discussions. I use an Exceed xterm just fine with Solaris 8 but it fails to connect to Solaris 10 server: Xterm command line: DISPLAY=@d;export DISPLAY;/usr/openwin/bin/xterm Failure message: "Unable to connect to host using specified start... (2 Replies)
Discussion started by: fusejj
2 Replies

9. UNIX for Dummies Questions & Answers

Problem with xterm & tcsh & sourcing a script in a single command

Hi friends, I have a script that sets the env variable path based on different conditions. Now the new path variable setting should not done in the same terminal or same shell. Only a new terminal or new shell should have the new path env variable set. I am able to do this only as follows: >cd... (1 Reply)
Discussion started by: sowmya005
1 Replies

10. UNIX for Dummies Questions & Answers

Problem with xterm scrollbar

I have a xterm window opening from my Java code. This xterm is opened from the code in this manner: // to run shell command in a xterm window public synchronized void rshd(String title, String commd) { String xt = "xterm -sb -T "; String xtm = xt + title + " -e " + commd; Runtime run =... (1 Reply)
Discussion started by: vanz
1 Replies
tic(1M) 						  System Administration Commands						   tic(1M)

NAME
tic - terminfo compiler SYNOPSIS
tic [-v [n]] [-c] file DESCRIPTION
The command tic translates a terminfo file from the source format into the compiled format. The results are placed in the directory /usr/share/lib/terminfo. The compiled format is necessary for use with the library routines in curses(3CURSES). If the environment variable TERMINFO is set, the compiled results are placed there instead of /usr/share/lib/terminfo. Total compiled entries cannot exceed 4096 bytes. The name field cannot exceed 128 bytes. Terminal names exceeding 14 characters will be truncated to 14 characters and a warning message will be printed. OPTIONS
The following options are supported: -c Specifies to check only file for errors. Errors in use= links are not detected. -v[n] Specify that (verbose) output be written to standard error trace information showing tic's progress. The optional integer n is a number from 1 to 10, indicating the desired level of detail of information. If n is omitted, the default level is 1. If n is spec- ified and greater than 1, the level of detail is increased. OPERANDS
file Contains one or more terminfo terminal descriptions in source format [see terminfo(4)]. Each description in the file describes the capabilities of a particular terminal. When a use=entry-name field is discovered in a terminal entry currently being compiled, tic reads in the binary from /usr/share/lib/terminfo to complete the entry. (Entries created from file will be used first. If the envi- ronment variable TERMINFO is set, that directory is searched instead of /usr/share/lib/terminfo.) tic duplicates the capabilities in entry-name for the current entry, with the exception of those capabilities that are explicitly defined in the current entry. FILES
/usr/share/lib/terminfo/?/* Compiled terminal description database ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
captoinfo(1M), infocmp(1M), curses(3CURSES), terminfo(4), attributes(5) NOTES
When an entry, for example, entry_name_1, contains a use=entry_name_2 field, any canceled capabilities in entry_name_2 must also appear in entry_name_1 before use= for these capabilities to be canceled in entry_name_1. SunOS 5.11 5 Jul 1990 tic(1M)
All times are GMT -4. The time now is 07:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy