Sponsored Content
Full Discussion: vi page setup
Top Forums Shell Programming and Scripting vi page setup Post 302472572 by rbatte1 on Wednesday 17th of November 2010 12:48:25 PM
Old 11-17-2010
Do you have the file .exrc in your home directory? Thay has controls over what vi does and how it behaves. There is also the following snippet from the man page for vi:-
Quote:
window (wi=) Sets the number of lines displayed in one window of text. The
default depends on the baud rate at which you are operating: 600 baud or less, 8
lines; 1200 baud, 16 lines; higher speeds, full screen minus 1 line.
It is also possible that you have a short terminal defined somehow, perhaps.
Another snippet is the setting for z:-
Quote:
zNumber Makes the window the specified number of lines long.
.... again probably in ~/.exrc


I'm not sure if this helps, but maybe......

Anyone else?



Robin
Liverpool/Blackburn
UK
 

10 More Discussions You Might Find Interesting

1. AIX

map Page Down and Page up to ] and [

how do I map Page Down and Page up to ] and [ in my terminal using the .exrc file. Currently its not working and the use of ^F and ^B doesn't attract me at all. (0 Replies)
Discussion started by: buddy_amazing
0 Replies

2. Solaris

hp1320 page setup

hi all , i have configured an hp1320 printer using jetadmin . but the printer is starting at the middle of the page . is there a method to do a page setup for the printer . please note : that this printer is used to printer oracle reports and for this reason i need to do a page setup . ... (1 Reply)
Discussion started by: ppass
1 Replies

3. Shell Programming and Scripting

lpr- how to print from page to page

hi all i have file_1 which contains 66 pages and i want to print only page 1 to 3 i try to write like this lp -d name_of_printer file_1 -P 1-7 this command does not work any ideas ? (4 Replies)
Discussion started by: naamas03
4 Replies

4. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

5. Solaris

High Page In and Executable page In

Hi, Currently I'm experience very high page ins on my system running on solaris 10. From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins. Details as follow: oracle@perch:/files>> vmstat 5... (9 Replies)
Discussion started by: srage
9 Replies

6. UNIX for Dummies Questions & Answers

display command output page per page

Good afternoon, I wonder how i could use unix commands to ease the reading of long command result output ? like the "php -i" or any other command that returns a long answer. I could not find the right terms to Google it or search the forum. Therefore I bother you with this question. ... (3 Replies)
Discussion started by: Mat_k
3 Replies

7. Web Development

Page load time- local page

Hi Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally. Any ideas? Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies

8. Shell Programming and Scripting

Print multiple copies page by page using lp command

Hi I have a pdf file that is being generated using the rwrun command in the shell script. I then have the lp command in the shell script to print the same pdf file. Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies

9. Shell Programming and Scripting

script for adding page number before page breaks

Hi, If there is an expert that can help: I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C. I want to add page numbers before each page break as in : Page XXXX Regards antman (9 Replies)
Discussion started by: antman
9 Replies

10. Shell Programming and Scripting

Awk: Page number with total number of pages, EG Page 1 of 5

So I've worked how to add page numbers based on regex. It's using the footer text. How do we get the total amount added so we have page number with the total number of pages? Desired output: Page No:1 of 5 Thanks in advance. (15 Replies)
Discussion started by: tugar
15 Replies
dial(3C)																  dial(3C)

NAME
dial(), undial() - establish an outgoing terminal line connection SYNOPSIS
DESCRIPTION
The function returns a file descriptor for a terminal line open for read/write. The argument to is a structure (defined in the header file). When finished with the terminal line, the calling program must invoke to release the semaphore that has been set during the allocation of the terminal device. The definition of in the header file is: elements are as follows: speed Intended only for use with an outgoing dialed call, in which case its value should be either 300 or 1200 to identify the 113A modem, or the high- or low-speed setting on the 212A modem. Note that the 113A modem or the low-speed setting of the 212A modem transmits at any rate between 0 and 300 bits per second. However, the high-speed setting of the 212A modem transmits and receives at 1200 bits per second only. baud Desired transmission baud rate. For example, one might set baud to 110 and speed to 300 (or 1200). However, if speed is set to 1200, baud must be set to high(1200). line If the desired terminal line is a direct line, a string pointer to its device name should be placed in the line element in the structure. Legal values for such terminal device names are kept in the file. In this case, the value of the baud element need not be specified as it will be determined from the file. telno A pointer to a character string representing the telephone number to be dialed. Such numbers can consist only of symbols described below. The termination symbol is supplied by the function, and should not be included in the telno string passed to in the structure. Permissible Codes Dial Dial Dial 4-second delay for second dial tone End of number Wait for secondary dial tone Flash off-hook for 1 second modem Specifies modem control for direct lines. Set to non-zero if modem control is required. attr Pointer to a structure, as defined in the header file. A NULL value for this pointer element can be passed to the func- tion, but if such a structure is included, the elements specified in it are set for the outgoing terminal line before the connection is established. This is often important for certain attributes such as parity and baud rate. device Holds the device name that establishes the connection. dev_len Length of the device name that is copied into the array device. RETURN VALUE
On failure, a negative value indicating the reason for the failure is returned. Mnemonics for these negative indices as listed here are defined in the header file. WARNINGS
Including the header file automatically includes the header file. The above routine uses which causes unexpected increases in the size of programs that otherwise do not use standard I/O. The function will modify the values of some of the fields of the structure so if is reinvoked, it will reinitialize the values of the structure. FILES
SEE ALSO
uucp(1), alarm(2), read(2), write(2), thread_safety(5), termio(7). UUCP tutorial in dial(3C)
All times are GMT -4. The time now is 07:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy