MantisBT - Doomseeker
View Issue Details
0003392Doomseeker[All Projects] Suggestionpublic2018-03-03 18:012018-03-04 07:14
WubTheCaptain 
 
lowtweakalways
closedwon't fix 
x86_64Debian GNU/Linuxbuster/sid
1.1 
 
0003392: IRC: Define username from local UNIX user account name when undefined
My username (login name) on this machine I'm using is "wub":

$ id -n -u
wub


When I'm using the small IRC client that comes with Doomseeker and the "User name" field (user-definable since Doomseeker 1.2, undefined in 1.1) is empty and my nick is set to "WubTheCaptain", by default Doomseeker derives and defines the "User name" to be part of nick:

[*] WubTheCaptain (~WubTheCap@dsl-olubng12-54fa11-211.dhcp.inet.fi) H 0 (Linda Lapinlampi)
[WubTheCaptain] End of /WHO list.


I suggest tweaking this to check for getlogin() on UNIX-like operating systems, or if that fails, the old behavior.

In this case, the expected (and suggested) outcome would've been:

[*] WubTheCaptain (~wub@dsl-olubng12-54fa11-211.dhcp.inet.fi) H 0 (Linda Lapinlampi)
[WubTheCaptain] End of /WHO list.
  1. Start Doomseeker.
  2. View the IRC thingy (Ctrl+I).
  3. Navigate to the IRC tab, if it is not open yet.
  4. Press the "Connect" button in this IRC thingy.
  5. Set nick, real name and select a valid server. (Doomseeker 1.2: Leave "User name" empty.) Make sure your nick is not the same as your login name on the machine.
  6. Press "OK" to connect to a server.
  7. On the server, issue a WHO or WHOIS command against your nickname on the server.
  8. Notice your IRC user name to be closely similar or identical to your nick, instead of your UNIX login name.
id (GNU coreutils) 8.28

'https://linux.die.net/man/3/getlogin [^]'
'https://man.openbsd.org/getlogin [^]'
No tags attached.
related to 0003288closed Zalewa IRC: Allow changing ident 
child of 0003279acknowledged  List of Debian issues (misc/non-policy) 
Issue History
2018-03-03 18:01WubTheCaptainNew Issue
2018-03-03 18:02WubTheCaptainRelationship addedrelated to 0003288
2018-03-03 18:02WubTheCaptainRelationship addedchild of 0003279
2018-03-03 18:06ZalewaNote Added: 0019105
2018-03-03 18:22WubTheCaptainNote Added: 0019106
2018-03-03 18:25WubTheCaptainNote Added: 0019107
2018-03-03 18:25WubTheCaptainStatusnew => acknowledged
2018-03-03 19:14WubTheCaptainStatusacknowledged => feedback
2018-03-04 07:14Blzut3Note Added: 0019124
2018-03-04 07:14Blzut3Statusfeedback => closed
2018-03-04 07:14Blzut3Resolutionopen => won't fix

Notes
(0019105)
Zalewa   
2018-03-03 18:06   
I hate when programs do that, it's like an accidental leak of information that I might did not want to divulge. That's why I default user to nick and that's why I oppose changing this.
(0019106)
WubTheCaptain   
2018-03-03 18:22   
It's related to the IRC RFCs, specifically the now-dead SUMMON command which summoned the user on the local UNIX box to IRC based on the username. It is kind of assumed from IRC and I support this suggestion personally.
(0019107)
WubTheCaptain   
2018-03-03 18:25   
If there's no desire to change this feature's behavior currently then feel free to close the bug as "won't fix", Zalewa.
(0019124)
Blzut3   
2018-03-04 07:14   
While I personally always use my online nickname as my system user name I know a lot of people don't do this. There have been a few times where I've had users real names divulged to me accidentally since they weren't aware that some programs would blindly send that information.

I think it's safe to say that the current behavior best suits the desires of the Doom community at large.