scancode_to_name(3alleg4) Allegro manual scancode_to_name(3alleg4)NAME
scancode_to_name - Converts a scancode to a key name. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
const char *scancode_to_name(int scancode);
DESCRIPTION
This function returns a string pointer containing the name of they key with the given scancode. This is useful if you e.g. let the user
choose a key for some action, and want to display something more meaningful than just the scancode. Example:
char const *keyname = scancode_to_name(scancode);
allegro_message("You pressed the %s key.", keyname);
SEE ALSO scancode_to_ascii(3alleg4), exkeys(3alleg4)Allegro version 4.4.2 scancode_to_name(3alleg4)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)