Bug 14991 - no -ls in session restauration
Summary: no -ls in session restauration
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 1.0.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-09 11:18 UTC by Mark Halpaap
Modified: 2011-08-03 18:38 UTC (History)
1 user (show)

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 Mark Halpaap 2000-11-09 11:08:08 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: konsole
Version: 1.0.1 (KDE 2.0 >= 20001022)
Severity: normal
Compiler: gcc version 2.95.2 19991024 (release)
OS: Linux 2.2.16 i686 (compiled sources)

I start all of my terminals using the -ls switch since I usually want a login shell.
Unfortunately this is not restored upon session restauration.

It also seems that there is no way to start a new Konsole via the "New" button
as login shell.

Just my 2 c
Mark Halpaap.
Comment 1 Chris Machemer 2001-07-14 17:47:06 UTC
Restored sessions now include the -ls flag.
Comment 2 Dawit Alemayehu 2010-09-29 18:42:28 UTC
SVN commit 1180984 by adawit:

- Follow the port restriction rules specified in RFC 2965 section 3.3.4. By default
  cookies are sent to all ports now. See bug# 149991.

- Added/modified test cases to test port restriction handling

- Replaced harded coded generic TLD (com, net, etc) with a configurable one specified
  in the domain_info file. Also updated the generic TLDs to the current set.

- Made cookiejar more portable by removing system calls:
   * Replaced the use of fopen with QFile.
   * Replaced strncmp and strncasecmp with their Qt equivalents, qstrncmp and qstricmp.
     This also combats crashes since the qt versions of those system calls does not
     crash when one of the two input parameters is NULL.
   * Replaced the remaining use of time with KDateTime. This also solves the last
     possible causes for the so called Y2K38 problem.

- Improved performance:
  * Use QStringBuilder for string concatenation.
  * Removed the check for the end of an iterator out of the loop statements.
  
- Make sure more specific site policies are honored before generic or global ones.

BUG:14991


 M  +1 -0      domain_info  
 M  +289 -269  kcookiejar.cpp  
 M  +8 -5      kcookiejar.h  
 M  +26 -29    kcookieserver.cpp  
 U             kcookiewin.cpp  
 M  +3 -3      tests/cookie.test  
 M  +16 -0     tests/cookie_rfc.test  
 M  +5 -1      tests/cookie_saving.test  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1180984
Comment 3 Dawit Alemayehu 2010-09-29 18:46:27 UTC
Sorry. Typo when entering bug number... :(
Comment 4 Jekyll Wu 2011-08-02 05:42:49 UTC
A bug report from more than 10 years ago :)