12-22-2011
Using you cursor, position yourself where you want to erase, dd has a subtle variant:
d0 erases from beginning to cursor
d$ erases from cursor to end of line...
This User Gave Thanks to vbe For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
Im new to all this but the computer club im in has unix i think.
now my questions.
1.is it NTFS i need to partion the harddrive with to be able to use unix?
2.Unix and Linux whats the diffrense?yes im a noob got no idea been using crap windows for ages and hate it.
3.I got a win98... (2 Replies)
Discussion started by: Pierre
2 Replies
2. Programming
What does "extern" do?
ex. extern int x;
and another question, what about using static in functions? like: static void foo(), why? (2 Replies)
Discussion started by: Esaia
2 Replies
3. Solaris
Hello Everbody
I hope you can give me a hand, I have some questions
The first one itīs about some message that I donīt know what means, I was looking about it. but nothing. This is the message
rsh: connection from bad port
bsd-gw: Error reading from connection: Bad file number
And my... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone im new to this forums, i just wanted to get started by asking a few question(Im a Unix newbie)
1. How do i sort a file called "dirr" in a ascending order on the 3rd column
2. what does alias on=who do
Thanks in advance!!! (1 Reply)
Discussion started by: Da Paper
1 Replies
5. UNIX for Advanced & Expert Users
How do you locate all nonblank lines that don't begin with #, /* ,or // ? (3 Replies)
Discussion started by: pulsar2587
3 Replies
6. Programming
hey all, I have question when am writing simple shell...
in the child am calling execvp, i want the parent to know when execvp returns - 1. how can i let the parent know the result of execvp
thanks in advance (9 Replies)
Discussion started by: joey
9 Replies
7. Homework & Coursework Questions
1.) I am to write scripts that will be phasetest folder in the home directory.
2.) The folder should have a set-up,phase and display files
I have written a small script which i used to check for the existing users and their password.
What I need help with:
I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies
8. UNIX for Dummies Questions & Answers
1) The lpr and sort utilities accept input either from a file named on the command line or from standard input.
a)Name two other utilities that function in a similar manner.
b)Name a utility that accepts its input only from standard input.
2) Explain the following error message. What... (10 Replies)
Discussion started by: youngyou
10 Replies
LEARN ABOUT HPUX
dteditorgetinsertionposition
DtEditorGetInsertionPosition(library call) DtEditorGetInsertionPosition(library call)
NAME
DtEditorGetInsertionPosition -- retrieve the position of the insert cursor in a DtEditor widget
SYNOPSIS
#include <Dt/Editor.h>
XmTextPosition DtEditorGetInsertionPosition(
Widget widget);
DESCRIPTION
The DtEditorGetInsertionPosition function accesses the current position of the insertion cursor in the DtEditor widget. The position is an
integer number of characters from the beginning of the widget's text buffer. The first character position is zero. The position of the
insertion cursor can be set with DtEditorSetInsertionPosition(3).
The widget argument specifies the DtEditor widget ID.
For a complete definition of the DtEditor widget and its associated resources, see DtEditor(3).
RETURN VALUE
Upon successful completion, the DtEditorGetInsertionPosition function returns an XmTextPosition value that indicates the position of the
insertion cursor in the text; otherwise, it returns NULL.
SEE ALSO
Dt/Editor.h - DtEditor(5), DtEditor(3), DtEditorGetLastPosition(3), DtEditorSetInsertionPosition(3).
DtEditorGetInsertionPosition(library call)