Sponsored Content
Top Forums UNIX for Advanced & Expert Users Changing the appearance of an Output in console Post 302260365 by fpmurphy on Thursday 20th of November 2008 10:07:57 AM
Old 11-20-2008
You will have to find out what application is generating this message and modify that application to ouput the message in the format you require.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

console output messages

could someone please tell me how to stop error messages being displayed to the console port. Currently, error messages are streaming to the console and I ant do anything. many thanks..... (2 Replies)
Discussion started by: boristhespider
2 Replies

2. Programming

Changing stdin from file redirection to console input

Hi I am doing file redirection at console for use by my binary. %console%> bin &lt inputfile After reading in the entire file, I want my program to continue taking input from the console. So essentially I want to redirect stdin back to console. But I cant figure out how to do it. I am... (4 Replies)
Discussion started by: nauman
4 Replies

3. Programming

Reading console output

I am writing a program that uses system() to pass commands to the command interpreter. Is there a way to read the output that the commands produce? (1 Reply)
Discussion started by: Blaster999
1 Replies

4. UNIX for Dummies Questions & Answers

Eleminating output to console

I am running Shorewall firewall config program to utilize iptables on a Debian 3.3.5 system. This system is setup for a getway/router. I am getting a message: Shorewall:bogons:Drop:IN=eth0 OUT= MAC+ mac address of eth0 SRC:someinternetIP DST=MYIPADD LEN=61 TOS+0x00 PREC=0x00 TTL=114 ID=6673... (3 Replies)
Discussion started by: pflink
3 Replies

5. Cybersecurity

changing /cn@0:console file permissions

I'm doing a security sweep of a Sun Sol 5.8 system. The file: /dev/console, which links to /devices/pseudo/cn@0:console, has the following perms: crw--w--w- I would like to get rid of the world write permissions. I can change the file permissions, but as soon as log back in, they are changed... (4 Replies)
Discussion started by: ErnieG
4 Replies

6. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

7. Solaris

No Console Output

Hey everyone I have a sparc enterprise T2000 I'm trying to install solaris 10 on. The only way I can connect to it is the SER MGT console, but I'm not getting anything to display (in Hyper terminal, or PUTTY) when I boot it. Upon googleing, all I get back is "No output may have been generated.... (4 Replies)
Discussion started by: goodvikings
4 Replies

8. Shell Programming and Scripting

Grep on console output

Hellos! I want to have a unix script that will run grep on the console output. Here is what my script does: 1. Telnet into a remote server (I have done this part successfully) 2. On successful login, the remote server displays outputs information on the console. I need to run grep on that... (6 Replies)
Discussion started by: puneet1984
6 Replies

9. Shell Programming and Scripting

Output to console and to log

I have a menu based script where user will select different action via displayed menu. I want to log all the action or say whatever displayed on screen to a log file and want to achieve with in the same script. i tried named pipe as below.. logfile=mylogfile mkfifo ${logfile}.pipe... (3 Replies)
Discussion started by: vidyadhar85
3 Replies

10. Shell Programming and Scripting

Changing the appearance of a file

Hello, I have a file. The content of the file is shown below. >AB34.txt 65 66 67 68 >2D2Z.txt 61 62 >2D2Z.txt 92 93 94 >3E50.txt 106 107 >3E50.txt (1 Reply)
Discussion started by: manual
1 Replies
tt_message_receive(library call)										  tt_message_receive(library call)

NAME
tt_message_receive -- receive a message SYNOPSIS
#include <Tt/tt_c.h> Tt_message tt_message_receive(void) DESCRIPTION
The tt_message_receive function returns a handle for the next message queued to be delivered to the process and also runs any message or pattern callbacks applicable to the queued message. If the return value of tt_message_status(3) for this message is TT_WRN_START_MESSAGE, the ToolTalk service started the process to deliver the queued message; the process must reply to this message. If the return value of tt_message_receive is zero, no message is available. RETURN VALUE
Upon successful completion, the tt_message_receive function returns the handle for the message object. The application can use tt_ptr_error(3) to extract one of the following Tt_status values from the returned handle: TT_OK The operation completed successfully. TT_ERR_NOMP The ttsession(1) process is not running and the ToolTalk service cannot restart it. APPLICATION USAGE
A zero value can occur if a message or pattern callback processes the message. It can also occur if the interval is too long between the time the file descriptor became active and the tt_message_receive call was made. In the latter case, the ToolTalk service will time out and offer the message to another process. The application should use tt_free(3) to free any data stored in the address returned by the ToolTalk API. SEE ALSO
Tt/tt_c.h - Tttt_c(5), tt_ptr_error(3), tt_free(3). tt_message_receive(library call)
All times are GMT -4. The time now is 01:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy