Commit Graph

27 Commits

Author SHA1 Message Date
Robert Knight
6c8ef8512d Use a more correct method to set the working directory of new sessions. Session::running() -> Session::isRunning(). Remove some commented-out code.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=687611
2007-07-14 02:40:59 +00:00
Robert Knight
808d9ed686 Set the COLORFGBG environment variable in new sessions to indicate to terminal programs whether the terminal has a light or dark background. This allows programs such as Vim to automatically pick appropriate colors when a Konsole session has a light or dark background. The value of 'COLORFGBG' is not strictly accurate, instead it approximates the current color scheme as 'black on white' or 'white on black' - but this covers the most important need'
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=686658
2007-07-11 22:33:43 +00:00
Robert Knight
8ac498d34c i18n fixes from Stefan Asserhall.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=685630
2007-07-09 10:54:44 +00:00
Robert Knight
50fb0ef4c6 Support for per-session randomized color schemes. Mainly useful to allow each new session (from a particular profile) to have a different background color to make them easier to identify at a glance. Randomization is specified in the color scheme as the maximum amount of difference in hue, saturation and value which a color is allowed to be randomly changed by. No GUI controls for this yet. Added a 'Black on Random Light' color scheme to make use of this facility out of the box.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682403
2007-07-02 15:58:19 +00:00
Robert Knight
2a1109196f Save and load environment variables as part of the profile. Defaults to just 'TERM=xterm'. Allow editing of the environment in the profile editor (not just the TERM variable). Separate out the tab-related options into their own tab in the profile editor and rename 'Keyboard Setup' to 'Input' as that seems a more obvious name.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679103
2007-06-23 02:09:21 +00:00
Robert Knight
ddf9b47864 Rewrite old-fashioned list construction as per Oswald's suggestion. Remove the zmodem resume / continue handling from Konsole::Session as Konsole::Pty provides its own buffering.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=677088
2007-06-18 12:45:33 +00:00
Robert Knight
81ee1e4b87 Port ZModem handling away from K3Process/K3ProcIO. Untested.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676918
2007-06-17 22:40:45 +00:00
Oswald Buddenhagen
87f3afcdd0 copy some methods from KPty - they are used only here, so they will be
deleted from kdelibs.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676799
2007-06-17 18:53:59 +00:00
Robert Knight
52db452aa4 Don't switch tabs when a non-active session finishes ( Bug #146639 ). Begin implementation of Send Input to All in new front-end.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=674139
2007-06-11 20:44:04 +00:00
Robert Knight
ecb43ae37f Avoid scrolling views unnecessarily when splitting the view.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=673774
2007-06-11 05:36:19 +00:00
Robert Knight
c345da0ccf Initial version of a command-line tool (konsoleprofile) to change profile options. Usage: konsoleprofile option=value . Applies to the profile used by the session in which konsoleprofile was executed. All of the logic is in Konsole itself. 'konsoleprofile' is just a very simple shell script which can be placed anywhere. Example usage: 'konsoleprofile colorscheme=WhiteOnBlack' will change the colors used by the active tab.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670582
2007-06-02 05:02:55 +00:00
Robert Knight
53f7666e8e Allow the default encoding to be specified per-profile. Something has caused the Edit Profile dialog's minimum size to become huge, I haven't figured out what it is yet.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670153
2007-05-31 13:42:23 +00:00
Robert Knight
76b0f58867 * Add check for compositing on startup now that
KWindowSystem::compositingActive() works without a QApplication instance.
* Make terminal display intercept shortcuts using the Backspace/Home/End keys 
( fixes backspace key triggering the 'Go Back' action in Dolphin when 
terminal part has the focus )
* Add some plumbing that will be used to handle resizing by the terminal 
program.
* Misc. tidy-ups and EBN fixes.
* Update the right part of the terminal display when updating blinking 
cursor.


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=668460
2007-05-26 14:07:24 +00:00
Robert Knight
5331bf720d Various EBN fixes.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667655
2007-05-23 13:09:23 +00:00
Robert Knight
0ef9ea5f41 Added 'Change Profile' menu to change the profile used by a running session.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667162
2007-05-22 02:19:57 +00:00
Robert Knight
a0976835b6 Tidy up Pty class header file and API. Better method names, remove un-used methods, add API documentation etc. Fix some other API documentation mistakes.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667129
2007-05-21 22:30:07 +00:00
Robert Knight
983271c55c Fix tab title syncing between multiple views of the same session.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665823
2007-05-18 04:20:57 +00:00
Robert Knight
04069377d9 Tidy up and reorganise the header files and API for the Emulation classes, add more API documentation for the base Emulation class. Rename methods for consistancy and clarity.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665816
2007-05-18 02:47:03 +00:00
Stephan Kulow
5842c08c80 if _emulation is 0, then we crash (CID 3508)
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665703
2007-05-17 17:45:43 +00:00
Robert Knight
fca8970274 Better Qt-style signal/slot names in Session class.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665439
2007-05-16 22:48:45 +00:00
Robert Knight
07b1e29c0c Provide more sensible suggestions for bookmark names. Make suggestions context ( local vs. remote ) sensitive.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663708
2007-05-12 05:14:14 +00:00
Robert Knight
e9c4c9cca0 Cleanup the Session class's API. Remove redundant and unused methods, give better names to others, reorganise the order in the header file. Add checks in the view to behave properly when it is not attached to a session. Make the Konsole part's behaviour compliant with the TerminalInterface API documentation.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663705
2007-05-12 04:55:02 +00:00
Dirk Mueller
9ea3227384 include cleanup
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663054
2007-05-09 22:23:52 +00:00
Robert Knight
33c913383d EBN fixes. Mostly copyright and implementations including their own headers first.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662726
2007-05-09 00:01:01 +00:00
Robert Knight
0ab65a6fe4 Use a more correct method to determine the foreground process in the terminal. Works properly with nested shells.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661946
2007-05-07 04:14:32 +00:00
Thomas Reitelbach
b0008e109d typo corrections
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661812
2007-05-06 17:22:19 +00:00
Robert Knight
19a29d182a Rename directories for clarity. konsole -> src , other -> data.
svn path=/branches/work/konsole-split-view/; revision=661562
2007-05-05 23:33:05 +00:00