[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9681.0. "Problem wit C library ?" by NNTPD::"[email protected]" ([email protected]) Wed Apr 30 1997 12:42


Hi 

Customer ports some programms from Ultrix V4.4 to Unix V4.0b. 
One of this Programms should display an input mask for a customer written
program.
Customer runs this program successful on Ultrix V4.4 and has linked this with 
"-lcursesX" .
On Digital Unix he uses "-lcurses" because cursesX isn't available .
Now if he run this programm , he can't see this inputmask , because on the end

there are some other control characters.
On Ultrix and on Unix he use TERM=Vt220 .

od -c ultrix_programm  (which run successful on Ultrix)

0000000  033   [   1   ;   1   H 033   [   !   p 033   [   2   J 033   )
0000020    0 033   [   1   m 033   #   6   O   n   l   i   n   e   -   H
0000040    e   l   p   s   y   s   t   e   m               M   o   n   t
0000060    a   g               1   7   .       M 344   r   z       9   7
0000100  033   [   2   ;   1   H   -   -   -   -   -   -   -   -   -   -
0000120    -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
*
0000220    -   -   -   -   -   - 033   [   2   3   ;   1   H   -   -   -
0000240    -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
*
0000340    -   -   -   -   -   -   -   -   -   -   -   -   - 033   [   2
0000360    4   ;   1   H       ^   v       Z   e   i   l   e           B
0000400    I   L   D   ^   v       S   e   i   t   e               P   F
0000420    1       N   e   u   e   s       H   e   l   p           P   F
0000440    2       L   e   t   z   t   e   s       H   e   l   p        
0000460    P   F   3       I   n   d   e   x               P   F   4    
0000500    E   n   d   e 033   [   0   m 033   [   3   ;   2   2   r 033
0000520    [   3   ;   1   H  \r 033   [   2   K  \t  \t  \t 033   [   7
0000540    m   V   e   r   w   a   l   t   e   n       B   e   n   u   t
0000560    z   e   r 033   [   0   m 033   [   4   ;   1   H  \r 033   [
0000600    2   K 033   [   5   ;   1   H  \r 033   [   2   K   M   i   t
0000620        d   i   e   s   e   r       M   a   s   k   e       w   e
0000640    r   d   e   n       d   i   e       B   e   n   u   t   z   e
0000660    r       e   i   n   e   s       P   r   o   g   r   a   m   m
0000700    p   a   k   e   t   e   s       u   n   d       d   i   e    
0000720    Z   u   g   e   h 366   r   i   g   - 033   [   6   ;   1   H
0000740   \r 033   [   2   K   k   e   i   t       z   u       d   e   n
0000760        A   b   t   e   i   l   u   n   g   e   n       d   e   f
0001000    i   n   i   e   r   t   . 033   [   7   ;   1   H  \r 033   [
0001020    2   K 033   [   8   ;   1   H  \r 033   [   2   K 033   [   9
0001040    ;   1   H  \r 033   [   2   K 033   [   4   m   1   .       A
0001060    u   s   w   a   h   l       P   r   o   j   e   k   t 033   [
0001100    0   m 033   [   1   0   ;   1   H  \r 033   [   2   K  \t   1
0001120    .   1   .       P   r   o   j   e   k   t 033   [   1   1   ;
0001140    1   H  \r 033   [   2   K  \t  \t   N   a   m   e       d   e
0001160    s       P   r   o   j   e   k   t   e   s   ,       f 374   r
0001200        d   a   s       B   e   n   u   t   z   e   r       e   i
0001220    n   g   e   t   r   a   g   e   n       w   e   r   d   e   n
0001240    . 033   [   1   2   ;   1   H  \r 033   [   2   K 033   [   1
0001260    3   ;   1   H  \r 033   [   2   K  \t 033   [   1   m   S   U
0001300    C   H   E   N 033   [   0   m  \t  \t   A   u   s   w   a   h
0001320    l       a   u   s       P   r   o   j   e   k   t   f   e   n
0001340    s   t   e   r 033   [   1   4   ;   1   H  \r 033   [   2   K
0001360   \t 033   [   1   m   B   I   L   D   v   v   v 033   [   0   m
0001400   \t  \t   h   i   n   a   b       z   u       d   e   n       B
0001420    e   n   u   t   z   e   r   e   i   n   g   a   b   e   n 033
0001440    [   1   5   ;   1   H  \r 033   [   2   K  \t 033   [   1   m
0001460    P   F   4 033   [   0   m  \t  \t   b   e   e   n   d   e   n
0001500        d   e   r       M   a   s   k   e   ,       z   u   r 374
0001520    c   k       z   u   m       M   e   n 374 033   [   1   6   ;
0001540    1   H  \r 033   [   2   K 033   [   1   7   ;   1   H  \r 033
0001560    [   2   K 033   [   1   8   ;   1   H  \r 033   [   2   K 033
0001600    [   4   m   2   .       E   i   n   g   a   b   e   n 033   [
0001620    0   m 033   [   1   9   ;   1   H  \r 033   [   2   K  \t   2
0001640    .   1   .       A   c   c   o   u   n   t   n   a   m   e 033
0001660    [   2   0   ;   1   H  \r 033   [   2   K  \t  \t   N   a   m
0001700    e       d   e   s       B   e   n   u   t   z   e   r   s    
0001720    l   t   .       O   S   -   A   c   c   o   u   n   t       m
0001740    i   t       v   o   r   a   n   g   e   s   t   e   l   l   t
0001760    e   m       O   P   S   $ 033   [   2   1   ;   1   H  \r 033
0002000    [   2   K  \t  \t   f 374   r       A   u   t   o   -   L   o
0002020    g   o   n   . 033   [   2   2   ;   1   H  \r 033   [   2   K
0002040   \t   2   .   2   .       B   e   n   u   t   z   e   r   n   a
0002060    m   e 033   [   2   2   ;   1   H 033   [   ?   1   h
0002076


od -c unix_programm
********************
0000000  033   [   ?   1   h 033   [   1   ;   1   H 033   [   !   p 033
0000020    [   2   J 033   )   0 033   [   1   m 033   #   6   O   n   l
0000040    i   n   e   -   H   e   l   p   s   y   s   t   e   m        
0000060        M   o   n   t   a   g               1   7   .       M 344
0000100    r   z       9   7 033   [   2   ;   1   H   -   -   -   -   -
0000120    -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
*
0000220    -   -   -   -   -   -   -   -   -   -   - 033   [   2   3   ;
0000240    1   H   -   -   -   -   -   -   -   -   -   -   -   -   -   -
0000260    -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
*
0000360    -   - 033   [   2   4   ;   1   H       ^   v       Z   e   i
0000400    l   e           B   I   L   D   ^   v       S   e   i   t   e
0000420                P   F   1       N   e   u   e   s       H   e   l
0000440    p           P   F   2       L   e   t   z   t   e   s       H
0000460    e   l   p           P   F   3       I   n   d   e   x        
0000500        P   F   4       E   n   d   e 033   [   0   m 033   [   0
0000520    m 033   [   3   ;   1   H  \r 033   [   2   K  \t  \t  \t 033
0000540    [   7   m   V   e   r   w   a   l   t   e   n       B   e   n
0000560    u   t   z   e   r 033   [   0   m 033   [   4   ;   1   H  \r
0000600  033   [   2   K 033   [   5   ;   1   H  \r 033   [   2   K   M
0000620    i   t       d   i   e   s   e   r       M   a   s   k   e    
0000640    w   e   r   d   e   n       d   i   e       B   e   n   u   t
0000660    z   e   r       e   i   n   e   s       P   r   o   g   r   a
0000700    m   m   p   a   k   e   t   e   s       u   n   d       d   i
0000720    e       Z   u   g   e   h 366   r   i   g   - 033   [   6   ;
0000740    1   H  \r 033   [   2   K   k   e   i   t       z   u       d
0000760    e   n       A   b   t   e   i   l   u   n   g   e   n       d
0001000   \n   e   f   i   n   i   e   r   t   . 033   [   7   ;   1   H
0001020   \r 033   [   2   K 033   [   8   ;   1   H  \r 033   [   2   K
0001040  033   [   9   ;   1   H  \r 033   [   2   K 033   [   4   m   1
0001060    .       A   u   s   w   a   h   l       P   r   o   j   e   k
0001100    t 033   [   0   m 033   [   1   0   ;   1   H  \r 033   [   2
0001120    K  \t   1   .   1   .       P   r   o   j   e   k   t 033   [
0001140    1   1   ;   1   H  \r 033   [   2   K  \t  \t   N   a   m   e
0001160        d   e   s       P   r   o   j   e   k   t   e   s   ,    
0001200    f 374   r       d   a   s       B   e   n   u   t   z   e   r
0001220        e   i   n   g   e   t   r   a   g   e   n       w   e   r
0001240    d   e   n   . 033   [   1   2   ;   1   H  \r 033   [   2   K
0001260  033   [   1   3   ;   1   H  \r 033   [   2   K  \t 033   [   1
0001300    m   S   U   C   H   E   N 033   [   0   m  \t  \t   A   u   s
0001320    w   a   h   l       a   u   s       P   r   o   j   e   k   t
0001340    f   e   n   s   t   e   r 033   [   1   4   ;   1   H  \r 033
0001360    [   2   K  \t 033   [   1   m   B   I   L   D   v   v   v 033
0001400    [   0   m  \t  \t   h   i   n   a   b       z   u       d   e
0001420    n       B   e   n   u   t   z   e   r   e   i   n   g   a   b
0001440    e   n 033   [   1   5   ;   1   H  \r 033   [   2   K  \t 033
0001460    [   1   m   P   F   4 033   [   0   m  \t  \t   b   e   e   n
0001500    d   e   n       d   e   r       M   a   s   k   e   ,       z
0001520    u   r 374   c   k       z   u   m       M   e   n 374 033   [
0001540    1   6   ;   1   H  \r 033   [   2   K 033   [   1   7   ;   1
0001560    H  \r 033   [   2   K 033   [   1   8   ;   1   H  \r 033   [
0001600    2   K 033   [   4   m   2   .       E   i   n   g   a   b   e
0001620    n 033   [   0   m 033   [   1   9   ;   1   H  \r 033   [   2
0001640    K  \t   2   .   1   .       A   c   c   o   u   n   t   n   a
0001660    m   e 033   [   2   0   ;   1   H  \r 033   [   2   K  \t  \t
0001700    N   a   m   e       d   e   s       B   e   n   u   t   z   e
0001720    r   s       l   t   .       O   S   -   A   c   c   o   u   n
0001740    t       m   i   t       v   o   r   a   n   g   e   s   t   e
0001760    l   l   t   e   m       O   P   S   $ 033   [   2   1   ;   1
0002000    H  \n  \r 033   [   2   K  \t  \t   f 374   r       A   u   t
0002020    o   -   L   o   g   o   n   . 033   [   2   2   ;   1   H  \r
0002040  033   [   2   K  \t   2   .   2   .       B   e   n   u   t   z
0002060    e   r   n   a   m   e 033   [   2   2   ;   1   H 033   [   m  ->
???
0002100  033   (   B 033   [   H 033   [   J 033   [   2   3   B 033   [  ->
???
0002120    ?   1   l 033   [   m 033   (   B  \0  \0  \0  \0  \0  \0  \0  ->
???
0002140   \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  ->
???
*
0003000   \0  \0  \n
0003003


Has anyone an idea what we have to do to run this programm successfull on Unix
V4.0b ??

thanks in advance 
/Walter
[Posted by WWW Notes gateway]
T.RTitleUserPersonal
Name
DateLines