Source Code File 04-05_acslist

04-05_acslist.c

#include <ncurses.h>
   
int main()
{
    int a;

    initscr();
    
    for(a=0;a<127;a++)
    {
        printw("\t%2X:",a);
        addch(A_ALTCHARSET | a);
    }
    refresh();
    getch();

    endwin();
    return 0;
}

Output Screenshot

Notes

* The first few lines of output may get messed up depending on how the terminal interprets the codes.