Sponsored Content
Special Forums Hardware Maxtor 6Y120M0 not recognized by Linux Mint 10 "Julia" – KDE (64-bit) Post 302500464 by Corona688 on Monday 28th of February 2011 04:22:19 PM
Old 02-28-2011
Okay, so you're giving it its own drive then. Hook that drive up by itself and mint should install much easier (and with much less risk of it trampling over anything else). Once it's installed, you can control which drive your computer boots first through the CMOS settings, or perhaps f12 boot-selection if your BIOS has that.

"alt-f4" doesn't close a window in a prompt because there is no window. You're not in a GUI! You don't have to "escape" the dmesg output either -- it quits by itself when it's done, so do nearly any console commands except editors and viewers. That red thing is a "prompt", when you see a cursor flashing beside it that means the console's waiting for you to type something into it and hit enter.

So you didn't "quit" anything as there was nothing to quit, I think you actually managed to switch to a different console. When a gentoo minimal CD boots it puts you into text mode, in terminal one. There's at least six separate terminals available via ctrl-alt-f1 through ctrl-alt-f6. alt-left or alt-right cycle through them in different directions I think.

alt-f4 is a Windows thing anyway. In lots of window managers it does nothing.

Last edited by Corona688; 02-28-2011 at 05:36 PM..
 
readkey(3alleg4)                                                  Allegro manual                                                  readkey(3alleg4)

NAME
readkey - Returns the next character from the keyboard buffer. Allegro game programming library. SYNOPSIS
#include <allegro.h> int readkey(); DESCRIPTION
Returns the next character from the keyboard buffer, in ASCII format. If the buffer is empty, it waits until a key is pressed. You can see if there are queued keypresses with keypressed(). The low byte of the return value contains the ASCII code of the key, and the high byte the scancode. The scancode remains the same whatever the state of the shift, ctrl and alt keys, while the ASCII code is affected by shift and ctrl in the normal way (shift changes case, ctrl+letter gives the position of that letter in the alphabet, eg. ctrl+A = 1, ctrl+B = 2, etc). Pressing alt+key returns only the scan- code, with a zero ASCII code in the low byte. For example: int val; ... val = readkey(); if ((val & 0xff) == 'd') /* by ASCII code */ allegro_message("You pressed 'd' "); if ((val >> 8) == KEY_SPACE) /* by scancode */ allegro_message("You pressed Space "); if ((val & 0xff) == 3) /* ctrl+letter */ allegro_message("You pressed Control+C "); if (val == (KEY_X << 8)) /* alt+letter */ allegro_message("You pressed Alt+X "); This function cannot return character values greater than 255. If you need to read Unicode input, use ureadkey() instead. SEE ALSO
install_keyboard(3alleg4), ureadkey(3alleg4), keypressed(3alleg4), clear_keybuf(3alleg4), simulate_keypress(3alleg4) Allegro version 4.4.2 readkey(3alleg4)
All times are GMT -4. The time now is 09:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy