LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-11-2022, 05:34 PM   #1
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 372

Rep: Reputation: 172Reputation: 172
tty-status keybinding successful, but key only rings the bell and otherwise acts as a no-op


Slackware 15.0
stock GNU bash 5.1.16(1)-release

There is a readline keybinding function "tty-status" shown in bind -p that I can bind a key to but does not work. For example if .inputrc has:

Code:
Control-t: tty-status
then bind -p has this line in the output:
Code:
"\C-t": tty-status
What I'm expecting a C-t to do is show load average and other basic stats. Here's sample output:

Code:
load: 0.61 cmd: bash 10561 running 0.00u 0.00s
This particular example came from an article written maybe 12 years ago. So I wonder if either the feature has been deprecated since then, or maybe just not turned on in Slackware 15.0 using compile-time options?
 
Old 08-11-2022, 05:58 PM   #2
metaed
Member
 
Registered: Apr 2022
Location: US
Distribution: Slackware64 15.0
Posts: 372

Original Poster
Rep: Reputation: 172Reputation: 172
I should have dug deeper before posting. tty-status is implemented in many UNIX operating systems, but not Linux. It's a kernel-level feature, and in fact there exists a proposed implementation by Walt Drummond that was committed to the Linux codebase just this year. So possibly this will surface in a future kernel release.
 
  


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
How-to find which key acts as a Compose key on the console on specific keyboard? Didier Spaier Slackware 3 04-25-2020 10:02 AM
LXer: Strong Man Snowden Rings the Bell in Geekland LXer Syndicated Linux News 0 02-06-2014 03:00 PM
LXer: Linux Rings the Bell in New York LXer Syndicated Linux News 0 05-01-2012 11:40 PM
aterm: display bell and audio bell hallamigo Linux - Software 4 05-02-2004 12:00 AM
Modem rings and then rings out Rutnut Linux - Newbie 0 02-23-2001 05:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:24 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