Local console is fine, its via syncterm the backspace key is not being intercepted and replaced by backspace.
Type: Posts; User: cnnx
Local console is fine, its via syncterm the backspace key is not being intercepted and replaced by backspace.
#include <stdio.h>
int main(void)
{
char username[16],ch;
int i=0;
printf("\nUsername:");
while(1)
{
I've added the check, it no longer does a segmentation fault but also doesn't print the username with the printf statement. Is this because I'm using curses.h?
#include <stdio.h>
#include...
I have the following code:
#include <stdio.h>
#include <curses.h>
void main(void)
{
char username[15],ch;
int i=0;