escape char for remote session should be different

Bug #1770427 reported by Jeff Lane 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Next Generation Checkbox (CLI)
Fix Released
Medium
Maciej Kisielewski

Bug Description

Currently, the escape char for a remote session (to disconnect the local system from the remote checkbox remote service) is ctrl-c ctrl-c.

This should probably be changed before this is too widely publicised to avoid confusion (IMO).

ctrl-c is typically expected to kill a process, not disconnect from a remote shell (that I'm aware of at least).

A closer analog would be 'ctrl-a d' in screen where ctrl-a tells screen to listen for the next keypress and d tells screen to disconnect from the current session.

ctrl-c may be technically correct (it's SIGINT vs a kill) but the expected result from ctrl-c is the same in most cases, a terminated process, not a disconnect.

https://askubuntu.com/questions/510811/what-is-the-difference-between-ctrl-z-and-ctrl-c-in-the-terminal

Anyway, just food for thought, more than any sort of critical bug.

Revision history for this message
Maciej Kisielewski (kissiel) wrote :

ctrl+c now asks user what was their intention. And it should have everything covered.

Changed in checkbox-ng:
assignee: nobody → Maciej Kisielewski (kissiel)
importance: Undecided → Medium
status: New → Fix Committed
Changed in checkbox-ng:
milestone: none → 1.2.0
Changed in checkbox-ng:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.