Hello,
I have one application (top) for Solaris that exits with error
"no entry in termcap for 'hp'".
What can I do with system to fix it? Is it access problem to termcap file or real corruption inside the file since I know that HP is defined in termcap?
...
or changes to environment... (0 Replies)
Hello,
I downloaded the vmware image of Solaris 10 Update 3 from the Sun site. I have a problem with vim when I edit a file while being connected through SSH to my vm:
When I try to edit whatever file with vim, it freezes just after I've hit enter.
vim works correctly when I run it in a... (1 Reply)
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)
Hi all,
I am trying to install Scigraphica on Ubuntu 8.10 and Termcap needs to be installed.
I cannot find or install Termcap by Synaptic package manager (sudo apt-get install does not work either).
I found in some forums that Termcap is not available for Ubuntu 8.10, and ncurses-dev was... (0 Replies)
Hi
I tried to install vim7.2 in solaris 10 x86 , installation completed but not able to get vim to be use.
dependency binary: gtk+ , glib & ncurses
install dependency binary package and then install vim7.2.
#pkgadd -d vim-7.2-sol10-x86-local
$ pkginfo SMCvim
application SMCvim vim
... (4 Replies)
hi,
i am facing a problem that (i think) many people had before.
under linux i use vim and therefor i am used to be able to use the cursor, delete and backspace keys in edit mode.
that's not the case in the classic vi, e.g. under solaris. when hitting these keys, uninteded char sequences are... (1 Reply)
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Hi all,
In Solaris , What entry should I add in my .profile file in home directory so that every time I don't have to give
Sudo's full path like
/usr/local/bin/sudo as well as /usr/sbin/ping
and it will be Great help if you could tell me how to know what should be added.
Please Advice.... (2 Replies)
Discussion started by: manalisharmabe
2 Replies
LEARN ABOUT LINUX
resizecons
RESIZECONS(8) Console Support RESIZECONS(8)NAME
resizecons - change kernel idea of the console size
SYNOPSIS
resizecons COLSxROWS
resizecons -lines ROWS
DESCRIPTION
The resizecons command tries to change the videomode of the console. There are several aspects to this: (a) the kernel must know about it,
(b) the hardware must know about it, (c) user programs must know about it, (d) the console font may have to be adapted.
(a) The kernel is told about the change using the ioctl VT_RESIZE. This causes the kernel to reallocate console screen memory for all vir-
tual consoles, and might fail if there is not enough memory. (In that case, try to disallocate some virtual consoles first.) If this
ioctl succeeds, but a later step fails (e.g., because you do not have root permissions), you may be left with a very messy screen.
The most difficult part of this is (b), since it requires detailed knowledge of the video card hardware, and the setting of numerous regis-
ters. Only changing the number of rows is slightly easier, and resizecons will try to do that itself, when given the -lines option. (Proba-
bly, root permission will be required.) The command resizecons COLSxROWS will execute restoretextmode -r COLSxROWS (and hence requires
that you have svgalib installed). Here COLSxROWS is a file that was created earlier by restoretextmode -w COLSxROWS. Again, either root
permissions are required, or restoretextmode has to be suid root.
In order to deal with (c), resizecons does a `stty rows ROWS cols COLS' for each active console (in the range tty0..tty15), and sends a
SIGWINCH signal to selection if it finds the file /tmp/selection.pid.
Finally, (d) is dealt with by executing a setfont command. Most likely, the wrong font is loaded, and you may want to do another setfont
yourself afterwards.
BUGS
resizecons does not work on all hardware. This command used to be called resize, but was renamed to avoid conflict with another command
with the same name.
SEE ALSO setfont(8), stty(1), selection(1), restoretextmode(8), disalloc(8)Local 17 Jan 1995 RESIZECONS(8)