Bug 29452 - keystrokes for new shell(s)
Summary: keystrokes for new shell(s)
Status: RESOLVED NOT A BUG
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.0.1
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-07-21 10:33 UTC by stig
Modified: 2004-09-09 02:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stig 2001-07-21 10:21:12 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           konsole
Version:           1.0.1 (using KDE 2.1.1 )
Severity:          wishlist
Installed from:    Linux-Mandrake 8.0 i586
Compiler:          gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
OS:                Linux 2.4.2-11mdksmp i686
OS/Compiler notes: 

it seems desirable to provide a keystroke to create a new shell inside konsole...otherwise i'll wind up launching a bunch of new windows through the window manager...

i propose using shifted function keys to launch different tty-based applications in new shells.  the config table would be something like this:

descriptionkeyprogram title
shellsh-f1$SHELL%tty
super usersh-f2/bin/suROOT:%tty
somehostsh-f3ssh somehostsomehost
read mailsh-f4muttmail

etcetera...12 function keys...this would create a much richer konsole experience...

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Chris Machemer 2001-07-21 11:46:57 UTC
Currently (Konsole 1.0.2 in KDE 2.2 post-beta1) CTRL-Alt-N gives you a new 
instance of whatever type of program you started with (either a shell or a 
login shell or some program started via -e)

I might be able to give the option to activate more types of programs with 
shortcut keys but I doubt they would be activated by default simply because 
I would be using up so many key combo's that would undoubtedly be used by 
some program or other that someone wants to run inside of Konsole.

And even that will have to wait til after 2.2.  Konsole is currently pretty 
stable and I'm leaving tomorrow morning for a week's vacation so I'm not 
inclined to break it and leave town. :-)

-Chris

On Saturday 21 July 2001 06:21 am you wrote:
> Package: konsole
> Version: 1.0.1 (using KDE 2.1.1 )
> Severity: wishlist
> Installed from:    Linux-Mandrake 8.0 i586
> Compiler:          gcc version 2.96 20000731 (Linux-Mandrake 8.0
> 2.96-0.48mdk) OS:                Linux 2.4.2-11mdksmp i686
> OS/Compiler notes:
>
> it seems desirable to provide a keystroke to create a new shell inside
> konsole...otherwise i'll wind up launching a bunch of new windows through
> the window manager...
>
> i propose using shifted function keys to launch different tty-based
> applications in new shells.  the config table would be something like this:
>
> descriptionkeyprogram title
> shellsh-f1$SHELL%tty
> super usersh-f2/bin/suROOT:%tty
> somehostsh-f3ssh somehostsomehost
> read mailsh-f4muttmail
>
> etcetera...12 function keys...this would create a much richer konsole
> experience...
>
> (Submitted via bugs.kde.org)
> (Called from KBugReport dialog)
Comment 2 stig 2001-07-21 15:32:42 UTC
actually i'm _sure_ that i have ctrl-alt-n bound to something in emacs and so that is a conflict...and it's really important to be able to start different things.  my gnome environment just binds f-keys to various permutations of 'gnome-terminal --command="something frequently done"'...

well the way to use keys without creating problems is to use keys that don't generate anything at all...(like shift arrows have no vt100 tradition behind them same for shift pg up/dn...same for function keys)  securecrt from www.vandyke.com is the best ssh terminal app for windows of which i'm aware and it has a really good keymap editor...worth taking a look if you use windows at all...

i think that the drop target behavior can improve too...  files and directories can be dragged onto the toolbar to open { file->"$EDITOR <fn>" dir->"cd <dir>;$SHELL" }...yes the annotation suggests using environment variables but it could be configurable via a preferences dialog...or pasted if dragged into the text pane (indicate the action w/ a tooltip if possible but the menu is a pain...why in the world doesn't kde do the same sort of right-drag-then-menu trick that windows does?  i think that's elegant...)

also if you poke around with ps(1) you'll find that it's possible to extract the current directory from a running process and so that would make it possible to drag a toolbar icon into a konqueror window to open that directory graphically...  it could even be set to track the shell...(trigger on titlebar changes)...

finally what happened to changing icon names.  "shell no 9" doesn't do it for me...did my friend talin complain about the old behavior so that it got "fixed" his way?  I put tty information in my shell window titles so that i know where to find things.  it's invaluable!

stig


On Sat Jul 21 2001 at 07:46:57AM -0400 Chris Machemer wrote:
> Currently (Konsole 1.0.2 in KDE 2.2 post-beta1) CTRL-Alt-N gives you a new 
> instance of whatever type of program you started with (either a shell or a 
> login shell or some program started via -e)
> 
> I might be able to give the option to activate more types of programs with 
> shortcut keys but I doubt they would be activated by default simply because 
> I would be using up so many key combo's that would undoubtedly be used by 
> some program or other that someone wants to run inside of Konsole.
> 
> And even that will have to wait til after 2.2.  Konsole is currently pretty 
> stable and I'm leaving tomorrow morning for a week's vacation so I'm not 
> inclined to break it and leave town. :-)
> 
> -Chris
> 
> On Saturday 21 July 2001 06:21 am you wrote:
> > Package: konsole
> > Version: 1.0.1 (using KDE 2.1.1 )
> > Severity: wishlist
> > Installed from:    Linux-Mandrake 8.0 i586
> > Compiler:          gcc version 2.96 20000731 (Linux-Mandrake 8.0
> > 2.96-0.48mdk) OS:                Linux 2.4.2-11mdksmp i686
> > OS/Compiler notes:
> >
> > it seems desirable to provide a keystroke to create a new shell inside
> > konsole...otherwise i'll wind up launching a bunch of new windows through
> > the window manager...
> >
> > i propose using shifted function keys to launch different tty-based
> > applications in new shells.  the config table would be something like this:
> >
> > descriptionkeyprogram title
> > shellsh-f1$SHELL%tty
> > super usersh-f2/bin/suROOT:%tty
> > somehostsh-f3ssh somehostsomehost
> > read mailsh-f4muttmail
> >
> > etcetera...12 function keys...this would create a much richer konsole
> > experience...
> >
> > (Submitted via bugs.kde.org)
> > (Called from KBugReport dialog)

-- 
Stig        ...  Friend of Hacking      ...  707-987-3236 work@home
Hackvän      ...  http://hackvan.com     ...  415-264-8754 mobile
(like Durden) ...  http://brainofstig.ai  ...  stig@hackvan.com
Comment 3 Kurt Hindenburg 2004-09-09 02:04:26 UTC
Rather old bug report; the user can select what ever key they want to open a new session.