05-18-2011
It is a HP2055 on a hpjetdirect.
It is created as a hpjetdirect: other: generic: ascii queue.
It is created on AIX 5.3.
9 More Discussions You Might Find Interesting
1. Programming
Hi all,
I would like to change the extended ascii code ( 128 - 255).
I tried to change LC_ALL and LANG in current session ( values from locale -a) and for no good.
Thanks. (0 Replies)
Discussion started by: avis
0 Replies
2. Shell Programming and Scripting
hi i would like to check text files if they contain extended ascii characters within or not. i really dont have any idea how to start your kind help would be very much appreciated thanks. (7 Replies)
Discussion started by: smooth
7 Replies
3. UNIX for Advanced & Expert Users
Hi, I have a accentuated letter (ö) in a script for an Installer. It's a file name. This is not working and I'm told to try using the octal value for the extended ascii character. Does anyone no how to do this? If I had the word "filförval", can I just put in the value between the letters, like... (9 Replies)
Discussion started by: peli
9 Replies
4. Shell Programming and Scripting
Hi,
Is there a way to identify the lines in a file having extended ascii characters and display the same?
For instance I have a file abc.txt having below data
aaa|bbb|111|This is first line
aaa|bbb|222|This is secõnd line
aaa|bbb|333|This is third line
aaa|bbb|444|This is foùrth line... (3 Replies)
Discussion started by: decci_7
3 Replies
5. Shell Programming and Scripting
We are getting extended Ascii characters in the input file and my requirement is to search and replace them with a space. I am using the following command
LANG=C sed -e 's// /g'
It is doing a good job, but in some cases it is replacing the extended characters with two spaces. So my input... (12 Replies)
Discussion started by: ysvsr1
12 Replies
6. Programming
Hi,
I want to read extended ASCII characters from keyboard using c language on unix/linux. How to read extended characters from keyboard or by copy-paste in terminal irrespective of locale set in the system. I want to read the input characters from keyboard, store it in an array or some local... (3 Replies)
Discussion started by: sanzee007
3 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to remove (SELECTIVE - passed as argument) Extended ASCII using Awk based on adhoc basis. Can you please let me know how to do it. I have to implement this using awk only.
Thanks & Regads (14 Replies)
Discussion started by: tostay2003
14 Replies
8. Shell Programming and Scripting
I am working with a log file that I am trying to clean up by removing non-English ASCII characters. I am using Bash via Cygwin on Windows.
Before I start I set:
export LC_ALL=C
I clean it up by removing all non-English ASCII characters with the following command;
grep -v $''... (4 Replies)
Discussion started by: lewk
4 Replies
9. UNIX for Beginners Questions & Answers
Hello,
I am on AIX.
When I encounter extended ascii characters and special characters on a file I need to print..
Byte position, actual character and line number.
Is there a simple command that can give me the above result ?
Thanks in advance (38 Replies)
Discussion started by: rosebud123
38 Replies
LEARN ABOUT FREEBSD
msgget
MSGGET(2) BSD System Calls Manual MSGGET(2)
NAME
msgget -- get message queue
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/msg.h>
int
msgget(key_t key, int msgflg);
DESCRIPTION
The msgget() function returns the message queue identifier associated with key. A message queue identifier is a unique integer greater than
zero.
A message queue is created if either key is equal to IPC_PRIVATE, or key does not have a message queue identifier associated with it, and the
IPC_CREAT bit is set in msgflg.
If a new message queue is created, the data structure associated with it (the msqid_ds structure, see msgctl(2)) is initialized as follows:
o msg_perm.cuid and msg_perm.uid are set to the effective uid of the calling process.
o msg_perm.gid and msg_perm.cgid are set to the effective gid of the calling process.
o msg_perm.mode is set to the lower 9 bits of msgflg.
o msg_cbytes, msg_qnum, msg_lspid, msg_lrpid, msg_rtime, and msg_stime are set to 0.
o msg_qbytes is set to the system wide maximum value for the number of bytes in a queue (MSGMNB).
o msg_ctime is set to the current time.
RETURN VALUES
Upon successful completion a positive message queue identifier is returned. Otherwise, -1 is returned and the global variable errno is set
to indicate the error.
ERRORS
[EACCES] A message queue is already associated with key and the caller has no permission to access it.
[EEXIST] Both IPC_CREAT and IPC_EXCL are set in msgflg, and a message queue is already associated with key.
[ENOSPC] A new message queue could not be created because the system limit for the number of message queues has been reached.
[ENOENT] IPC_CREAT was not set in msgflg and no message queue associated with key was found.
SEE ALSO
msgctl(2), msgrcv(2), msgsnd(2)
HISTORY
Message queues appeared in the first release of AT&T System V UNIX.
BSD
July 9, 2009 BSD