Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Solaris +vi (not vim) not using xterm termcap entry Post 302598470 by bartus11 on Tuesday 14th of February 2012 02:18:37 PM
Old 02-14-2012
OK, try this:
Code:
stty cols 190
stty rows 72

Then run vi.
This User Gave Thanks to bartus11 For This Post:
 

10 More Discussions You Might Find Interesting

1. Linux

Termcap Definitions

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

Termcap

Hi all! What is the TERMCAP variable? (1 Reply)
Discussion started by: aitor314
1 Replies

3. UNIX for Dummies Questions & Answers

no entry in termcap for 'hp'

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

Solaris 10 in vmware : vim hangs

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

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

6. Ubuntu

Scigraphica-termcap installation

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

vim in solaris 10

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

Solaris, vi (not vim), key bindings

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

Very Importan - Vim Settings - Error while opening a File using vim

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

How to give sudo entry in .profile file in 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
IOCTL(2)							System Calls Manual							  IOCTL(2)

NAME
ioctl, stty, gtty - control device SYNOPSIS
#include <sgtty.h> ioctl(fildes, request, argp) struct sgttyb *argp; stty(fildes, argp) struct sgttyb *argp; gtty(fildes, argp) struct sgttyb *argp; DESCRIPTION
Ioctl performs a variety of functions on character special files (devices). The writeups of various devices in section 4 discuss how ioctl applies to them. For certain status setting and status inquiries about terminal devices, the functions stty and gtty are equivalent to ioctl(fildes, TIOCSETP, argp) ioctl(fildes, TIOCGETP, argp) respectively; see tty(4). The following two calls, however, apply to any open file: ioctl(fildes, FIOCLEX, NULL); ioctl(fildes, FIONCLEX, NULL); The first causes the file to be closed automatically during a successful exec operation; the second reverses the effect of the first. SEE ALSO
stty(1), tty(4), exec(2) DIAGNOSTICS
Zero is returned if the call was successful; -1 if the file descriptor does not refer to the kind of file for which it was intended. BUGS
Strictly speaking, since ioctl may be extended in different ways to devices with different properties, argp should have an open-ended dec- laration like union { struct sgttyb ...; ... } *argp; The important thing is that the size is fixed by `struct sgttyb'. ASSEMBLER
(ioctl = 54.) sys ioctl; fildes; request; argp (stty = 31.) (file descriptor in r0) stty; argp (gtty = 32.) (file descriptor in r0) sys gtty; argp IOCTL(2)
All times are GMT -4. The time now is 06:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy