LinuxQuestions.org
Help answer threads with 0 replies.
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 12-08-2019, 07:59 AM   #1
LinuxGeek46
LQ Newbie
 
Registered: Oct 2019
Location: Raleigh, NC
Distribution: Fedora
Posts: 23

Rep: Reputation: Disabled
PS1 prompt inserts text "777;preexec"


After an update to Fedora 31, not the most recent one, but an older one, I noticed the following anomaly in non-root screen sessions:

[dboth@david ~]$ echo "Hello world"
777;preexecHello world
[dboth@david ~]$

The extraneous 777;preexec text is insertet in PS1 by the /etc/profile.d/vte.sh script. Commenting out the last few lines, the “case” statement circumvents the problem.

There is a bug about this against tmux and I am wondering if tmux is part of screen.

Bug 1780785 on Red Hat's Bugzilla was created 12/06.
 
Old 12-09-2019, 01:57 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by LinuxGeek46 View Post
The extraneous 777;preexec text is insertet in PS1 by the /etc/profile.d/vte.sh script. Commenting out the last few lines, the “case” statement circumvents the problem.
commenting out _what_?

Quote:
There is a bug about this against tmux and I am wondering if tmux is part of screen.
no, those are rtwo separate softwares that provide similar functionality.
Quote:
Bug 1780785 on Red Hat's Bugzilla was created 12/06.
without a link... OK... anyhow, is that December 2006 or June 2012?
 
Old 12-09-2019, 06:24 AM   #3
LinuxGeek46
LQ Newbie
 
Registered: Oct 2019
Location: Raleigh, NC
Distribution: Fedora
Posts: 23

Original Poster
Rep: Reputation: Disabled
Quote:
Quote:
Originally Posted by LinuxGeek46 View Post
The extraneous 777;preexec text is insertet in PS1 by the /etc/profile.d/vte.sh script. Commenting out the last few lines, the “case” statement circumvents the problem.
commenting out _what_?
#case "$TERM" in
# xterm*|vte*)
# [ -n "$BASH_VERSION" ] && PROMPT_COMMAND="__vte_prompt_command" && PS0=$(printf "\u009D777;preexec\u009C")
# [ -n "$ZSH_VERSION" ] && precmd_functions+=(__vte_osc7)
# ;;
#esac



Quote:
Quote:
There is a bug about this against tmux and I am wondering if tmux is part of screen.
no, those are rtwo separate softwares that provide similar functionality.
The problem appears to be in libvterm which is apparently used by both (assumption).

https://github.com/TragicWarrior/libvterm/issues/147


Quote:
Quote:
Bug 1780785 on Red Hat's Bugzilla was created 12/06.
https://bugzilla.redhat.com/show_bug.cgi?id=1780785


without a link... OK... anyhow, is that December 2006 or June 2012?

2019/12/06
 
  


Reply

Tags
bug



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
[SOLVED] Perl-generated page inserts "48 48" throughout javascript bluegospel Programming 1 06-27-2011 06:06 PM
Changing the command prompt PS1="****" scotthill Linux - Newbie 7 01-02-2009 11:51 AM
Prompt not hard returning after PS1 variable change? SlowCoder Linux - Newbie 5 05-01-2007 09:16 PM
Post your BASH prompt [PS1]? introuble General 11 12-27-2006 03:47 PM
$PS1 different in X and prompt codec Slackware 7 06-27-2004 04:42 PM

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

All times are GMT -5. The time now is 11:29 PM.

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