<div dir="ltr"><div><div><br></div><div><br></div> I forgot to include the mailing list :(<br><br></div>Best Regards,<br>Yash<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 27, 2014 at 9:53 PM, yash cp <span dir="ltr"><<a href="mailto:yashavanth.hsn@gmail.com" target="_blank">yashavanth.hsn@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ray, <div><br></div><div>I wasn't more specific about the requirements that needs to be accomplished in my previous mail.</div>
<div><br></div><div>Need your input in assessing this possibility. <br></div>
<div><br><div>Our requirements:</div><div><br></div><div>On pressing ESC button or after the system completely comes up, a terminal screen( with image and text parts) is to be shown.<br></div><div><br></div><div>Additionally,</div>

<div><br></div><div>1. Terminal should exist till the system goes down.( ie  plymouth should continue to run till system reboots or halts)</div><div>2. Terminal should display boot logs and enables user to login.</div><div>

3. User should be able  Enter and Execute commands </div><div>4. Terminal should display the command output.  </div><div><br></div><div>As of now, this is possible in bootsplash. I am trying to achieve the same  using plymouth ( we want to get rid of bootsplash)</div>

<div><br></div><div>I  am unable to draw both image and text at the same time as per your suggestions in previous mail.</div><div>Could you please help us with your suggestions.</div><div><br></div><div>Best Regards,</div>

<div>Yash</div><div><div class="h5"><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">yash cp</b> <span dir="ltr"><<a href="mailto:yashavanth.hsn@gmail.com" target="_blank">yashavanth.hsn@gmail.com</a>></span><br>

Date: Thu, Jun 26, 2014 at 5:04 PM<br>Subject: Re: custmoization of bootlog screen.<br>To: Ray Strode <<a href="mailto:halfline@gmail.com" target="_blank">halfline@gmail.com</a>><br><br><br><div dir="ltr"><div><div>
<div><div>Hi Ray </div>
</div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Jun 11, 2014 at 7:25 PM, Ray Strode <span dir="ltr"><<a href="mailto:halfline@gmail.com" target="_blank">halfline@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




Hey,<br>
<br>
Sorry for the slow reply, I've been selling my house so have been away<br>
from my computer.<br>
<div><br>
> Could you please provide with the hints on the same.<br>
</div>basically, plymouthd exposes a "ply_keyboard_t" object for managing<br>
keyboard input.  That object is passed to the splash plugins via the<br>
set_keyboard vfunc that the splash plugin registers with.  Typically a<br>
splash plugin doesn't do much with the keyboard object, since the<br>
stock keybindings are handled by the plymouthd core, and even the<br>
input side of password input is handled by plymouthd directly.  That<br>
object has a function<br></blockquote></div></div></div></div></blockquote><div><br></div></div><div>Done.. <br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div>
<div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
ply_keyboard_add_escape_handler() which registers a callback function<br>
that is called when the escape key is pressed.  Your splash plugin<br>
will need to call that function, but as I mentioned earlier, main.c<br>
will also need to stop registering for escape itself.<br>
<br></blockquote></div></div></div></div></blockquote></div><div>Done.. <br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>
<div><div class="gmail_extra">

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Once those two changes are made, you then just need to draw the<br>
console output along side (well below) your splash.  The console<br>
output is sent to you via the on_boot_output vfunc that the splash<br>
plugin initially registers with.  You'll want to save that output to a<br>
temporary buffer, and then draw the contents of the buffer from your<br>
on_draw handler at the same time you draw the rest of the splash.<br>
<br></blockquote></div></div></div></div></blockquote></div><div>I am unable to achieve this.<br></div><div>Do I need to use pixel_display ( not sure if I can display the text). ?<br></div><div>Do I need to use text display ( not sure if I can display image) ?<br>


<br></div><div>I tried using both, but only the pixel display contents are show. <br></div><div>I can see the bootlog messages  getting added to the buffer in the <br></div><div>on_boot handler.<br><br></div><div>basically, how to draw the console output along side (well below) splash. </div>


</div><div class="gmail_quote"><div>
<br></div><div>Could you please elaborate on how to achieve this.<br></div><div><br></div><div>Best Regards,<br>yash<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div>
<div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Make sense?<br>
<span><font color="#888888"><br>
--Ray<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>
</div><br></div></div></div></div></div>
</blockquote></div><br></div>