# Remote shell questions

**URL:** <https://forum.sierrawireless.com/t/remote-shell-questions/4345>\
**Category:** Development tools\
**Created:** [April 8, 2010, 7:06am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345 "2010-04-08T07:06:05Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisbrown](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chrisbrown](https://forum.sierrawireless.com/u/chrisbrown)\
**Post date:** [April 8, 2010, 7:06am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/1 "2010-04-08T07:06:05Z")

</div>

Is it possible to prevent the remote shell from automatically scrolling to the bottom when new output is received? This behaviour is really irritating when trying to read through output history, as you lose your place every time a new message is received.

Is it possible to prevent M2M from closing the remote shell every time you launch a new instance, or close the serial port? While I can appreciate that it can be nice to start a new session with a clean shell, I like to be able to see and compare the old output, and use the command history. All of this is lost if the shell is closed, unless you export it somewhere first.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [April 8, 2010, 8:51am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/2 "2010-04-08T08:51:07Z")

</div>

Note that the whole target management piece is recognised to be broken and, we are told, is being totally re-worked.

For now, your best option is probably to go back the old Target Monitoring Tool (TMT) and Terminal Emulator (TE).

You can have both M2MStudio and TMT/TE connected simultaneously: use M2MStudio for downloading (only) and TMT/TE for debugging.

That’s what I do, anyhow. 8)

> [@chrisbrown](#):
>
> Is it possible to prevent the remote shell from automatically scrolling to the bottom when new output is received?

The scroll lock toolbar button is supposed to do this - but doesn’t work properly

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [April 8, 2010, 8:57am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/3 "2010-04-08T08:57:38Z")

</div>

> [@awneil](#):
>
> You can have both M2MStudio and TMT/TE connected simultaneously: use M2MStudio for downloading (only) and TMT/TE for debugging.
> 
> That’s what I do, anyhow. 8)

See: [Starting debug: does it have to be this cumbersome? - #14 by awneil](https://forum.sierrawireless.com/t/starting-debug-does-it-have-to-be-this-cumbersome/3212/14)

---

<div class="post-metadata">

**Author:** ![Madouc](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Madouc](https://forum.sierrawireless.com/u/Madouc)\
**Post date:** [April 8, 2010, 12:01pm UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/4 "2010-04-08T12:01:11Z")

</div>

> [@awneil](#):
>
> The scroll lock toolbar button is supposed to do this - but doesn’t work properly

it works … but just until the display buffer is full.

---

<div class="post-metadata">

**Author:** ![chrisbrown](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chrisbrown](https://forum.sierrawireless.com/u/chrisbrown)\
**Post date:** [April 8, 2010, 12:22pm UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/5 "2010-04-08T12:22:07Z")

</div>

> [@Madouc](#):
>
> > [@awneil](#):
> >
> > The scroll lock toolbar button is supposed to do this - but doesn’t work properly
> 
> it works … but just until the display buffer is full.

I can’t find this button on the remote shell window. I can find it on the console and trace windows though. It doesn’t help that the icon is different each time ❗ - on the console window it looks like a padlock, and on the trace window it looks like a window with a padlock in the corner.

What does the icon look like for the remote shell, and where is it? Is it enabled by default, or do I have to do something to make it visible?

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [April 8, 2010, 1:16pm UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/6 "2010-04-08T13:16:40Z")

</div>

To be honest, is it worth worrying about?

Does it matter where it is or what it looks like when it doesn’t actually work anyhow?!

---

<div class="post-metadata">

**Author:** ![chrisbrown](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chrisbrown](https://forum.sierrawireless.com/u/chrisbrown)\
**Post date:** [April 8, 2010, 1:37pm UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/7 "2010-04-08T13:37:59Z")

</div>

> [@awneil](#):
>
> To be honest, is it worth worrying about?
> 
> Does it matter where it is or what it looks like when it doesn’t actually work anyhow?!

Madouc said that it works until the buffer is full. For most situations, this is enough.

---

<div class="post-metadata">

**Author:** ![Madouc](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Madouc](https://forum.sierrawireless.com/u/Madouc)\
**Post date:** [April 8, 2010, 9:40pm UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/8 "2010-04-08T21:40:32Z")

</div>

> [@chrisbrown](#):
>
> > [@awneil](#):
> >
> > To be honest, is it worth worrying about?
> > 
> > Does it matter where it is or what it looks like when it doesn’t actually work anyhow?!
> 
> Madouc said that it works until the buffer is full. For most situations, this is enough.

I’m sorry, I’ve seemed to have confused the trace with the remote shell window.  
the remote shall window has no scroll-lock possibilities.

---

<div class="post-metadata">

**Author:** ![chrisbrown](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chrisbrown](https://forum.sierrawireless.com/u/chrisbrown)\
**Post date:** [April 16, 2010, 11:42am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/9 "2010-04-16T11:42:59Z")

</div>

Another thing I’ve just noticed, is that the remote shell window will steal the focus whenever new data arrives. This means that you can’t have the remote shell window visible while for example, you write or scroll through some code.

---

<div class="post-metadata">

**Author:** ![daav](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/daav/32/2767_2.png) [@daav](https://forum.sierrawireless.com/u/daav)\
**Post date:** [April 19, 2010, 12:04pm UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/10 "2010-04-19T12:04:00Z")

</div>

As told by awneil, these points are some of the numerous ones we will take care about in the new TM implementation.  
Anyway, thanks to keep on posting what’s wrong with the current implementation: that’s giving us tracks and requirements for the future.

---

<div class="post-metadata">

**Author:** ![Madouc](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@Madouc](https://forum.sierrawireless.com/u/Madouc)\
**Post date:** [April 20, 2010, 8:14am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/11 "2010-04-20T08:14:43Z")

</div>

Also, can you please fix the copy fuctionality?  
(it doesn’t work right now, neither for the remote shell as for the traces)

---

<div class="post-metadata">

**Author:** ![chrisbrown](https://avatars.discourse-cdn.com/v4/letter/c/e19adc/32.png) [@chrisbrown](https://forum.sierrawireless.com/u/chrisbrown)\
**Post date:** [June 8, 2010, 9:29am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/12 "2010-06-08T09:29:09Z")

</div>

Did the target monitoring refactoring make it into the 1.1.2 release? So far I have not noticed any difference.

---

<div class="post-metadata">

**Author:** ![daav](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/daav/32/2767_2.png) [@daav](https://forum.sierrawireless.com/u/daav)\
**Post date:** [June 10, 2010, 7:57am UTC](https://forum.sierrawireless.com/t/remote-shell-questions/4345/13 "2010-06-10T07:57:28Z")

</div>

Sorry but TM refactoring is planned for 1.2.0; nothing new in 1.1.2  
As this refactoring was more important than expected, we made the decision to release the 1.1.2 earlier, in order to fix some issues.  
1.2.0 is planned after the Summer; we will push a public beta version first to let you test it before making it official.

Thanks.
