Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 249961 Details for
Bug 369491
add scrollback config option for larger history
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
add scrollback option
gtkterm-0.99.5-scrollback.patch (text/plain), 2.10 KB, created by
Dan Horák
on 2007-11-07 10:44:15 UTC
(
hide
)
Description:
add scrollback option
Filename:
MIME Type:
Creator:
Dan Horák
Created:
2007-11-07 10:44:15 UTC
Size:
2.10 KB
patch
obsolete
>diff -Nru gtkterm-0.99.5.orig/src/config.c gtkterm-0.99.5/src/config.c >--- gtkterm-0.99.5.orig/src/config.c 2005-11-14 20:43:56.000000000 +0100 >+++ gtkterm-0.99.5/src/config.c 2007-11-07 10:53:02.000000000 +0100 >@@ -84,6 +84,7 @@ > gint *show_cursor; > gint *rows; > gint *columns; >+gint *scrollback; > gint *visual_bell; > gint *foreground_red; > gint *foreground_blue; >@@ -111,6 +112,7 @@ > {"term_show_cursor", CFG_BOOL, &show_cursor}, > {"term_rows", CFG_INT, &rows}, > {"term_columns", CFG_INT, &columns}, >+ {"term_scrollback", CFG_INT, &scrollback}, > {"term_visual_bell", CFG_BOOL, &visual_bell}, > {"term_foreground_red", CFG_INT, &foreground_red}, > {"term_foreground_blue", CFG_INT, &foreground_blue}, >@@ -860,6 +862,9 @@ > if(columns[i] != 0) > term_conf.columns = columns[i]; > >+ if(scrollback[i] != 0) >+ term_conf.scrollback = scrollback[i]; >+ > if(visual_bell[i] != -1) > term_conf.visual_bell = (gboolean)visual_bell[i]; > else >@@ -884,6 +889,7 @@ > term_conf.show_cursor = TRUE; > term_conf.rows = 80; > term_conf.columns = 25; >+ term_conf.scrollback = 100; > term_conf.visual_bell = FALSE; > > term_conf.foreground_color.red = 43253; >@@ -912,6 +918,7 @@ > > vte_terminal_set_background_transparent(VTE_TERMINAL(display), term_conf.transparency); > vte_terminal_set_size (VTE_TERMINAL(display), term_conf.rows, term_conf.columns); >+ vte_terminal_set_scrollback_lines (VTE_TERMINAL(display), term_conf.scrollback); > vte_terminal_set_color_foreground (VTE_TERMINAL(display), &term_conf.foreground_color); > vte_terminal_set_color_background (VTE_TERMINAL(display), &term_conf.background_color); > vte_terminal_set_background_saturation(VTE_TERMINAL(display), (gdouble)term_conf.background_saturation); >diff -Nru gtkterm-0.99.5.orig/src/config.h gtkterm-0.99.5/src/config.h >--- gtkterm-0.99.5.orig/src/config.h 2003-08-15 16:16:26.000000000 +0200 >+++ gtkterm-0.99.5/src/config.h 2007-11-07 10:53:02.000000000 +0100 >@@ -43,6 +43,7 @@ > gboolean show_cursor; > gint rows; > gint columns; >+ gint scrollback; > gboolean visual_bell; > GdkColor foreground_color; > GdkColor background_color;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 369491
: 249961