11-04-2007
What I've tried
Here's my entries:
$ ed
a
. enter a line of just a dot
But it doesn't enter a line with a dot, it leaves
insert mode
w file.txt
0 There's nothing in the buffer
q
$
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
My boss wants me to find out how often e-m users are accessing their account:confused:. The mail server keeps log of all logins. I want to use grep the 'usernames', but it should come out the moment it first encounters the username in the log. Can I do that? I want to avoid 10+ greps... (2 Replies)
Discussion started by: nitin
2 Replies
2. UNIX for Dummies Questions & Answers
hi,
i am a total dummy of unix. i want to find out the following information from my Sun Solaris 8 Unix machine:
1) The command to display physical and virtual memory
2) The command to display the CPU
3) The command to display the total harddisk space.
thank u very much and have a nice... (3 Replies)
Discussion started by: champion
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I am a dummy in unix. I have 2 simple questions.
1) I am the adminstrator. I want to set a alias that applied to all the users. I do not want to update each user's .profile or .cshrc file.
So is there a way to update it in one file so that it applies to all users ?
Example : I want... (1 Reply)
Discussion started by: champion
1 Replies
4. UNIX for Dummies Questions & Answers
Allright the situation is that i have a dual boot set up with windows xp and red hat 9.0. the problem is that my modem and sound card dont work with linux. I found a driver, and i have to download it with xp. My question is.....
How do i actually copy the file to the linux... (4 Replies)
Discussion started by: nregenwether
4 Replies
5. UNIX for Dummies Questions & Answers
I was told that it's a Bad Idea (especially for root ) to Add To the Variable $PATH in unix the ":." (dot),
In order to execute programs in my current directory without typing ./program
For example: PATH=$PATH:$HOME/bin:.
Does someone know why is it a Bad Idea? (2 Replies)
Discussion started by: amitbern
2 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I'm a noob when comes to make files....
My intentions for the use of my make file are not that of a usual compilation, etc.
It is simply to copy some files from a RCS controlled area to a public area which has read rights only for a web page.
My dilemma comes in the form of sub... (0 Replies)
Discussion started by: Roxydogg28
0 Replies
7. Linux
Hi,
What else is the dot used beside relative filepaths in bash? Is it a shell utility as well?
No man entry for dot (.)... (3 Replies)
Discussion started by: varelg
3 Replies
8. Solaris
I have two simple questions
First is :can dhcp server NATIVE of solaris perform dhcp
updates of bind via dnssec like dchpd on linux?
Second: Is possible to build a pdc with samba and iplanet ldap server?Or is better with openldap?
I never found howto or discussions about iplanet server.
Thanks (0 Replies)
Discussion started by: Linusolaradm1
0 Replies
9. AIX
I have an unfortunate need to redo a bunch of disk settings on a VIOS on AIX, so I was putting together a quick script to scrub everything it has, make the changes, and then put the mappings back. It works, I just am trying to get my awk a bit more up-to-snuff and wanted to know the proper way to... (2 Replies)
Discussion started by: Vryali
2 Replies
10. AIX
Hello,
I am looking into virtualizing AIX 7.1 on our p7 machine that already has AIX 7.1 installed on it. I have a few questions about them:
1) In order to gain LPAR functionality, do I need to purchase PowerVM software?
2) I read that LPARs are managed from locally attached graphical... (1 Reply)
Discussion started by: bstring
1 Replies
LEARN ABOUT SUNOS
winsertln
insertln(3XCURSES) X/Open Curses Library Functions insertln(3XCURSES)
NAME
insertln, winsertln - insert a line in a window
SYNOPSIS
cc [ flag... ] file... -I /usr/xpg4/include -L /usr/xpg4/lib
-R /usr/xpg4/lib -lcurses [ library... ]
c89 [ flag... ] file... -lcurses [ library... ]
#include <curses.h>
int insertln(void);
int winsertln(WINDOW *win);
PARAMETERS
win Is a pointer to the window in which to insert the line.
DESCRIPTION
The insertln() and winsertln() functions insert a blank line before the current line in stdscr or win, respectively. The new line becomes
the current line. The current line and all lines after it in the window are moved down one line. The bottom line in the window is dis-
carded.
RETURN VALUES
On success, these functions return OK. Otherwise, they return ERR.
ERRORS
None.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO
bkgdset(3XCURSES), deleteln(3XCURSES), insdelln(3XCURSES), libcurses(3XCURSES), attributes(5), standards(5)
SunOS 5.10 5 Jun 2002 insertln(3XCURSES)