Ticket #3121 (new defect) — at Initial Version

Opened 11 years ago

Last modified 21 months ago

Subshell/Command line prompt is empty/missing

Reported by: z0rc Owned by:
Priority: major Milestone: 4.8.30
Component: mc-core Version: 4.8.28
Keywords: subshell Cc: egmont@…, congest, aurrak, reagle, tonal.promsoft@…
Blocked By: Blocking:
Branch state: merged Votes for changeset:

Description

See attached screenshot. The issue persist with TERM=(xterm|screen).*. Tested with konsole and xterm both on current Debian Sid, Ubuntu 12.04 and Ubuntu 13.10. Tested with bash and zsh. The issue doesn't exists with 'linux' terminal (without xorg, plain console at Ctrl+Alt+F1)

mc -V
GNU Midnight Commander 4.8.11
Built with GLib 2.36.4
Using the S-Lang library with terminfo database
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm and Linux console
With support for X11 events
With internationalization support
With multiple codepages support
Virtual File Systems: cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types: char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

I bisected issue to:
e35f044ccdd41922f925c99e6d50930ea8c7c47e is the first bad commit
commit e35f044ccdd41922f925c99e6d50930ea8c7c47e
Author: Andrew Borodin <aborodin@…>
Date: Tue Jan 1 19:53:11 2013 +0400

(subshell_prompt): changed to GString.


(read_subshell_prompt): refactoring to ret rid of low-level memory reallocation.


Signed-off-by: Andrew Borodin <aborodin@…>

Change History

Changed 11 years ago by z0rc

Note: See TracTickets for help on using tickets.