Visit Our UNIX and Linux User Community


How to get Key codes


 
Thread Tools Search this Thread
Top Forums Programming How to get Key codes
# 8  
Old 01-02-2002
Hi Shaik,
I tried the code which got me some messages that i could not understand.
could you please look into that.

I ran it on HPUX B.11.00
The message is as follows..

/usr/ccs/bin/ld: Unsatisfied symbols:
stdscr (data)
wgetch (code)
initscr (code)
endwin (code)
sskb
# 9  
Old 01-02-2002
Those routines are in the curses library. When you compile you need to do something like:
cc whatever.c -lcurses -o whatever
# 10  
Old 01-02-2002
thanks Perderabo,
it is working fine
Smilie
sskb
# 11  
Old 01-02-2002
MySQL Thanks I got it

Hi Shaik, Perderabo,
I got it, its working fine.
Many Thanks to All

Wish You all a Very Happy New Year 2002!!!Smilie
Anent
# 12  
Old 01-13-2002
Java

Hi All.
I am still a beginner in Unix.I have got one program.i am not getting the solution for one program.Will anybody help me soon.

Q.write a C program which accepts a valid directory name as a command line argument and list all the files in the given diirectory as well as all the files in subsequent directories.(The solution can be recursive or non-recursive).

I need the solution immediately.I need it desperately within 15th Jan.
# 13  
Old 01-14-2002
See the man pages on:

Code:

opendir()
readdir()
closedir()

shaik786

Previous Thread | Next Thread
Test Your Knowledge in Computers #760
Difficulty: Easy
Most modern (fast) CPUs have multiple levels of CPU caches
True or False?

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell Script @ Find a key word and If the key word matches then replace next 7 lines only

Hi All, I have a XML file which is looks like as below. <<please see the attachment >> <?xml version="1.0" encoding="UTF-8"?> <esites> <esite> <name>XXX.com</name> <storeId>10001</storeId> <module> ... (4 Replies)
Discussion started by: Rajeev_hbk
4 Replies

2. Solaris

Solaris 8 ssh public key authentication issue - Server refused our key

Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks. ... (1 Reply)
Discussion started by: aixlover
1 Replies

3. AIX

Warning codes

Dear Experts, i am very to AIX when i am trying to compile my code i am getting two warning several times like 1540-0053 (W) The declaration of a class member within the class definition must not be qualified. "/usr/include/alloca.h", line 34.9: 1540-1401 (I) An unknown "pragma __alloca" is... (1 Reply)
Discussion started by: vin_pll
1 Replies

4. UNIX for Dummies Questions & Answers

Pressing backspace key simulates enter key

Hi, Whenever i press the backspace key, a new line appears, i.e. it works like a enter key. :confused: Thanks (2 Replies)
Discussion started by: vibhor_agarwali
2 Replies

5. UNIX for Advanced & Expert Users

Return Codes

I have a simple script which renames a file.How do i capture the return code of the script if the script fails (3 Replies)
Discussion started by: kris01752
3 Replies

6. Cybersecurity

SSH key code versus server key code

Hi, When logging in using SSH access (to a remotely hosted account), I received a prompt to accept a server's key fingerprint. Wrote that string of code down for comparision. Already emailed my host for their listing of the string of code for the server's key fingerprint (for comparison,... (1 Reply)
Discussion started by: Texan
1 Replies

7. UNIX for Dummies Questions & Answers

Help with Return codes

I have the below script I am running on a Solaris system to check the status of a Tivoli Workload Scheduler job and return the status. We need this script to return a '0' if any of the jobs in the stream are in a "EXEC" state and an "1" if in a "HOLD" state. I am not a programmer so I am not sure... (1 Reply)
Discussion started by: leezer1204
1 Replies

8. Programming

exit codes

Where can a locate a list of Unix exit codes? thank you, Donna (3 Replies)
Discussion started by: donna carter
3 Replies

Featured Tech Videos