Sponsored Content
Full Discussion: Console IO Problem ...
Top Forums Programming Console IO Problem ... Post 8741 by shaik786 on Wednesday 17th of October 2001 09:49:39 AM
Old 10-17-2001
hi!

try curses.h


curses(3) curses(3)

NAME

curses - Terminal screen-handling and optimization package
.
.
.


Rgds
Shaik
shaik786
 

10 More Discussions You Might Find Interesting

1. SCO

login problem at console

I am running sco 5.06 open server We have encountered the problem while login into the live Online server. After putting the usr as root, the system is taking time(20 Sec) to show me ‘Password:'. Sometimes the system shows login time out. Again sometimes the system is showing password:, after... (3 Replies)
Discussion started by: rahmanm
3 Replies

2. IP Networking

netscape console auth problem

:( hi all , i have installed netscape console on my local pc to connect to webmail server using LDAP . when i try to login from my console i get an error "Http Exception: Response: Http/1.1 500 Server Error Status 500" i was told that i need to add my IP to the local.conf file. ... (1 Reply)
Discussion started by: ppass
1 Replies

3. UNIX for Advanced & Expert Users

Problem regarding :::: Xen virtual console

hello, I am using fedora core 6. and there is Xen Virtual Console installed in my system ....due to which I am not able to use my serial ports....... What is thi Xen virtual console and what it does????? So, Can I unintall this Xen virtual Console..... or any method so that I can use my... (3 Replies)
Discussion started by: arunchaudhary19
3 Replies

4. AIX

Console problem

Dear gentlemen I faced one problem when i made shutdown to my server AIX pserise/6000 the problem is the console (my console is outside not inside the server) corrupted during shutdown and restart so in this case I have to reinstall the linux in the console to allow me manage LPARS in the... (11 Replies)
Discussion started by: magasem
11 Replies

5. Solaris

Help me with console login problem

Hi, I have solaris 10 installed on my computer and when try to login in console mode, it would give output something like this. login:root Password: Last login: Thu May 29 10:00:55 on console -sh: syntax error: `(' unexpected -sh: grep: not found -sh: uname: not found -sh: test:... (1 Reply)
Discussion started by: eamani_sun
1 Replies

6. Shell Programming and Scripting

output console problem

kill -s KILL 0 ----------------------- ----------------------- i have used this command in a script...it is showing "killed" in output console. i don't want that.plz help what to do.i have tried --kill -s KILL 0 >/dev/null it is still showing "killed" in the output console...what to do? (1 Reply)
Discussion started by: arghya_owen
1 Replies

7. Solaris

T5220 Console Problem

Hi Peeps, Apologies if this is the wrong forum for this, if it is can someone point me in the direction of the right one? Problem: I've dropped an XVR-300 Graphics card into a T5220, configured it to output and input from the screen and keyboard instead of the virtual console. It... (3 Replies)
Discussion started by: callmebob
3 Replies

8. Solaris

Ultra 5 serial console problem

Hi I have a stupid problem with ultra 5 console connection. I can't connect to serial port with my laptop. I made these configurations from ok prompt: OK setenv input-device ttya OK setenv output-device ttya OK setenv auto-boot? false I tried to connect to machine with cisco rollover... (5 Replies)
Discussion started by: noizer`
5 Replies

9. Solaris

Problem with Console Connection

I'm having a problem establishing a console connection between a V240 and a V440. I verified and re verified the connection was in the correct places. Commands: # tip hardwire connected Nothing happens after that. Other V440's work fine with the receiving the connection. Is there a... (8 Replies)
Discussion started by: adelsin
8 Replies

10. Solaris

Problem in intiating x11 console

Hello, I have a Solaris-10 non global zone. I am using MobaXterm. I login on box with root and then "su - caddrd" and then "/usr/local/bin/sudo -u cadwebppc /cad/envs/qa-cm/cadwccDomain/ucm/cs/bin/UserAdmin". This is supposed to open a GUI console, but it is failing and I am not able to figure... (2 Replies)
Discussion started by: solaris_1977
2 Replies
curses_variables(3NCURSES)												curses_variables(3NCURSES)

NAME
COLORS, COLOR_PAIRS, COLS, ESCDELAY, LINES, TABSIZE, curscr, newscr, stdscr - curses global variables SYNOPSIS
#include <curses.h> int COLOR_PAIRS; int COLORS; int COLS; int ESCDELAY; int LINES; int TABSIZE; WINDOW * curscr; WINDOW * newscr; WINDOW * stdscr; DESCRIPTION
This page summarizes variables provided by the curses library. A more complete description is given in the curses(3X) manual page. Depending on the configuration, these may be actual variables, or macros (see threads(3NCURSES)) which provide read-only access to curses's state. In either case, applications should treat them as read-only to avoid confusing the library. COLOR_PAIRS After initializing curses, this variable contains the number of color pairs which the terminal can support. Usually the number of color pairs will be the product COLORS*COLORS, however this is not always true: o a few terminals use HLS colors, which do not follow this rule o terminals supporting a large number of colors are limited by the number of color pairs that can be represented in a signed short value. COLORS After initializing curses, this variable contains the number of colors which the terminal can support. COLS After initializing curses, this variable contains the width of the screen, i.e., the number of columns. ESCDELAY This variable holds the number of milliseconds to wait after reading an escape character, to distinguish between an individual escape char- acter entered on the keyboard from escape sequences sent by cursor- and function-keys (see curses(3X). LINES After initializing curses, this variable contains the height of the screen, i.e., the number of lines. TABSIZE This variable holds the number of columns used by the curses library when converting a tab character to spaces as it adds the tab to a win- dow (see curs_addch(3X). The Current Screen This implementation of curses uses a special window curscr to record its updates to the terminal screen. The New Screen This implementation of curses uses a special window newscr to hold updates to the terminal screen before applying them to curscr. The Standard Screen Upon initializing curses, a default window called stdscr, which is the size of the terminal screen, is created. Many curses functions use this window. NOTES
The curses library is initialized using either initscr(3X), or newterm(3X). If curses is configured to use separate curses/terminfo libraries, most of these variables reside in the curses library. PORTABILITY
ESCDELAY and TABSIZE are extensions, not provided in most other implementations of curses. SEE ALSO
ncurses(3NCURSES), threads(3NCURSES), terminfo_variables(3NCURSES), terminfo(3X), terminfo(5). curses_variables(3NCURSES)
All times are GMT -4. The time now is 05:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy