LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

"dialog --file '&<file descriptor>' ..." and reset/restore stdin.

Posted 01-10-2016 at 10:10 PM by MadMaverick9 (MadMaverick9's Blog)
Updated 01-11-2016 at 10:39 PM by MadMaverick9

Code:
#!/bin/bash

STDINTTY=$(/usr/bin/readlink -n /dev/fd/0)

...

exec 3>&1
choice=$(/usr/bin/dialog --file '&4' <<__EOI__ 4<&0 0<${STDINTTY} 2>&1 1>&3
    --begin 6 10 --clear --backtitle "Main Menu" --title "MAIN MENU"
    --menu "Use [UP/DOWN] key to move" 32 96 25
    "alsamixer"         "soundcard mixer for ALSA soundcard driver, with ncurses
...
Member
Posted in Uncategorized
Views 1445 Comments 0 MadMaverick9 is offline
Old

[SOLVED] tmux - "tmux new-window \; split-window -h" does not work as expected anymore.

Posted 10-06-2015 at 01:54 AM by MadMaverick9 (MadMaverick9's Blog)
Updated 12-29-2016 at 04:09 AM by MadMaverick9
Tags patch, tmux

This problem has been solved by using the latest tmux. And the performance has improved as well. So I am a Happy Camper again! Thanks NicM.

Posted 6-Oct-2015 at 02:54 by MadMaverick9:
Quote:
Start tmux with:
Code:
bash $ tmux
Which will start a session with one window and a shell started. In that shell type:
Code:
bash $ tmux new-window \; split-window
Up to 1.9a this would create a new window and split that new window.
In 2.0 and above it creates a new window,
...
Attached Files
File Type: txt current-session-02.patch.txt (519 Bytes, 0 views)
File Type: txt current-session-04.patch.txt (1.6 KB, 0 views)
Member
Posted in Uncategorized
Views 1264 Comments 0 MadMaverick9 is offline
Old

rxvt-unicode - urxvt - utempter patch.

Posted 10-01-2015 at 02:46 AM by MadMaverick9 (MadMaverick9's Blog)

This patch removes all utmp/wtmp/lastlog related code from rxvt-unicode and replaces it with two calls to utempter_add_record and utempter_remove_record.

Why am I posting this here? Because neither Github.com nor Wordpress.com allow attaching patch/diff files to posts/comments. They only allow image files to be attached, which is very surprising esp. with regards to Github.com, which is supposed to be a website for programmers/developers.

Thank you very much Jeremy....
Attached Files
File Type: txt urxvt-utempter.patch.txt (41.2 KB, 0 views)
Member
Posted in Uncategorized
Views 1429 Comments 0 MadMaverick9 is offline

  



All times are GMT -5. The time now is 08:06 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration