02-14-2012
Try running resize command before you run vi.
10 More Discussions You Might Find Interesting
1. Linux
Hi.
How do I enter and escape from graphics mode on RedHat Linux to capture escape sequences. I'm trying to edit the system termcap. (2 Replies)
Discussion started by: cstovall
2 Replies
2. UNIX for Dummies Questions & Answers
Hi all!
What is the TERMCAP variable? (1 Reply)
Discussion started by: aitor314
1 Replies
3. UNIX for Dummies Questions & Answers
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)
Discussion started by: gogogo
0 Replies
4. Solaris
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)
Discussion started by: Tex-Twil
1 Replies
5. Solaris
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
6. Ubuntu
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)
Discussion started by: apprentice
0 Replies
7. UNIX and Linux Applications
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)
Discussion started by: bangbong
4 Replies
8. Solaris
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)
Discussion started by: alex.blackbit
1 Replies
9. Solaris
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)
Discussion started by: girija
0 Replies
10. Solaris
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
RESIZE(1) General Commands Manual RESIZE(1)
NAME
resize - set TERMCAP and terminal settings to current xterm window size
SYNOPSIS
resize [ -u | -c ] [ -s [ row col ] ]
DESCRIPTION
Resize prints a shell command for setting the TERM and TERMCAP environment variables to indicate the current size of xterm window from
which the command is run. For this output to take effect, resize must either be evaluated as part of the command line (usually done with a
shell alias or function) or else redirected to a file which can then be read in. From the C shell (usually known as /bin/csh), the follow-
ing alias could be defined in the user's .cshrc:
% alias rs 'set noglob; eval `resize`'
After resizing the window, the user would type:
% rs
Users of versions of the Bourne shell (usually known as /bin/sh) that don't have command functions will need to send the output to a tempo-
rary file and the read it back in with the ``.'' command:
$ resize > /tmp/out
$ . /tmp/out
OPTIONS
The following options may be used with resize:
-u This option indicates that Bourne shell commands should be generated even if the user's current shell isn't /bin/sh.
-c This option indicates that C shell commands should be generated even if the user's current shell isn't /bin/csh.
-s [rows columns]
This option indicates that Sun console escape sequences will be used instead of the special xterm escape code. If rows and columns
are given, resize will ask the xterm to resize itself. However, the window manager may choose to disallow the change.
FILES
/etc/termcap for the base termcap entry to modify.
~/.cshrc user's alias for the command.
SEE ALSO
csh(1), tset(1), xterm(1)
AUTHORS
Mark Vandevoorde (MIT-Athena), Edward Moy (Berkeley)
Copyright (c) 1984, 1985 by X Consortium
See X(1) for a complete copyright notice.
BUGS
The -u or -c must appear to the left of -s if both are specified.
X Version 11 Release 6.3 RESIZE(1)