taskThe GNU Hurd - Tasks: task #2502, Broadcast bell events

 
 

task #2502: Broadcast bell events

Submitter:  Marcus Brinkmann <marcus>
Submitted:  -
   
 
Category:  Console Should Start On:  Tue 05 Aug 2003 10:00:00 PM UTC
Should be Finished on:  Tue 05 Aug 2003 10:00:00 PM UTC Priority:  * 5 - Normal
Status:  None Privacy:  Public
Assigned to:  marco_g Percent Complete:  75 (Error - Not Found)
Open/Closed:  Open Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

-, original submission:  

The console server should broadcast a bell event on one
virtual console to all virtual consoles.  This can then be
used by the console clients to notify the user of the bell
event in the other consoles (for example by ringing the bell,
or by a screen-like message "bell in window NR".

For this, a flag in cons_change_t what could be used, and if
that flag is on, the second word that is still free could
be used to contain the VC number (hurd/console.h):

typedef union
{
  struct
  {
    uint32_t start;
    uint32_t end;
  } matrix;
  struct
  {
    uint32_t unused;
    uint32_t vc;
  } extern_bell_audible;
  struct
  {
    uint32_t cursor_pos : 1;
    uint32_t cursor_status : 1;
    uint32_t screen_cur_line : 1;
    uint32_t screen_scr_lines : 1;
    uint32_t bell_audible : 1;
    uint32_t bell_visible : 1;
    uint32_t flags : 1;
    uint32_t extern_bell_audible : 1;
    uint32_t _unused : 23;
    uint32_t not_matrix : 1;
    /* Here are 32 more unused bits.  */
  } what;
} cons_change_t;

Marcus Brinkmann <marcus>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2003-08-11 marco_g Percent CompleteNone None

Back to the top

Powered by Savane 3.14-3b9d.
Corresponding source code