env >>my_env.txt
check how your terminal is set:
echo $TERM
echo $DISPLAY
Code:
Why am I having problems with terminfo/curses?
Terminator has its own terminfo file. This is regrettably necessary because of Terminator's unconventional approach to handling wide lines with a horizontal scrollbar rather than by wrapping them. The file will be installed under ~/.terminfo the first time you run Terminator. If you used an installer that runs as root and can write to the system-wide terminfo directory (currently just the Linux installer), the terminfo file will be installed system-wide at install time.
If you run Terminator itself as root and the terminfo file has not been installed in the system-wide terminfo directory, it will be installed at that point.
If the terminfo file isn't available, the most common warnings you'll see are this one from programs such as less(1):
WARNING: terminal is not fully functional
- (press RETURN)
and this one, from vim(1):
E558: Terminal entry not found in terminfo
'terminator' not known. Available builtin terminals are:
builtin_riscos
builtin_amiga
builtin_beos-ansi
builtin_ansi
builtin_pcansi
builtin_win32
builtin_vt320
builtin_vt52
builtin_xterm
builtin_iris-ansi
builtin_debug
builtin_dumb
defaulting to 'ansi'
If you think you have the correct terminfo available but you're still having problems, the next thing to check is that you're actually using Terminator's terminfo. For example, if your problem is with your shell, check that echo $TERM says "terminator", and if your problem is with Vim, check that :se term says "term=terminator".
Although Terminator sets the TERM environment variable to "terminator" for you, your shell's profile may be setting it to an incorrect value. Also, if you're logging in to a remote machine, the value of TERM may not be correctly transferred. It's always worth checking as described in the previous paragraph. The correct fix is to change your profile so it doesn't override TERM, and to use protocols like SSH which transfer your terminal type. You definitely shouldn't force TERM to be "terminator" (or any other value) in your profile: that's how you get into this kind of trouble.
Hi
I have installed solaris 10 on an intel machine. Logged in as root. In CDE, i open terminal session, type login alex (normal user account) and password and i get this message
No utpmx entry: you must exec "login" from lowest level "shell" :confused:
What i want is: open various... (0 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Hi All,
I have just now started learning awk from the source - Awk - A Tutorial and Introduction - by Bruce Barnett
and the bad part is that I am stuck on the very first example for running the awk script.
The script is as -
#!/bin/sh
# Linux users have to change $8 to $9
awk '
BEGIN ... (6 Replies)
OS-X 10.8.4
Using locate I get these results:
10:~ mize$ locate /Users/mize/*.sh
/Users/mize/Zend/workspaces/DefaultWorkspace/SLM/vendor/ZF2/bin/check-cs.sh
/Users/mize/copy_ascii_upload.sh
/Users/mize/copy_ascii_upload_to_server.sh
/Users/mize/copy_form_functions_php_to_jpl.sh... (7 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
I have the input file like this.
Input file: 12.txt
1) There are one or more than one <tr> tags in same line.
2) Some tr tags may have one <td> or more tna one <td> tags within it.
3) Few <td> tags having "<td> </td>". Few having more than one " " entry in it.
<tr> some td... (4 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT SUNOS
tic
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 environ-
ment 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.10 5 Jul 1990 tic(1M)