01-17-2007
I don't have any problem. This is how I have it specified in my .profile -
PS1='${LOGIN} ${PWD}> '
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi, I need to delete all the files before yesterday on a single directoy. Do you help me?
TKS. (1 Reply)
Discussion started by: lsquillacioti
1 Replies
2. UNIX for Dummies Questions & Answers
hi,
I'm trying to use sed to erase everything, and including the ending parenthesis. For example:
input: blah blah blah (12355)this is what i want.
output: this is what i want.
how would i do this?
i found an example online that does the opposite:
sed \"s|test.*||g\" file1 > file2";
... (5 Replies)
Discussion started by: gammaman
5 Replies
3. UNIX for Dummies Questions & Answers
hi,
I'm trying to use sed to erase everything, up to the first parenthesis. for example:
input: blah blah blah (aldj) test (dafs) test test.
output: (aldj) test (dafs) test test.
how would i do this?
I was fooling around with the parenthesis, and i only got it to apply on all parenthesis.... (1 Reply)
Discussion started by: gammaman
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I am a UNIX newbie. With that out of that way..
In order to delete a mistyped character, I need to press control+h to move the cursor to the left, and then overwrite it. If I try hitting the backspace key, it just brings me to a new prompt.
Is there a way to change it so that my... (1 Reply)
Discussion started by: martinp973
1 Replies
5. Filesystems, Disks and Memory
Hi,
I am writing a script to wipe my hard disk, in a relatively secure manner by over-writing the disk with 3 patterns. So, I run the dd/dcfldd command 3 times with a sync call in between each command call in the script.
#!/bin/sh
dcfldd pattern=99 conv=notrunc of=/dev/sda
sync
dcfldd... (7 Replies)
Discussion started by: jake24
7 Replies
6. Filesystems, Disks and Memory
I have a load of DLT tapes I need to scrub and get rid off.
Anyone know of any application to erase the tapes before recycling them?
I have a Sun StorEdge L9 tape loader which I would like to utilise, so a script or application that can take advantage of doing a load of tapes without manual... (5 Replies)
Discussion started by: son_t
5 Replies
7. UNIX Desktop Questions & Answers
Hi gurus, i use vi editor. when I want search something I Type / (or ? if i want search backward), that is OK.
But when i make mistake in searching string how can i delete character ?
I tried bacskpase but did not work (gives just strange characters).
Also tried shift+bacskspace but this only... (3 Replies)
Discussion started by: wakatana
3 Replies
8. Shell Programming and Scripting
Hello Forum:
I am trying to find a meaning to this echo escape character:
echo -e "\b"
Can someone tell me or give me examples of the effect that this has when used. I know that \b is the backspace, but I cannot visualise it use like any other escape such as:
echo -e "\n"
Thanks.
--Willie (10 Replies)
Discussion started by: willie
10 Replies
9. OS X (Apple)
So far nobody on ASC, nor anywhere was able to respond to my issue and Google wasn't much of help either.
I started to experience the issue some time ago: my OS is Lion 10.7.5. It occurs in all apps that have the function of versioning (iWork which I have updated up to v9.2, namely, Pages 4.2,... (0 Replies)
Discussion started by: scrutinizerix
0 Replies
LEARN ABOUT HPUX
xhpacknowledge
XHPAcknowledge(3X) XHPAcknowledge(3X)
NAME
XHPAcknowledge - Send an Acknowledge to an extended input device.
SYNOPSIS
#include <X11/XHPlib.h>
int XHPAcknowledge (display, deviceid, acknowledge)
Display *display;
XID deviceid;
int acknowledge;
ARGUMENTS
display Specifies the connection to the X server.
deviceid Specifies the ID of the desired device.
acknowledge Specifies the acknowledge to be sent. Valid values are: GENERAL_ACKNOWLEDGE, ACKNOWLEDGE_1, ACKNOWLEDGE_2, ACKNOWLEDGE_3,
ACKNOWLEDGE_4, ACKNOWLEDGE_5, ACKNOWLEDGE_6, ACKNOWLEDGE_7.
DESCRIPTION
This request is part of an HP-proprietary extension to X. Its functionality has been superseded by the standard XChangeFeedbackControl
request. You should use XChangeFeedbackControl instead of XHPAcknowledge if possible.
This request sends an acknowledge to an input device. This allows a previously received prompt to be turned off.
A prompt is an audio or visual indication that the program controlling the input device is ready for input. The LED on an HP46086A
buttonbox is an example of a prompt. A program may indicate its status by turning on a prompt on the appropriate input device.
Not all input devices support prompts and acknowledges. Any device that does support a particular prompt will also support the
corresponding acknowledge.
To determine whether an input device supports a particular prompt and acknowledge, the io_byte field of the XHPDeviceList structure should
be examined. The format of this structure is described in the documentation for the XHPListInputDevices request.
RETURN VALUE
none
DIAGNOSTICS
BadDevice An invalid device ID was specified.
BadValue An invalid acknowledge was specified.
FILES
/usr/include/X11/XHPlib.h
ORIGIN
Hewlett-Packard Company
SEE ALSO
XHPListInputDevices(3x)
XHPPrompt(3x)
X Version 11 Release 5 XHPAcknowledge(3X)