Mail Archives: djgpp/1996/12/03/01:46:12
On 2 Dec 1996, Jerzy Witkowski wrote:
> ============================== result from DJGPP `awk'
> awk: cmd. line:2: fatal: error reading input file `stdin':
> Permission denied (EACCES)
> ==============================
Would you care to tell how did you invoke `awk' to get the above
problem?
> BTW, on my computer normal PC arrow keys didn't work in bash (it
> seems every one of them generates `C-@' only).
`bash' uses the `readline' library to read the keystrokes, and the DJGPP
port of that library doesn't support arrows. Use the Emacs-style
cursor-motion keys instead (^P for previous line, ^N for next line, ^F
for forward character, ^B for backward character, etc.). Better still,
grab the sources and teach `readline' about editing keys (as far as I
remember, it's a simple matter of using a different library function to
read the keyboard).
- Raw text -