Support to format terminal commands in comments

Reported by Jim Hutchinson on 2007-07-23
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Low
Unassigned

Bug Description

When assisting users with problems, it is common to ask for the output from various terminal commands. These are to be posted back into Launchpad to help with diagnosing the problem. However, most terminal output is formatted with a mono spaced font. Launchpad doesn't have any method for entering mono spaced text and as a result the pasted output can be very difficult to read.

Adding support for either coding text in such a way that will output properly or using a secondary text box (perhaps one that is normally hidden unless needed) for pasting terminal output.

Jim Hutchinson (jphutch) on 2007-07-23
description: updated
Curtis Hovey (sinzui) wrote :

This might also be fixable with attachments, which I believe has a moderate to high priority since we wish to convert some bugs to questions, and preserve the bug attachments.

Jim Hutchinson (jphutch) wrote :

I think that's an option and an improvement, but it might be more of a hassle than it needs to be - at least for the users :). They would have to copy output and then save to a file and then upload the file. Not a big deal but being able to do it right in launchpad would be nice. I've recently discovered the pastebin concept. I doubt it would be easy to implement but having a built-in pastebin (open with a drop down or something) would be really slick. However, any solution you come up will be an improvement. Thanks for your help.

Matthew Paul Thomas (mpt) wrote :

I think there's a high correlation between those terminal commands for which monospace output is important, and those terminal commands that produce very long output, and that therefore attachments are the most appropriate solution here.

Jim Hutchinson (jphutch) wrote :

I don't disagree that using attachments is a good solution - only that it might not be the best from a user perspective. Maybe I've spent too much time on forums, but copy and paste is quite it a bit easier for a user than creating, saving and uploading a file. However, an attachment option is certainly better than nothing.

Curtis Hovey (sinzui) on 2009-05-15
Changed in launchpad-answers:
importance: Undecided → Low
status: New → Triaged
tags: added: feature

Bug #435865 may be related.

Curtis Hovey (sinzui) wrote :

Sorry, my title change did not take affect. We need to disregard the suggested solution and focus on why this bug exists; users need to provide example terminal commands in comments. The solution may be a text formatter like the used used to format quoted text. Those paragraphs would be given a different class. I this is not easy since we need a constant identifier for the command, and the out but cannot have blank lines. We may want a solution where the user can explicitly indicate the terminal text.

summary: - Launchpad doesn't support output of monospaced fonts
+ Support to format terminal commands in comments
Curtis Hovey (sinzui) on 2010-01-24
Changed in malone:
status: New → Triaged
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers