[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-28 Thread Alexander Naumov
Follow-up Comment #9, bug #58256 (project screen):


[comment #8 comment #8:]
> ctrl+a " -> show you list of windows, use arrows to navigate.
> It's still duplicate typing.
> 

If you have different windows (say "bash 0" and "bash 1") and when you're
typing on first one you see the same text on another window?

Ok, can you install git version of screen 4.8.0 and try to reproduce it there?

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-28 Thread Tuan Le
Follow-up Comment #8, bug #58256 (project screen):

ctrl+a " -> show you list of windows, use arrows to navigate.
It's still duplicate typing.


___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-28 Thread Alexander Naumov
Follow-up Comment #7, bug #58256 (project screen):


[comment #6 comment #6:]
> I have this case, I create 5 screen 0,1,2,3,4
> I'm working on screen 4, how can i switch to working on screen 2.
> As current I know, I need to swith to 0,1,2 or 3,2
> How can I direct switch to exact screen.

ctrl+a " -> show you list of windows, use arrows to navigate.
OR
ctrl+a a -> switch to the next window

But again: if you will have, for example, the same two windows on different
regions, you will see text you're typing twice.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-28 Thread Tuan Le
Follow-up Comment #6, bug #58256 (project screen):

 I have this case, I create 5 screen 0,1,2,3,4
I'm working on screen 4, how can i switch to working on screen 2.
As current I know, I need to swith to 0,1,2 or 3,2
How can I direct switch to exact screen.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-28 Thread Tuan Le
Follow-up Comment #5, bug #58256 (project screen):

[comment #3 comment #3:]
> This is not a bug, this is an expected behaviour.
> 
> You just made both regions show the same window – look at the bottom
lines, it shows "0 bash" under both regions.

[comment #4 comment #4:]
> [comment #2 comment #2:]
> > I used Ubuntu 20.04 LTS
> > 1. To install screen. sudo apt install screen -y
> > 2. this is my step:
> >  - Ctrl+a |-> split terminal vertically into regions
> >  - ctrl-a + tab -> move to new screen
> >  - Ctrl+a c -> new window
> 
> Here you can see, that the first window (left region) is "bash 0" and second
one (right region) is "bash 1".
> Now you can use and enjoy screen :-)
> 
> >  - Ctrl+a 0 
> 
> Now you still have two regions, but both of then show you the same window
"bash 0". That's the reason why context is also the same.
> So, I will expect that in this case if you type something you will see the
same text on both regions.
> 
> > As I understand It will switch to the first screen.
> 
> No, if you want to switch to the first region, you have to 'ctrl+a tab'
again.
> Ctrl+a  is used to switch between windows. As I said, you can see
the list of these with ctrl+a ".
> 
> > But It doesn't run as expected, My cursor still on the second screen.
> > but when i typing, text display in both of them. 
> > 
> 
> Yep, that's correct. That's not a bug ;-)

[comment #3 comment #3:]
> This is not a bug, this is an expected behaviour.
> 
> You just made both regions show the same window – look at the bottom
lines, it shows "0 bash" under both regions.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-28 Thread Alexander Naumov
Update of bug #58256 (project screen):

  Status:   Need Info => Invalid
 Assigned to:None => anaumov
 Open/Closed:Open => Closed 
 Release:None => 4.8.0  

___

Follow-up Comment #4:

[comment #2 comment #2:]
> I used Ubuntu 20.04 LTS
> 1. To install screen. sudo apt install screen -y
> 2. this is my step:
>  - Ctrl+a |-> split terminal vertically into regions
>  - ctrl-a + tab -> move to new screen
>  - Ctrl+a c -> new window

Here you can see, that the first window (left region) is "bash 0" and second
one (right region) is "bash 1".
Now you can use and enjoy screen :-)

>  - Ctrl+a 0 

Now you still have two regions, but both of then show you the same window
"bash 0". That's the reason why context is also the same.
So, I will expect that in this case if you type something you will see the
same text on both regions.

> As I understand It will switch to the first screen.

No, if you want to switch to the first region, you have to 'ctrl+a tab'
again.
Ctrl+a  is used to switch between windows. As I said, you can see the
list of these with ctrl+a ".

> But It doesn't run as expected, My cursor still on the second screen.
> but when i typing, text display in both of them. 
> 

Yep, that's correct. That's not a bug ;-)

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-28 Thread Václav Doležal
Follow-up Comment #3, bug #58256 (project screen):

This is not a bug, this is an expected behaviour.

You just made both regions show the same window – look at the bottom lines,
it shows "0 bash" under both regions.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-27 Thread Tuan Le
Follow-up Comment #2, bug #58256 (project screen):

I used Ubuntu 20.04 LTS
1. To install screen. sudo apt install screen -y
2. this is my step:
 - Ctrl+a |-> split terminal vertically into regions
 - ctrl-a + tab -> move to new screen
 - Ctrl+a c -> new window
 - Ctrl+a 0 -> As I understand It will switch to the first screen. But It
doesn't run as expected, My cursor still on the second screen. but when i
typing, text display in both of them. 

See my attachmen video

(file #48960)
___

Additional Item Attachment:

File name: Screencast from 04-28-2020 08:59:01 AM.webm Size:164 KB




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-27 Thread Alexander Naumov
Update of bug #58256 (project screen):

  Status:None => Need Info  

___

Follow-up Comment #1:

Hello Tuan,
thanks for report.

Please provide more information (step by step, what you did). Also information
about environment (operating system) and how you build/install GNU screen.

Command ctrl-n allows you to switch between windows.

So, for example, if you create the second region (ctrl+a S), switch here
(ctrl+a tab), then... you can create the new (second) window (ctrl+a a) OR
just use the existing one (ctrl+a n). If you will use existing one, you will
see the same output on the two different regions, because they will show you
the same window. You can check which window is used on current region by using
ctrl+a " comamnd.

Well, that's correct.

___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/




[screen-devel] [bug #58256] Error when swich between screens, parallel typing

2020-04-27 Thread Tuan Le
URL:
  

 Summary: Error when swich between screens, parallel typing 
 Project: GNU Screen
Submitted by: tuanld
Submitted on: Mon 27 Apr 2020 08:38:48 AM UTC
Category: Program Logic
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
 Open/Closed: Open
 Release: None
 Discussion Lock: Any
   Fixed Release: None
 Planned Release: None
   Work Required: None

___

Details:

Version 4.8
When I switch between screen by command ctrl+a n (number of screen).
It is still focus in current screen, when I typing, text is display in 2
screen as file attachment.




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/