Sponsored Content
Operating Systems Linux Red Hat Special characters automatically gets returned - Red Hat Enterprise Linux Server release 7.0 Post 302944082 by dba1981 on Friday 15th of May 2015 09:10:08 AM
Old 05-15-2015
Special characters automatically gets returned - Red Hat Enterprise Linux Server release 7.0

Dear experts,

We are using Linux OS i.e Red Hat Enterprise Linux Server release 7.0

I log to the server using putty & default shell is


Code:
-bash4.2$ echo $SHELL /bin/bash

special character automatically gets returned in my putty.



Code:
-bash-4.2$ ~

Also this special character gets returned to the Oracle database running on the server



Code:
SQL>^[[28~

It's weird because it affects badly our work & this happens even we open files using an editor using 'vi' as well.

Appreciate your reply.

Moderator's Comments:
Mod Comment edit by bakunin: I appreciate your trying to close the first thread, but:
1) We do not want multiple threads with identical problems. Since you cannot close a thread (adding the tag "closed" doesn't help at all), please contact a moderator or administrator if you feel the necessity to do so.

2) You got an answer in fact. If you didn't get more you might ask yourself if you haven't described your problem adequately. Most probably many of the experts here have read your thread and didn't want to answer for some reason. This reason could be anything between "i don't know either" and "this guy isn't worth an answer". In any way, opening more threads won't help this situation. You might as well write a better description, give more data, share investigation results or similar things, which may change the experts opinion - either to "OK, now i know because i understand the problem" or to "this guy seems no longer to be a waste of time".

3) for these reasons the thread here is closed. Feel free to add to your already open thread.

Last edited by bakunin; 05-15-2015 at 10:49 AM..
 

2 More Discussions You Might Find Interesting

1. Red Hat

To download mod_ssl for Red Hat Enterprise Linux Server release 5.6 Beta (Tikanga)

Hi, Anyone know how and where to download mod_ssl package into Red Hat Enterprise Linux Server release 5.6 Beta (Tikanga) ? could you also show what's the procedure to apply the mod_ssl into the server and how to apply the digital cert into apache server and so on. Thanks. (1 Reply)
Discussion started by: ckwan
1 Replies

2. UNIX for Dummies Questions & Answers

Special characters automatically gets returned - Red Hat Enterprise Linux Server release 7.0

Dear experts, We are using Linux OS i.e Red Hat Enterprise Linux Server release 7.0 I log to the server using putty & default shell is -bash4.2$ echo $SHELL /bin/bash special character automatically gets returned in my putty. -bash-4.2$ ~ Also this special... (4 Replies)
Discussion started by: dba1981
4 Replies
PTHREAD_JOIN(3) 					     Linux Programmer's Manual						   PTHREAD_JOIN(3)

NAME
pthread_join - join with a terminated thread SYNOPSIS
#include <pthread.h> int pthread_join(pthread_t thread, void **retval); Compile and link with -pthread. DESCRIPTION
The pthread_join() function waits for the thread specified by thread to terminate. If that thread has already terminated, then pthread_join() returns immediately. The thread specified by thread must be joinable. If retval is not NULL, then pthread_join() copies the exit status of the target thread (i.e., the value that the target thread supplied to pthread_exit(3)) into the location pointed to by *retval. If the target thread was canceled, then PTHREAD_CANCELED is placed in *retval. If multiple threads simultaneously try to join with the same thread, the results are undefined. If the thread calling pthread_join() is canceled, then the target thread will remain joinable (i.e., it will not be detached). RETURN VALUE
On success, pthread_join() returns 0; on error, it returns an error number. ERRORS
EDEADLK A deadlock was detected (e.g., two threads tried to join with each other); or thread specifies the calling thread. EINVAL thread is not a joinable thread. EINVAL Another thread is already waiting to join with this thread. ESRCH No thread with the ID thread could be found. CONFORMING TO
POSIX.1-2001. NOTES
After a successful call to pthread_join(), the caller is guaranteed that the target thread has terminated. Joining with a thread that has previously been joined results in undefined behavior. Failure to join with a thread that is joinable (i.e., one that is not detached), produces a "zombie thread". Avoid doing this, since each zombie thread consumes some system resources, and when enough zombie threads have accumulated, it will no longer be possible to create new threads (or processes). There is no pthreads analog of waitpid(-1, &status, 0), that is, "join with any terminated thread". If you believe you need this function- ality, you probably need to rethink your application design. All of the threads in a process are peers: any thread can join with any other thread in the process. EXAMPLE
See pthread_create(3). SEE ALSO
pthread_cancel(3), pthread_create(3), pthread_detach(3), pthread_exit(3), pthread_tryjoin_np(3), pthreads(7) COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can be found at http://www.kernel.org/doc/man-pages/. Linux 2008-11-27 PTHREAD_JOIN(3)
All times are GMT -4. The time now is 11:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy