From: Valentin Lavrinenko <lvu@uaservice.com.ua> To: ALT Linux Community <community@lists.altlinux.org> Subject: Re: [Comm] PrintScreen Date: Thu, 02 Feb 2006 14:45:48 +0200 Message-ID: <43E1FEFC.8010504@uaservice.com.ua> (raw) In-Reply-To: <m3ek2pr5js.fsf@evg.krasnoyarsk.ru> Терешков Евгений wrote: >>>>Как сделать, чтобы по нажатию PrintScreen выполнялась печать >>>>содержимого экрана (текстовой консоли)? А точнее, вызов >>>>нужной команды с соответствующими параметрами (это может >>>>быть lpr, а может - что-то другое). > > Есть в моём ALT LM2.4 в файле /e/inittab такие строки: > ================================================================================= > # Action on special keypress (ALT-UpArrow). > kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work." > ================================================================================= > А без init можно как-то? Дело в том, что тот init, под которым это должно работать, не знает слова kbrequest (это в busybox). В принципе, покопавшись в исходниках нормального init'а, можно попробовать самому написать, но должно же быть что-то готовое... Я нашел прогу KeysID, но она работает только с /dev/input/input0, который, как я понял, только для USB (может, я неправ?) With best regards, LVU.
next prev parent reply other threads:[~2006-02-02 12:45 UTC|newest] Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-01-30 11:29 Valentin Lavrinenko 2006-01-30 11:40 ` Evgenii Terechkov 2006-01-30 14:54 ` Valentin Lavrinenko 2006-01-30 17:25 ` Терешков Евгений 2006-02-02 12:45 ` Valentin Lavrinenko [this message] 2006-02-02 12:53 ` Терешков Евгений 2006-02-02 13:39 ` Valentin Lavrinenko 2006-01-30 11:45 ` Andrii Dobrovol`s`kii
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=43E1FEFC.8010504@uaservice.com.ua \ --to=lvu@uaservice.com.ua \ --cc=community@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git