Sponsored Content
Full Discussion: going to start of file in VI
Top Forums UNIX for Dummies Questions & Answers going to start of file in VI Post 35757 by eloquent99 on Friday 2nd of May 2003 11:35:57 AM
Old 05-02-2003
going to start of file in VI

Ok , I know you hit shift G to get to the bottom of the file. How do you get to the top of the file
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX Start-up file location

I would like to know where to find the start-up sequence for UNIX. I would like to find the command that starts the database up and do not know where to look and I'm sure there is a file that contains this info. Where is it??? Thanks in advance. Dave. (3 Replies)
Discussion started by: daveo61
3 Replies

2. Linux

where to put an application if i want to start it on start up

hi i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots i mean whenever my system starts that application must also start thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies

3. Solaris

StartUP file to start a service

Hi guys: i have a Solaris 10 development server and a Solaris 9 production server. The entire task must be done in the dev. server. When it's done and all the testing is OK, the script or files are transfer to prod. Server. All right. Now I have to figure out a way to put a script to initiate... (2 Replies)
Discussion started by: bmathiasf
2 Replies

4. AIX

Q: how to start a service when system start

As topic, assume we have a service called "blahservice" and we can start it by: startsrc -s blahservice what is the best practice to run such command when system start? - directly use mkitab to add it into /etc/inittab or - drop startup scripts in /etc/rc.d/rcX.d I know they... (4 Replies)
Discussion started by: acerlinux
4 Replies

5. Shell Programming and Scripting

Start program in background (or start crontab ahead of time)

Hey! I'm working on a script that will add a user, create some configfiles, and add a crontab for the user. The crontab looks like the following: @reboot /home/user/program config.conf & I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies

6. UNIX for Advanced & Expert Users

Replace a value in the file that start with quotes

I have to replace the specific encypted value in the file which is will be a taken as input from user always.PADWD appears two times in the document of which I need to replace the line which start with double quotes. Please help. "PADWD"\1\"LL9@99V@N=3M0O4I4;J43KH6"---Sample line in the file. ... (6 Replies)
Discussion started by: chandu123
6 Replies

7. Shell Programming and Scripting

How to append data in file at start of file?

In unix - how to append data in start of file ? Please advise. Thanks (5 Replies)
Discussion started by: RahulJoshi
5 Replies

8. Shell Programming and Scripting

How to extract start/end times from log file to CSV file?

Hi, I have a log file (log.txt) that which contains lines of date/time. I need to create a script to extract a CSV file (out.csv) that gets all the sequential times (with only 1 minute difference) together by stating the start time and end time of this period. Sample log file (log.txt) ... (7 Replies)
Discussion started by: Mr.Zizo
7 Replies

9. Shell Programming and Scripting

How to tell UNIX to start from the oldest file?

Hello, I have a simple while loopinside the script and I wish to tell unix to start reading from the oldest txt file. So, in case some new txt files are transferred into the same folder, the script will not take into consideration until all older files are completely processed. How may I do this?... (3 Replies)
Discussion started by: baris35
3 Replies

10. UNIX for Beginners Questions & Answers

Splitting week start date and end date based on custom period start dates

Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below. Could you please help out to achieve solution through shell script.. File content: ... (2 Replies)
Discussion started by: nani2019
2 Replies
GLFRUSTUM(3G)															     GLFRUSTUM(3G)

NAME
glFrustum - multiply the current matrix by a perspective matrix C SPECIFICATION
void glFrustum( GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar ) PARAMETERS
left, right Specify the coordinates for the left and right vertical clipping planes. bottom, top Specify the coordinates for the bottom and top horizontal clipping planes. zNear, zFar Specify the distances to the near and far depth clipping planes. Both distances must be positive. DESCRIPTION
glFrustum describes a perspective matrix that produces a perspective projection. The current matrix (see glMatrixMode) is multiplied by this matrix and the result replaces the current matrix, as if glMultMatrix were called with the following matrix as its argument: 2 zNear ------------ 0 A 0 right - left 2 zNear 0 ------------ B 0 top - bottom 0 0 C D 0 0 -1 0 A = (right + left) / (right - left) B = (top + bottom) / (top - bottom) C = - (zFar + zNear) / (zFar - zNear) D = - (2 zFar zNear) / (zFar - zNear) Typically, the matrix mode is GL_PROJECTION, and (left, bottom, -zNear) and (right, top, -zNear) specify the points on the near clipping plane that are mapped to the lower left and upper right corners of the window, assuming that the eye is located at (0, 0, 0). -zFar speci- fies the location of the far clipping plane. Both zNear and zFar must be positive. Use glPushMatrix and glPopMatrix to save and restore the current matrix stack. NOTES
Depth buffer precision is affected by the values specified for zNear and zFar. The greater the ratio of zFar to zNear is, the less effec- tive the depth buffer will be at distinguishing between surfaces that are near each other. If r = zFar / zNear roughly log2(r) bits of depth buffer precision are lost. Because r approaches infinity as zNear approaches 0, zNear must never be set to 0. ERRORS
GL_INVALID_VALUE is generated if zNear or zFar is not positive, or if left = right, or bottom = top. GL_INVALID_OPERATION is generated if glFrustum is executed between the execution of glBegin and the corresponding execution of glEnd. ASSOCIATED GETS
glGet with argument GL_MATRIX_MODE glGet with argument GL_MODELVIEW_MATRIX glGet with argument GL_PROJECTION_MATRIX glGet with argument GL_TEXTURE_MATRIX glGet with argument GL_COLOR_MATRIX SEE ALSO
glOrtho, glMatrixMode, glMultMatrix, glPushMatrix, glViewport GLFRUSTUM(3G)
All times are GMT -4. The time now is 02:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy