Re: Broadcasting to terminals from kernelspace?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



No, I don't want a printk() call, I want to broadcast to all open
terminals, much like the 'wall' command does.

Cheers,
Stephen

On 08/27/2010 04:14 PM, Martin wrote:
> this is probably the most basic thing to learn when getting into kernel
> development...
>
> have a look at this for example...
>
> http://www.prabusurendra.com/tutors/lt2/lt2.html
>
> On Fri, 2010-08-27 at 13:44 +1000, Scream wrote:
>   
>> Hi,
>>
>> Is there any easy-ish way to implement a wall-like functionality in a
>> kernel module? For example, if I wanted to load my hypothetical module,
>> could I get something similar to the following output?
>>
>> stephen@icipher:~% insmod ./broadcaster.ko
>> Broadcast message from kernel module "broadcaster":
>>     I was loaded!
>>
>> stephen@icipher:~%
>>
>> Thanks in advance,
>> Stephen
>>
>> --
>> To unsubscribe from this list: send an email with
>> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
>> Please read the FAQ at http://kernelnewbies.org/FAQ
>>
>>     
>
>   


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux