LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2012, 07:14 AM   #1
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Rep: Reputation: 110Reputation: 110
Remove "tab 0" from GNU screen


What I hate about GNU screen is that my tabs are numbered 0 -> 1 -> 2 -> 3 ...

To me, the first tab is the first tab, so it can only be tab 1, not 0. Making me hit Ctrl-a 0, at the END of the key row, to go to the FIRST tab, is utter nonsense. In fact, I think counting from zero in software is one of the most stupid ideas ever. I mean, what the hell is a 'partition 0' or a 'hard disk 0'?

Anyway.

One of these days I ran into a screenshot of a screen session that looked just like mine except there was no 0 tab, just 1, 2, 3... How do I do that?
 
Old 05-01-2012, 09:18 AM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,490

Rep: Reputation: Disabled
Check 'man screen'.

You can start it or configure it to start up with various setting, including named screen sessions.
 
1 members found this post helpful.
Old 05-02-2012, 12:10 AM   #3
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Very unhelpful reply.
 
Old 05-02-2012, 01:39 AM   #4
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,490

Rep: Reputation: Disabled
Quote:
Originally Posted by lucmove View Post
What I hate about GNU screen is that my tabs are numbered 0 -> 1 -> 2 -> 3 ...

One of these days I ran into a screenshot of a screen session that looked just like mine except there was no 0 tab, just 1, 2, 3... How do I do that?
You asked "how do I do that"; I gave you the answer!
 
1 members found this post helpful.
Old 05-02-2012, 01:41 AM   #5
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
You are a smart ass. Stay away from my thread. No one is forcing you to answer.
 
Old 05-02-2012, 05:14 AM   #6
Steviepower
Member
 
Registered: May 2010
Location: Eindhoven
Distribution: ubuntu/debian
Posts: 152

Rep: Reputation: 25
Map your keyboard different and use a screwdriver to change the layout of the numbers on there. Starting to count at 1 is just weird.
http://www.johndcook.com/blog/2008/0...unt-from-zero/

So is the keyboard layout starting at 1.

http://en.gentoo-wiki.com/wiki/Screen might help you in aliassing your numbers differently for screen tho.
 
Old 05-02-2012, 05:35 AM   #7
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Deos this help:
http://www.linuxquestions.org/questi...g-used-772580/
 
1 members found this post helpful.
Old 05-02-2012, 05:44 AM   #8
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
I've been to that page. No, I don't want to change the behavior of my keyboard just because of screen. Please go back to that school where students actually divide the number of tabs in GNU screen by 3 all the time to find out to which "cohort" they belong, and see if you learn to read this time. I've seen a screenshot of screen with tabs and there was no tab 0, that's what I want. Nothing else. Ask your teacher to read it out and explain it to you. But not the same teacher who divides stuff by 3. Another, better teacher.
 
Old 05-02-2012, 05:49 AM   #9
lucmove
Senior Member
 
Registered: Aug 2005
Location: Brazil
Distribution: Debian
Posts: 1,432

Original Poster
Rep: Reputation: 110Reputation: 110
Yay, 273! Yes, that is exactly what I want! I just tested, it works fine!!!

Thank you for your brief, but absolutely relevant and helpful reply. It just made everyday use of my computer a little better. Thank you!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GNU Screen: send "stuff" command to detached screen session? metaf5 Linux - General 3 01-23-2012 08:44 PM
remove "Suspend" and "Hibernate" from the "Shut Down" applet cccc Debian 2 05-02-2011 10:05 AM
Remove "Timer" from dual boot screen? J-Alta-K MEPIS 9 01-13-2006 02:28 PM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration